Forums

Skip to content

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

Failed digest [fixed!]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
21 posts • Page 1 of 1
Author
Message
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

Failed digest [fixed!]

  • Quote

Post by jonfr » Sun May 13, 2007 5:45 pm

I have been getting digest error on at least two packages.
emerge kftpgrabber
Calculating dependencies... done!

>>> Emerging (1 of 1) net-ftp/kftpgrabber-0.6.0 to /
!!! Previously fetched file: 'kftpgrabber-0.6.0.tar.bz2'
!!! Reason: Filesize does not match recorded size
!!! Got: 1127926
!!! Expected: 1123848
Refetching...

>>> Downloading 'ftp://ftp.rhnet.is/pub/gentoo/distfiles ... .0.tar.bz2'
--17:38:01-- ftp://ftp.rhnet.is/pub/gentoo/distfiles ... .0.tar.bz2
=> `/usr/portage/distfiles/kftpgrabber-0.6.0.tar.bz2'
Resolving ftp.rhnet.is... 130.208.16.26, 2001:948:10:16::26
Connecting to ftp.rhnet.is|130.208.16.26|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done.
==> PASV ... done. ==> RETR kftpgrabber-0.6.0.tar.bz2 ... done.
Length: 1,127,926 (1.1M) (unauthoritative)

100%[=================================================>] 1,127,926 461.36K/s

17:38:04 (459.97 KB/s) - `/usr/portage/distfiles/kftpgrabber-0.6.0.tar.bz2' saved [1127926]

* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking kftpgrabber-0.6.0.tar.bz2 ;-) ... [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/kftpgrabber-0.6.0.tar.bz2
!!! Reason: Filesize does not match recorded size
!!! Got: 1127926
!!! Expected: 1123848
emerge googleearth
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-misc/googleearth-4 to /
!!! Previously fetched file: 'GoogleEarthLinux.bin'
!!! Reason: Filesize does not match recorded size
!!! Got: 23852601
!!! Expected: 21607408
Refetching...

>>> Downloading 'http://dl.google.com/earth/GE4/GoogleEarthLinux.bin'
--17:38:14-- http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
=> `/usr/portage/distfiles/GoogleEarthLinux.bin'
Resolving dl.google.com... 72.14.221.95, 72.14.221.91, 72.14.221.93
Connecting to dl.google.com|72.14.221.95|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23,852,601 (23M) [application/octet-stream]

100%[=================================================>] 23,852,601 301.63K/s ETA 00:00

17:40:10 (201.50 KB/s) - `/usr/portage/distfiles/GoogleEarthLinux.bin' saved [23852601/23852601]

* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking GoogleEarthLinux.bin ;-) ... [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/GoogleEarthLinux.bin
!!! Reason: Filesize does not match recorded size
!!! Got: 23852601
!!! Expected: 21607408
Google earth has not been working since last night. The kftpgrabber has not worked since I did try to install it today.
Last edited by jonfr on Wed Jun 13, 2007 7:44 pm, edited 1 time in total.
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Sun May 13, 2007 5:55 pm

Have you tried syncing again, against a different mirror if possible?
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

  • Quote

Post by jonfr » Sun May 13, 2007 5:59 pm

I sync agents randoms mirrors. So it usually isn't the same one twice.
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Sun May 13, 2007 6:04 pm

Very well, but have you tried to sync again after you encountered that problem, and does it still persist?
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

  • Quote

Post by jonfr » Sun May 13, 2007 6:08 pm

I did just sync before I did start this topic, but that didn't fix it. So it appears to persist at this moment.
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Sun May 13, 2007 6:17 pm

Okay. The next thing to try would be to delete from /usr/portage/distfiles the files downloaded for these ebuilds and to try again.
If that still doesn't fix it, it's probably a problem on the master sync mirror being replicated to the others, and you can either wait a few hours for it to be fixed, or you can try to tell emerge to shut up already and go ahead with meging by appending the --digest parameter to the emerge command line, a la

Code: Select all

emerge --digest net-ftp/kftpgrabber
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

  • Quote

Post by jonfr » Mon May 14, 2007 2:28 am

I continue to get failed digest. I have tested to resync the portage tree.

Code: Select all

emerge googleearth
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-misc/googleearth-4 to /
>>> Downloading 'http://dl.google.com/earth/GE4/GoogleEarthLinux.bin'
--02:25:03--  http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
           => `/usr/portage/distfiles/GoogleEarthLinux.bin'
Resolving dl.google.com... 72.14.221.93, 72.14.221.95, 72.14.221.91
Connecting to dl.google.com|72.14.221.93|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23,852,601 (23M) [application/octet-stream]

100%[====================================>] 23,852,601   379.95K/s    ETA 00:00

02:26:07 (364.26 KB/s) - `/usr/portage/distfiles/GoogleEarthLinux.bin' saved [23852601/23852601]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking GoogleEarthLinux.bin ;-) ...                                  [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/GoogleEarthLinux.bin
!!! Reason: Filesize does not match recorded size
!!! Got: 23852601
!!! Expected: 21607408
Top
heikole
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Mon Oct 04, 2004 5:56 pm
Location: Berlin, Germany

  • Quote

Post by heikole » Mon May 14, 2007 12:21 pm

I can confirm this digest error, have been getting it since my first try to emerge googleearth yesterday at ~ 18:00 CEST. Tried it with three different clients until now. Normally, this sort of error is being fixed within a few hours at most. Nevertheless, no need to worry, I think. Retry emerging day by day until it is working ;) If you need googleearth just now, install it manually from http://earth.google.com/ into your home directory. This worked for me.
42
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Mon May 14, 2007 12:28 pm

