Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

x11-proto/kbproto-1.0.2 MD5 checksum fails

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
35 posts
  • 1
  • 2
  • Next
Author
Message
Paapaa
l33t
l33t
User avatar
Posts: 955
Joined: Sun Aug 14, 2005 8:45 am
Location: Finland

x11-proto/kbproto-1.0.2 MD5 checksum fails

  • Quote

Post by Paapaa » Fri Jun 30, 2006 6:12 pm

Emerging the new modular (stable) xorg-x11 fails because kbproto-1.0.2 doesn't pass MD5 verification. I can't paste the actual error message as I can't access WWW with Gentoo now. I tried "emerge --sync" but it didn't help. I also tried "--fetchonly" with no lock. What might be the problem here?
Top
Norbie Landers
n00b
n00b
Posts: 9
Joined: Sat Apr 16, 2005 9:16 pm

  • Quote

Post by Norbie Landers » Fri Jun 30, 2006 6:22 pm

Same problem here.

Code: Select all

>>> Emerging (1 of 120) x11-proto/kbproto-1.0.2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking kbproto-1.0.2.tar.bz2
!!! Digest verification failed:
!!! /usr/portage/distfiles/kbproto-1.0.2.tar.bz2
!!! Reason: Failed on MD5 verification
!!! Got: 3ae193c317a3621966c3c53d83a254f4
!!! Expected: 77d889b21a827409f8dd40f8bfc68a12
I tried fixing the digest but then I got a similar problem with x11-proto/xextproto-7.0.2.
Top
morphal
Apprentice
Apprentice
Posts: 183
Joined: Thu Feb 17, 2005 3:01 am
Location: Houston

  • Quote

Post by morphal » Fri Jun 30, 2006 6:42 pm

Add another person with a problem to the list. I have the same problem, exact same md5 sums as well, but that's to be expected.

Additionally though, I already rm-ed the file and re-synced, which failed. I noticed that it was downloading from distfiles.gentoo.org so I rm-ed it again and grabbed the file from OSU and ibiblio, with the same results both times. Dare I blame it on Portage again? Something's up though.
Top
Kaddy
n00b
n00b
Posts: 29
Joined: Thu Jan 27, 2005 2:43 pm
Contact:
Contact Kaddy
Website

  • Quote

Post by Kaddy » Fri Jun 30, 2006 7:02 pm

I managed to fix this problem. it was fairly simple, but a pain the the ass because you have to do it a few times

Code: Select all

ebuild /usr/portage/x11-proto/kbproto/kbproto-1.0.2.ebuild digest && emerge --resume
that should do the trick for you

afaik, this is a problem with several of the packages in the xorg-x11-7 update

as an added side note, you'll have to do this AFTER you download the file itself, not before, the MD5 verification WILL fail.... again
Top
ctrawick
n00b
n00b
Posts: 7
Joined: Fri Dec 24, 2004 8:55 am
Location: Tampa, Florida, USA

  • Quote

Post by ctrawick » Fri Jun 30, 2006 7:46 pm

Continuing from another thread, so this info doesn't get buried.

Check out [bug=135715]this old annoyance.[/bug] Looks like freedesktop.org did it again. I've also been bit by this on the following packages (will post more as I work through the digests):
  • media-fonts/encodings
  • x11-proto/fontcacheproto
  • x11-apps/bdftopcf
  • x11-proto/xf86rushproto
  • x11-proto/xf86vidmodeproto
  • x11-proto/evieext
  • x11-misc/makedepend (!!!) See below
  • x11-proto/printproto
  • x11-libs/libXp
  • x11-proto/randrproto
  • media-fonts/font-bh-type1
The workaround is to "ebuild <ebuildfile> digest" for each of these packages. For example:

Code: Select all

