• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Gzip: stdin: not in gzip format... error on ubuntu server 12.04

Scheduled Pinned Locked Moved
Linux Problems
2
15
64.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    Casper
    last edited by May 19, 2012, 11:08 PM

    Hi all…

    First of all im new to Linux so im struggling with the most basic stuff, but i guess you need to start somewhere right?..

    The error:

    after downloading fog_0.32.tar.gz from sourceforge using wget I can’t seem to unpack it using tar with the command “tar -xzf fog_0.32.tar.gz”. I get the error:

    Gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: error is not recoverable: exiting now

    what i have:

    I have a vmware set up where i have installed a ubuntu server 12.04.

    What i have tried:

    I tried starting the tar command with sudu - did nothing
    Tried to install updates with the command “sudo apt-get update” and then run the tar command- did nothing
    Tried to install Build essentials using the command “sudo apt-get install build-essential” and then run the tar command - did nothing

    I have downloaded the same tar file from sourceforge onto my windows 7 and unpacked it with winrar which went OK

    I have reinstalled my ubuntu server and tried the above- did nothing

    I have been on the net for hours to find a solution but from what i can see the error can mean anything. but i really don’t see what im missing…

    I need some help here… im at a loss…

    And since i condsider this a learning experince please don’t give me workaround…atleast not without and explenation as to why its not working… else i won’t learn anything…

    Thanks!!

    Casper

    1 Reply Last reply Reply Quote 0
    • C
      Casper
      last edited by May 20, 2012, 6:53 AM

      Im gonna try a Debian installation instead and see if that fairs better…

      1 Reply Last reply Reply Quote 0
      • C
        Casper
        last edited by May 20, 2012, 7:02 AM

        could it be because im using 64 bit ubuntu server?

        1 Reply Last reply Reply Quote 0
        • C
          Casper
          last edited by May 20, 2012, 7:18 AM

          I get the same error with a fresh debian install…

          1 Reply Last reply Reply Quote 0
          • C
            Casper
            last edited by May 20, 2012, 7:36 AM

            ok i don’t get why this isn’t working… not i have tried with Debian with everything as above and it did nothing. I even tried to do it like root and still the same error… christ…

            1 Reply Last reply Reply Quote 0
            • C
              Casper
              last edited by May 22, 2012, 3:38 AM

              can no one help me?? it should be really easy and quick to recreate in a virtual box

              1 Reply Last reply Reply Quote 0
              • C
                chad-bisd Moderator
                last edited by May 23, 2012, 4:25 PM

                silly question, but did you try to download the file again. Maybe your tarball is corrupt. check the size and if a MD5 hash is provided on the download site, you can check that also.


                If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                1 Reply Last reply Reply Quote 0
                • C
                  Casper
                  last edited by May 23, 2012, 9:40 PM

                  atlast someone answers!! thank you 🙂

                  Im not that experinced with all this Linux stuff but as i see it there are no MD5…

                  I have tried to download the file againg but not without deleting the original first… I don’t know if Ubuntu does any thing “smart” if you want to download the same file again without deleting the one you downloaded before… do you know?

                  I must say thought that the download went pretty quick but i am on a company line with 50/50 Mbits and its only around 35-45 in size so… i did check the size because i did have the same concern you mention but i couldn’t see any real difference in filesize… i suspect it will never be spot on…

                  1 Reply Last reply Reply Quote 0
                  • C
                    chad-bisd Moderator
                    last edited by May 24, 2012, 3:29 PM

                    just try to gunzip it, then untar it.

                    [CODE]gunzip fog_0.32.tar.gz[/CODE]

                    should give you fog_0.32.tar file

                    [CODE]tar xzvf fog_0.32.tar[/CODE]

                    should untar to the current working directory.


                    If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                    1 Reply Last reply Reply Quote 0
                    • C
                      chad-bisd Moderator
                      last edited by May 24, 2012, 4:21 PM

                      for my download: md5sum = 45b323d4150690b9c1aa8288c33830c9 fog_0.32.tar.gz


                      If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                      1 Reply Last reply Reply Quote 0
                      • C
                        chad-bisd Moderator
                        last edited by May 24, 2012, 9:07 PM

                        I just found the md5 hash info on the sourceforge download page. You have to click the cirlce with the [I]i [/I] in it to view details. the hash matches what I posted. You can check yours by doing
                        [CODE]md5sum fog_0.32.tar.gz[/CODE] and see what you get.


                        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                        1 Reply Last reply Reply Quote 0
                        • C
                          Casper
                          last edited by May 25, 2012, 5:08 PM

                          Hi Chad,

                          sorry for my late answer 🙂 busy busy busy…

                          I tried the checksum thing and go ff911abc07ff6f714f21c2829192aeb so i guess I have a corrupt download right?

                          1 Reply Last reply Reply Quote 0
                          • C
                            chad-bisd Moderator
                            last edited by May 25, 2012, 6:50 PM

                            most likely. if you are going through a proxy or web filter, you might try using ftp, https, or sneakernet.


                            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                            1 Reply Last reply Reply Quote 0
                            • C
                              Casper
                              last edited by May 26, 2012, 5:30 AM

                              thanks for your help chad… im not going through any proxies…

                              I will try to retrive the tar.gx file in another way… ftp or something…

                              again thanks for your help!

                              1 Reply Last reply Reply Quote 0
                              • C
                                Casper
                                last edited by Jun 11, 2012, 2:41 PM

                                Just to help out my fellow Foggers (couldn’t help myself) who might have the same issues this is what i did.

                                The problem was indeed that i didn’t have have vmware tools installed… I stopped trying to get that installed from VMware and tried virtualbox instead where i found solution.

                                Allso i went from Ubuntu to Fedora so this works for fedora …

                                In order to to install the VirtualAdditions in Fedora i used this guide:

                                [url]http://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/[/url]

                                i found though that i need to do this step again after i completed the guide:

                                [COLOR=#d8d8d8][COLOR=#0000ff][B]mkdir[/B] /media/VirtualBoxGuestAdditions [B]mount[/B] -r /dev/cdrom /media/VirtualBoxGuestAdditions[/COLOR][/COLOR]
                                [COLOR=#d8d8d8][COLOR=#000000]Remember to do “yum install bzip2” because it would be needed. I my have forgot the name but when you try and install VG it will complain and give you the correct name… [/COLOR][/COLOR]
                                [COLOR=#d8d8d8] [/COLOR]
                                [COLOR=#d8d8d8][COLOR=#000000]Hope this helped… [/COLOR][/COLOR]
                                [COLOR=#d8d8d8] [/COLOR]

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post

                                160

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project