Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo for Mac OS X (Portage for Mac OS X)
  • Search

emerge system fails

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
Advanced search
7 posts • Page 1 of 1
Author
Message
hakejam
n00b
n00b
Posts: 4
Joined: Fri Aug 29, 2003 8:52 pm

emerge system fails

  • Quote

Post by hakejam » Thu Feb 03, 2005 9:57 am

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: Select all

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?
Top
infecticide
Apprentice
Apprentice
User avatar
Posts: 262
Joined: Wed Mar 10, 2004 3:37 am
Location: Regina, SK Canada
Contact:
Contact infecticide
Website

  • Quote

Post by infecticide » Thu Feb 03, 2005 10:19 am

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.
Top
hakejam
n00b
n00b
Posts: 4
Joined: Fri Aug 29, 2003 8:52 pm

  • Quote

Post by hakejam » Thu Feb 03, 2005 2:00 pm

I tried your suggestion and I got this when emerging the system:

Code: Select all

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
Top
cmoad
n00b
n00b
Posts: 40
Joined: Sun Aug 03, 2003 4:17 am
Location: Indianapolis, IN
Contact:
Contact cmoad
Website

  • Quote

Post by cmoad » Thu Feb 03, 2005 3:06 pm

If you trust that the file you are getting is correct you can always re-digest the ebuild.
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.
Top
hakejam
n00b
n00b
Posts: 4
Joined: Fri Aug 29, 2003 8:52 pm

  • Quote

Post by hakejam » Fri Feb 04, 2005 10:56 am

Still no luck, this is the message I get:

Code: Select all

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.
Top
hakejam
n00b
n00b
Posts: 4
Joined: Fri Aug 29, 2003 8:52 pm

  • Quote

Post by hakejam » Fri Feb 04, 2005 11:38 am

Could this problem be due that I am behind a proxy?
Top
gnac
Guru
Guru
User avatar
Posts: 302
Joined: Mon Jun 30, 2003 5:01 pm
Location: Columbia River Gorge

  • Quote

Post by gnac » Tue Feb 08, 2005 2:31 am

hakejam,

I had a similar problem with museseq giving me the same error. This post showed me the problem.

Try doing an

Code: Select all

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
Top
Locked

7 posts • Page 1 of 1

Return to “Gentoo for Mac OS X (Portage for Mac OS X)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic