View previous topic :: View next topic |
Author |
Message |
hakejam n00b
Joined: 29 Aug 2003 Posts: 4
|
Posted: Thu Feb 03, 2005 9:57 am Post subject: emerge system fails |
|
|
I have looked through the forums, and haven't found an answer to this one. I have complete the install through the guide, and I can get up to emerging the system, and then I get a md5 check sum error everytime.
Code: |
emerge system
Calculating system dependencies ...done!
>>> emerge (1 of 11) app-arch/cpio-2.5 to /
!!! Digest verification Failed:
!!! /usr/portage/distfiles/cpio-2.5.tar.gz
!!! Reason: Failed on MD5 verification
|
Any suggestions? |
|
Back to top |
|
|
infecticide Apprentice
Joined: 10 Mar 2004 Posts: 262 Location: Regina, SK Canada
|
Posted: Thu Feb 03, 2005 10:19 am Post subject: |
|
|
The download maybe corrupt or the checksum maybe incorrect, try this
cd /usr/portage/distfiles
rm cpio-2.5.tar.gz
emerge sync
emerge system
We are removing the offending file and sync portage to ensure all checksums are correct (incase any corrections have been made) and retrying the merge. |
|
Back to top |
|
|
hakejam n00b
Joined: 29 Aug 2003 Posts: 4
|
Posted: Thu Feb 03, 2005 2:00 pm Post subject: |
|
|
I tried your suggestion and I got this when emerging the system:
Code: |
Calculating system dependencies ...done!
>>> emerge (1 of 11) app-arch/cpio-2.5 to /
>>> Downloading http://gentoo.osuosl.org/distfiles/cpio-2.5.tar.gz
>>> Resuming download...
>>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/cpio-2.5.tar.gz
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
>>> Resuming download...
>>> Downloading http://mirror.telentente.com/pub/gnu/cpio/cpio-2.5.tar.gz
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
>>> Resuming download...
>>> Downloading ftp://ftp.mirror.nl/pub/mirror/gnu/cpio/cpio-2.5.tar.gz
######################################################################## 100.0%
!!! Digest verification Failed:
!!! /usr/portage/distfiles/cpio-2.5.tar.gz
!!! Reason: Failed on MD5 verification
|
|
|
Back to top |
|
|
cmoad n00b
Joined: 03 Aug 2003 Posts: 40 Location: Indianapolis, IN
|
Posted: Thu Feb 03, 2005 3:06 pm Post subject: |
|
|
If you trust that the file you are getting is correct you can always re-digest the ebuild.
Quote: | rm /usr/portage/distfiles/cpio-2.5.tar.gz
sudo ebuild /usr/portage/app-arch/cpio/cpio-2.5.ebuild digest
emerge cpio |
Btw, cpio-2.6-r1 works fine for OSX fine for me. |
|
Back to top |
|
|
hakejam n00b
Joined: 29 Aug 2003 Posts: 4
|
Posted: Fri Feb 04, 2005 10:56 am Post subject: |
|
|
Still no luck, this is the message I get:
Code: |
Calculating dependencies ...done!
>>> emerge (1 of 1) app-arch/cpio-2.5 to /
>>> md5 src_uri ;-) cpio-2.5.tar.gz
>>> Unpacking source...
>>> Unpacking cpio-2.5.tar.gz to /var/tmp/portage/cpio-2.5/work
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
!!! ERROR: app-arch/cpio-2.5 failed.
!!! Function unpack, Line 373, Exitcode 2
!!! failure unpacking cpio-2.5.tar.gz
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
|
hakejam n00b
Joined: 29 Aug 2003 Posts: 4
|
Posted: Fri Feb 04, 2005 11:38 am Post subject: |
|
|
Could this problem be due that I am behind a proxy? |
|
Back to top |
|
|
gnac Guru
Joined: 30 Jun 2003 Posts: 302 Location: Columbia River Gorge
|
Posted: Tue Feb 08, 2005 2:31 am Post subject: |
|
|
hakejam,
I had a similar problem with museseq giving me the same error. This post showed me the problem.
Try doing an Code: | emerge -f packagename
emerge packagename |
The -f will try to fetch the package from the first mirror in /etc/make.conf. In my case the package from the first mirror had a bad checksum, so emerge -f automatically went to the second and then the third mirror until it found a "valid" package. The second emerge will install the package you already downloaded with the -f switch. _________________ "I thought she'd steal my heart, instead she stole my kidney,
and now its for sale, on the black market in Sydney" - Better Abraham |
|
Back to top |
|
|
|