View previous topic :: View next topic |
Author |
Message |
wagnersouza n00b
Joined: 23 Jan 2013 Posts: 2
|
Posted: Wed Jan 23, 2013 1:55 am Post subject: [SOLVED] Error Portage any tar.xz |
|
|
Hi folks!
When I try to emerge any package that ends with tar.xz I got the error:
xz: /path/to/file: Compressed data is corrupt
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Anyone knows how to fix this?
I am using gcc-4.6.3 and glic-2.15-r3.
Thanks!
Last edited by wagnersouza on Sun Feb 24, 2013 10:26 pm; edited 1 time in total |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Wed Jan 23, 2013 2:43 am Post subject: |
|
|
wagnersouza,
Welcome to gentoo
Strange error. The only thing I can think of is to check if app-arch/xz-utils is installed.
Code: | gentoo-gateway distfiles # whereis xz
xz: /usr/bin/xz /usr/share/man/man1/xz.1.bz2
|
If it is, try reinstalling. _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Wed Jan 23, 2013 2:51 am Post subject: |
|
|
ill throw in a zlib controls zips also so u might want to recycle that one too.... & minizip? useflag |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Jan 23, 2013 3:30 pm Post subject: |
|
|
666threesixes666 wrote: | ill throw in a zlib controls zips also so u might want to recycle that one too.... & minizip? useflag |
WTF does this even mean? |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Wed Jan 23, 2013 3:46 pm Post subject: |
|
|
if you unmerge zlib your portage will be completely broke and you wont be able to merge ANYTHING.... he's got zip problems so im saying his zlib is possibly broken also. mines using a minizip useflag for something or other, he should probably also remerge tar... |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Jan 23, 2013 7:36 pm Post subject: |
|
|
Go and get a clue before you post again, other people have already reported you for posting uninformed and quite frankly dangerous misinformation in multiple threads already.
Neither zlib nor zip have anything to do with XZ files. |
|
Back to top |
|
|
psheldon n00b
Joined: 02 Apr 2006 Posts: 53 Location: South Africa
|
Posted: Thu Jan 24, 2013 7:50 am Post subject: |
|
|
[quote="Ant P."]Go and get a clue before you post again, other people have already reported you for posting uninformed and quite frankly dangerous misinformation in multiple threads already.
Neither zlib nor zip have [b]anything[/b] to do with XZ files.[/quote]
Then what does? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Fri Jan 25, 2013 2:42 am Post subject: |
|
|
psheldon wrote: | Ant P. wrote: | Go and get a clue before you post again, other people have already reported you for posting uninformed and quite frankly dangerous misinformation in multiple threads already.
Neither zlib nor zip have anything to do with XZ files. |
Then what does? | /usr/bin/xz, provided by app-arch/xz-utils, is probably relevant. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Fri Jan 25, 2013 2:50 am Post subject: |
|
|
Right, and I had similar issue with freshly installed system, I had to build binpkg of app-arch/xz-utils on another host to overcome this. I still don't know what caused this, I was installing a new box while using stable stage3 and same time switching over to ~arch. Once everything was ~arch xz-utils built and ran fine. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Fri Jan 25, 2013 1:15 pm Post subject: Re: Error Portage any tar.xz |
|
|
wagnersouza wrote: | When I try to emerge any package that ends with tar.xz I got the error:
xz: /path/to/file: Compressed data is corrupt
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now |
Files with .tar.xz suffix are XZ-compressed tarballs, and the command for dealing with them is "tar". "emerge" is for installing Gentoo packages, and it does not deal with .tar.xz files. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9527 Location: beyond the rim
|
Posted: Fri Jan 25, 2013 2:24 pm Post subject: Re: Error Portage any tar.xz |
|
|
fturco wrote: | wagnersouza wrote: | When I try to emerge any package that ends with tar.xz I got the error:
xz: /path/to/file: Compressed data is corrupt
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now |
Files with .tar.xz suffix are XZ-compressed tarballs, and the command for dealing with them is "tar". "emerge" is for installing Gentoo packages, and it does not deal with .tar.xz files. |
While the wording in the original post is a bit sloppy the output clearly shows that it's not emerge complainging about a .tar.xz file, but xz throwing up on a given archive. |
|
Back to top |
|
|
wagnersouza n00b
Joined: 23 Jan 2013 Posts: 2
|
Posted: Sun Feb 24, 2013 10:25 pm Post subject: Solved |
|
|
The problem was with the cflag : -floop-strip-mine.
Not only xz will broke, but unzip, tar, gzip too.
Thanks for your help! |
|
Back to top |
|
|
|