heikole wrote:If you need googleearth just now, install it manually from http://earth.google.com/ into your home directory. This worked for me.
Don't do that, do this:
moocha wrote:or you can try to tell emerge to shut up already and go ahead with meging by appending the --digest parameter to the emerge command line, a la

Code: Select all

emerge --digest net-ftp/kftpgrabber
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
heikole
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Mon Oct 04, 2004 5:56 pm
Location: Berlin, Germany

  • Quote

Post by heikole » Mon May 14, 2007 12:38 pm

moocha wrote:
heikole wrote:If you need googleearth just now, install it manually from http://earth.google.com/ into your home directory. This worked for me.
Don't do that, do this:
moocha wrote:or you can try to tell emerge to shut up already and go ahead with meging by appending the --digest parameter to the emerge command line, a la

Code: Select all

emerge --digest net-ftp/kftpgrabber
OK, but I *really* wanted to see if the manual install is working, because Gentoo (albeit 2006.0 only) is explicitly declared as a supported OS at the Google Earth website :) I succeeded installing this even on amd64 2007.0.

EDIT: The --digest approach does not work for me with googleearth (as root):

Code: Select all

Installing mimetypes...
ACCESS DENIED  open_wr:   /usr/share/mimelnk/application/vnd.google-earth.kml+xml.desktop
linux/xdg/xdg-mime: line 983: /usr/share/mimelnk//application/vnd.google-earth.kml+xml.desktop: Permission denied
grep: /usr/share/mimelnk//application/vnd.google-earth.kml+xml.desktop: No such file or directory
rm: cannot remove `/usr/share/mimelnk//application/vnd.google-earth.kml+xml.desktop': No such file or directory
Installing desktop menu entries...
Installing desktop icon...
 * Applying mime-magic.patch ...                                          [ ok ]
>>> Completed installing googleearth-4 into /var/tmp/portage/x11-misc/googleearth-4/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-x11-misc_-_googleearth-4-21284.log"

open_wr:   /usr/share/mimelnk/application/vnd.google-earth.kml+xml.desktop
open_wr:   /usr/share/applications/Google-googleearth.desktop
open_wr:   /usr/share/applnk/Google-googleearth.desktop
open_wr:   /root/.gconf/.testing.writeability
unlink:    /root/.gconf/.testing.writeability
open_wr:   /root/.gconfd/saved_state
--------------------------------------------------------------------------------
42
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56078
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon May 14, 2007 12:47 pm

Failed digests have three causes,

1. The source code downloaded incorrectly
2. The ebuild downloaded incorrectly
3. The dev didn't update the digest as a part of the commit (Oops).

If you are *sure* your source downloads are good run

Code: Select all

ebuild /full/path/to/ebuild digest
to recreate the digest based on the files you have. If the resulting package breaks, you can keep all the pieces.

==== edit
The ACCESS DENIED error comes from sandbox. It means an ebuild is trying to do something nasty, or trying to do the right thing in the wrong way. You can try

Code: Select all

FEATURES="-sandbox" emerge ...
to turn off the sandbox for this emerge only, but again its a safety net. If horrible things happen, sympathy will be minimal
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Tue May 15, 2007 11:16 am

http://bugs.gentoo.org/show_bug.cgi?id=177984 is the googleearth sandbox violation bug.
www.gentoo.org.au || #gentoo-au
Top
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

  • Quote

Post by jonfr » Tue May 15, 2007 9:31 pm

This error still happens. I did wait a long time until I did do a re-sync to allow all the mirrors to update properly.

Here is the error as it is now.

Code: Select all

emerge googleearth
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-misc/googleearth-4 to /
!!! Previously fetched file: 'GoogleEarthLinux.bin'
!!! Reason: Filesize does not match recorded size
!!! Got:      23852601
!!! Expected: 21607408
Refetching...

>>> Downloading 'http://dl.google.com/earth/GE4/GoogleEarthLinux.bin'
--21:28:46--  http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
           => `/usr/portage/distfiles/GoogleEarthLinux.bin'
