Bad tar archive?

Please report any bug found here

Bad tar archive?

Postby zarchucho » 23 Jan 2015, 20:51

I downloaded the latest image for the RPi today, and it won't extract.

Code: Select all
$ md5sum RuneAudio_rpi_0.3-beta_20141029_2GB.img.gz
a740bf945cb32f7201a0df499a34e4a5  RuneAudio_rpi_0.3-beta_20141029_2GB.img.gz


(okay, looks good)

and then

Code: Select all
$ tar xvfz RuneAudio_rpi_0.3-beta_20141029_2GB.img.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors


I also tried from the GUI. It tries for a little whiel (~30s?) to extract and then fails saying "an error occured while extracting files."
zarchucho
 
Posts: 3
Joined: 23 Jan 2015, 07:02

Re: Bad tar archive?

Postby skrodahl » 23 Jan 2015, 22:50

RuneAudio_rpi_0.3-beta_20141029_2GB.img.gz is not a tar file. It's an img file that's compressed with gzip.

If you need to decompress the file, use one of the following commands:
* 'gunzip RuneAudio_rpi_0.3-beta_20141029_2GB.img.gz'
or
* 'gzip -d RuneAudio_rpi_0.3-beta_20141029_2GB.img.gz'

I suppose 'zcat RuneAudio_rpi_0.3-beta_20141029_2GB.img.gz > RuneAudio_rpi_0.3-beta_20141029_2GB.img' would do the trick as well.

If you're on Windows, you can use 7zip. Mac has gzip built-in.
-skrodahl

Muffsy Phono Preamp PP-3 || Audiobah TPA3116 || ESP P88 || ProJect Debut Carbon Espirit DC || RuneAudio / RaspBerry Pi / HifiBerry DAC || Dynaco A25
User avatar
skrodahl
Moderator
 
Posts: 160
Joined: 27 Jan 2014, 10:08
Location: Sweden

Re: Bad tar archive?

Postby zarchucho » 25 Jan 2015, 02:29

Oh wow, I don't know how I didn't notice that. I feel like an idiot, thanks a lot.
zarchucho
 
Posts: 3
Joined: 23 Jan 2015, 07:02

Re: Bad tar archive?

Postby skrodahl » 25 Jan 2015, 14:44

You're not the first to make this mistake. I've done it myself numerous times.
Hope you get RuneAudio working. Not using RA would be a huge mistake. :)
-skrodahl

Muffsy Phono Preamp PP-3 || Audiobah TPA3116 || ESP P88 || ProJect Debut Carbon Espirit DC || RuneAudio / RaspBerry Pi / HifiBerry DAC || Dynaco A25
User avatar
skrodahl
Moderator
 
Posts: 160
Joined: 27 Jan 2014, 10:08
Location: Sweden

support RuneAudio Donate with PayPal


Return to Bug report

Who is online

Users browsing this forum: No registered users and 2 guests