ebuild /usr/portage/x11-apps/bdftopcf/bdftopcf-1.0.0.ebuild digest
NOTE THAT THIS IS NOT A FIX!! Forcing digests using ebuild defeats the purpose of having digests in the first place. If I were you, I'd just skip the packages if possible until the package maintainers certify that the sources are still good. For all we know, freedesktop.org has been compromised again.

If it's not stupid coder tricks, then the digests will have to be redone and distributed. Probably have to file a new bug and/or reopen the [bug=135715]old one[/bug].

(!!!) I was having trouble digesting x11-misc/makedepend. It kept saying that it couldn't be downloaded. I ended up putting it in my portage overlay and digesting it there instead. Not sure what the difference is, but that's the fix.
Last edited by ctrawick on Fri Jun 30, 2006 8:35 pm, edited 2 times in total.
Top
tane_stelzer
Apprentice
Apprentice
User avatar
Posts: 263
Joined: Fri Dec 30, 2005 6:13 pm
Location: Edinburgh, Scotland and Kempen, Germany

  • Quote

Post by tane_stelzer » Fri Jun 30, 2006 8:05 pm

OK did what u said and now i get this error

Code: Select all

100%[=====================>] 36,750      56.49K/s
20:43:41 (56.27KB/s) '/usr/portage/distfiles/xcmiscproto-1.1.2.tar.bz2' saved [36750/36750]
!!! Couldn't download xcmiscproto-1.1.2.tar.bz2 Aborting
Man this is annoying cos i dont have xorg now nth works....
Can someone help me
Tane
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Top
morphal
Apprentice
Apprentice
Posts: 183
Joined: Thu Feb 17, 2005 3:01 am
Location: Houston

  • Quote

Post by morphal » Fri Jun 30, 2006 8:09 pm

Skipping kbproto got seven more packages compiled before emerge failed because of the missing package. Skipping that one immediately caused the next one to fail. Skipping didn't really help. =/

As you said, there are workarounds but I always hate mucking up digests that I know were put there on purpose. Rather fantastic that we had this little hiccough just as modular X got stable.

Edit: I also can't emerge NAIM because the file sizes don't match. This, combined with the other guy's inability to download the source for a file and the obvious issues with kbproto ... I'd say there's a larger problem at work here. =)
Top
tane_stelzer
Apprentice
Apprentice
User avatar
Posts: 263
Joined: Fri Dec 30, 2005 6:13 pm
Location: Edinburgh, Scotland and Kempen, Germany

  • Quote

Post by tane_stelzer » Fri Jun 30, 2006 8:20 pm

well i tried the tip by Kaddy and it works but i have to do it nearly every 2nd package....
tane
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Top
slaterson
Guru
Guru
Posts: 313
Joined: Wed Feb 26, 2003 3:37 pm

  • Quote

Post by slaterson » Fri Jun 30, 2006 8:23 pm

tane_stelzer wrote:OK did what u said and now i get this error

Code: Select all

100%[=====================>] 36,750      56.49K/s
20:43:41 (56.27KB/s) '/usr/portage/distfiles/xcmiscproto-1.1.2.tar.bz2' saved [36750/36750]
!!! Couldn't download xcmiscproto-1.1.2.tar.bz2 Aborting
Man this is annoying cos i dont have xorg now nth works....
Can someone help me
Tane
i am getting the exact same problem with encodings-1.0.0. the funny thing is, that the file downloaded just fine, i watched it and then checked /usr/portage/distfiles, and it's there. trying to emerge it again, after it downloaded, produces this output:

Code: Select all