Resolving dl.google.com... 72.14.221.91, 72.14.221.93, 72.14.221.95
Connecting to dl.google.com|72.14.221.91|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23,852,601 (23M) [application/octet-stream]

100%[=======================================================>] 23,852,601   429.57K/s    ETA 00:00

21:29:41 (429.40 KB/s) - `/usr/portage/distfiles/GoogleEarthLinux.bin' saved [23852601/23852601]

 * checking ebuild checksums ;-) ...                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                       [ ok ]
 * checking GoogleEarthLinux.bin ;-) ...                                                     [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/GoogleEarthLinux.bin
!!! Reason: Filesize does not match recorded size
!!! Got: 23852601
!!! Expected: 21607408
Top
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

  • Quote

Post by jonfr » Thu May 17, 2007 3:51 am

This digest error still happens with google earth and kftpgrabber.
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Thu May 17, 2007 7:27 am

Did anyone file a bug with the package maintainer?
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

  • Quote

Post by jonfr » Thu May 17, 2007 8:28 pm

I do not know how to file a bug report. :(
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Thu May 17, 2007 8:47 pm

Create an account at Gentoo Bugzilla and log in. First search for an existing bug report, entering the name of the package in the Summary field and/or the Comments field if Summary didn't come up with any relevant hits. If you found no bug reports, go to the Enter Bug page and choose Gentoo Linux bug. Enter all relevant information there.
In this case, by now there's [bug]177972[/bug] for googleearth and [bug]178895[/bug] for kftpgrabber. You can add your email address to the CC to get notified when they're fixed.
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
ChrisJumper
Advocate
Advocate
Posts: 2419
Joined: Sat Mar 12, 2005 1:42 pm
Location: Germany

  • Quote

Post by ChrisJumper » Wed Jun 13, 2007 6:16 pm

Yeha! Its fixed!

Just delete GoogleEearthLinux.bin in your distfiles and remerge it.

Code: Select all

# rm /usr/portage/distfiles/GoogleEarthLinux.bin
emerge googleearth
Top
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

  • Quote

Post by jonfr » Wed Jun 13, 2007 7:44 pm

Since it is fixed I shall change the title of this post.
Top
Phylroy
n00b
n00b
User avatar
Posts: 18
Joined: Tue Mar 23, 2004 7:38 pm

Google earth ebuild still not working.

  • Quote

Post by Phylroy » Mon Jul 16, 2007 6:05 am

Nope..it still is not working...

Code: Select all

phylroy bin # rm /usr/portage/distfiles/GoogleEarthLinux.bin
phylroy bin # emerge x11-misc/googleearth
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) x11-misc/googleearth-4 to /
>>> Downloading 'http://dl.google.com/earth/GE4/GoogleEarthLinux.bin'
--02:00:15--  http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
           => `/usr/portage/distfiles/GoogleEarthLinux.bin'
Resolving dl.google.com... 72.14.203.91
Connecting to dl.google.com|72.14.203.91|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23,852,601 (23M) [application/octet-stream]

100%[================================================================================>] 23,852,601   407.95K/s    ETA 00:00

02:01:12 (405.54 KB/s) - `/usr/portage/distfiles/GoogleEarthLinux.bin' saved [23852601/23852601]

 * checking ebuild checksums ;-) ...                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                [ ok ]
 * checking GoogleEarthLinux.bin ;-) ...                                                                              [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/GoogleEarthLinux.bin
!!! Reason: Filesize does not match recorded size
!!! Got: 23852601
!!! Expected: 16984110
Top
jantonio
n00b
n00b
Posts: 5
Joined: Sun Jan 22, 2006 1:07 pm

  • Quote

Post by jantonio » Mon Jul 16, 2007 8:38 am

got exact same error as phylroy
the --digest worked for me fine

Code: Select all

emerge --digest googleearth
Top
Post Reply

21 posts • Page 1 of 1

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