# emerge encodings
Calculating dependencies... done!
>>> Emerging (1 of 1) media-fonts/encodings-1.0.0 to /
>>> Resuming download...
>>> Downloading http://xorg.freedesktop.org/releases/individual/font/encodings-1.0.0.tar.bz2
--13:22:43--  http://xorg.freedesktop.org/releases/individual/font/encodings-1.0.0.tar.bz2
           => `/usr/portage/distfiles/encodings-1.0.0.tar.bz2'
Resolving xorg.freedesktop.org... 131.252.208.36
Connecting to xorg.freedesktop.org|131.252.208.36|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

!!! Couldn't download encodings-1.0.0.tar.bz2. Aborting.
looky here, portage tells me the file is fully retrieved, and then the next message says it can't be downloaded. crazy... why is this stable, again?
Top
Kaddy
n00b
n00b
Posts: 29
Joined: Thu Jan 27, 2005 2:43 pm
Contact:
Contact Kaddy
Website

  • Quote

Post by Kaddy » Fri Jun 30, 2006 8:27 pm

I know
I'll try and throw something together tonight so that there isn't this HUGE issue with it for every one

on a little different note, I know that there is a failure in finding virtual/x11 after the kbproto
you might have to do it a little unorthodoxly in the sense that you'll have to do something like 'emerge --nodeps x11' and then the other packages.
Top
tane_stelzer
Apprentice
Apprentice
User avatar
Posts: 263
Joined: Fri Dec 30, 2005 6:13 pm
Location: Edinburgh, Scotland and Kempen, Germany

  • Quote

Post by tane_stelzer » Fri Jun 30, 2006 8:28 pm

try what kaddy said

Code: Select all

ebuild /usr/portage/x11-proto/kbproto/kbproto-1.0.2.ebuild digest && emerge --resume
of course edit this command and whenever you get an error about md5sum or that download error do this. It worked great for me
Tane
Quick Quide to Linux Commands!
MINI HOWTO Get Planeshift working
Top
JofCore
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 116
Joined: Tue Jun 08, 2004 9:58 pm

  • Quote

Post by JofCore » Fri Jun 30, 2006 8:34 pm

Same problem here (just happened to pick today to try to go to modular X -- go figure :) ).

I'm a little wary about using the ebuild command to rebuild the digest tho.... that kind of defeats the purpose of the digest. Does anyone w/developer ties over @ freedesktop.org know if/when this issue would be fixed? Or is it an issue w/the hashes in portage that have not being updated yet..? Has anyone confirmed that this was a mistake, and not a compromise of the freedesktop.org servers...?

thx!
Top
Norbie Landers
n00b
n00b
Posts: 9
Joined: Sat Apr 16, 2005 9:16 pm

  • Quote

Post by Norbie Landers » Fri Jun 30, 2006 8:34 pm

It seems to be fixed in portage now.
Top
slaterson
Guru
Guru
Posts: 313
Joined: Wed Feb 26, 2003 3:37 pm

  • Quote

Post by slaterson » Fri Jun 30, 2006 8:39 pm

ok, so remaking the digest fixes not only the md5sum/filesize problems but also the 'Couldn't download' problem. just tried it and it appears to work.

thanks! 31 packages to go...
Top
morphal
Apprentice
Apprentice
Posts: 183
Joined: Thu Feb 17, 2005 3:01 am
Location: Houston

  • Quote

Post by morphal » Fri Jun 30, 2006 9:02 pm

Yeah, everything seems to be working now and I didn't alter any digests or any of that. I did rm -r /usr/portage but that's just because I'm impatient and easily annoyed. =)
Top
JofCore
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 116
Joined: Tue Jun 08, 2004 9:58 pm

  • Quote

Post by JofCore » Fri Jun 30, 2006 9:05 pm

Norbie Landers wrote:It seems to be fixed in portage now.
why yes, yes it does :)

Thanks to whoever fixed it!

(emerging now... package 11 of 99....)
Top
morphal
Apprentice
Apprentice
Posts: 183
Joined: Thu Feb 17, 2005 3:01 am
Location: Houston

  • Quote

Post by morphal » Fri Jun 30, 2006 9:14 pm

And for those of you that did go around mucking with your ebuild digests, it probably would be a fair idea to clean out all of that and re-sync to make sure everything is on the level.
Top
dantecl
n00b
n00b
Posts: 3
Joined: Fri Jun 30, 2006 11:12 pm

  • Quote

Post by dantecl » Fri Jun 30, 2006 11:15 pm

ok guys.... seems that almost every package beneath /usr/portage/x11-proto/ is broken... either it fails MD5 and every subsequent hash or it gives that "couldn't download" message...

no SYNC or portage upgrade fixes this as of now.
Dante
Top
Norbie Landers
n00b
n00b
Posts: 9
Joined: Sat Apr 16, 2005 9:16 pm

  • Quote

Post by Norbie Landers » Fri Jun 30, 2006 11:22 pm

dantecl wrote:ok guys.... seems that almost every package beneath /usr/portage/x11-proto/ is broken... either it fails MD5 and every subsequent hash or it gives that "couldn't download" message...

no SYNC or portage upgrade fixes this as of now.
That sounds like the same problem, but it really has been fixed in portage. Try SYNCing from a different mirror.
Top
dantecl
n00b
n00b
Posts: 3
Joined: Fri Jun 30, 2006 11:12 pm

  • Quote

Post by dantecl » Fri Jun 30, 2006 11:23 pm

what mirrors are known to have this working? I'm in USA
Dante
Top
Norbie Landers
n00b
n00b
Posts: 9
Joined: Sat Apr 16, 2005 9:16 pm

  • Quote

Post by Norbie Landers » Fri Jun 30, 2006 11:34 pm

rsync://132.229.67.201/gentoo-portage

Edit: That's a european mirror by the way (from rsync.europe.gentoo.org)
Top
dantecl
n00b
n00b
Posts: 3
Joined: Fri Jun 30, 2006 11:12 pm

  • Quote

Post by dantecl » Fri Jun 30, 2006 11:49 pm

Norbie Landers wrote:rsync://132.229.67.201/gentoo-portage

Edit: That's a european mirror by the way (from rsync.europe.gentoo.org)

noticed that...
Dante
Top
willistg
n00b
n00b
Posts: 14
Joined: Fri Mar 24, 2006 3:23 pm
Location: Cincinnati Ohio US Earth
Contact:
Contact willistg
Website

  • Quote

Post by willistg » Sat Jul 01, 2006 1:54 am

tried the euro mirror. Still fuxored.....


>>> Emerging (1 of 112) x11-libs/libX11-1.0.1-r1 to /
>>> checking ebuild checksums
!!! Digest verification failed:
!!! /usr/portage/x11-libs/libX11/libX11-1.0.3.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 995
!!! Expected: 1001


I am destined to not have wobbly windows I suppose :(
Top
willistg
n00b
n00b
Posts: 14
Joined: Fri Mar 24, 2006 3:23 pm
Location: Cincinnati Ohio US Earth
Contact:
Contact willistg
Website

  • Quote

Post by willistg » Sat Jul 01, 2006 1:55 am

sorry all the thread merging makes my head spin. I meant to post in another thread.
Top
instance
n00b
n00b
User avatar
Posts: 27
Joined: Tue Jun 22, 2004 4:09 pm
Location: Toronto, Canada

  • Quote

Post by instance » Sat Jul 01, 2006 2:01 am

willistg wrote:tried the euro mirror. Still fuxored.....


>>> Emerging (1 of 112) x11-libs/libX11-1.0.1-r1 to /
>>> checking ebuild checksums
!!! Digest verification failed:
!!! /usr/portage/x11-libs/libX11/libX11-1.0.3.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 995
!!! Expected: 1001


I am destined to not have wobbly windows I suppose :(
I have the same problem... note the discrepancy:

Emerging (1 of 112) x11-libs/libX11-1.0.1-r1

Then:

!!! /usr/portage/x11-libs/libX11/libX11-1.0.3.ebuild

No surprise 1.0.1-r1 doesn't want to play with 1.0.3. Guess we wait for a wile, re-sync and try again. And this is the stable tree? yipes.
Top
Post Reply

35 posts
  • 1
  • 2
  • Next

Return to “Portage & Programming”

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