Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303877 - Digest verification failed for /usr/portage/app-emulation/emul-linux-x86-baselibs/ChangeLog
Summary: Digest verification failed for /usr/portage/app-emulation/emul-linux-x86-base...
Status: RESOLVED DUPLICATE of bug 302984
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on: 304109
Blocks:
  Show dependency tree
 
Reported: 2010-02-07 17:25 UTC by Asaf Gery
Modified: 2010-02-17 15:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Asaf Gery 2010-02-07 17:25:58 UTC
While trying to emerge update app-emulation/emul-linux-x86-baselibs-20091231
(emerge -uv app-emulation/emul-linux-x86-baselibs).
I get the following error:

!!! Digest verification failed:
!!! /usr/portage/app-emulation/emul-linux-x86-baselibs/ChangeLog
!!! Reason: Failed on RMD160 verification
!!! Got: 262ea17751934ff4107f3b0bf086cf51fab5dff4
!!! Expected: 80662f4d363f16289725c32599e530949ba9c440


Reproducible: Always

Steps to Reproduce:
1. Run emerge -uv app-emulation/emul-linux-x86-baselibs


Actual Results:  
!!! Digest verification failed:
!!! /usr/portage/app-emulation/emul-linux-x86-baselibs/ChangeLog
!!! Reason: Failed on RMD160 verification
!!! Got: 262ea17751934ff4107f3b0bf086cf51fab5dff4
!!! Expected: 80662f4d363f16289725c32599e530949ba9c440


Expected Results:  
The package should have been updated.

The package should have been updated.
Comment 1 Asaf Gery 2010-02-07 17:26:54 UTC
asaf@squirrel ~ $ emerge --info                               
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)                                                        
=================================================================               
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1                                                        
Timestamp of tree: Sun, 07 Feb 2010 13:15:01 +0000                              
app-shells/bash:     4.0_p35                                                    
dev-java/java-config: 1.3.7-r1, 2.1.9-r2                                        
dev-lang/python:     2.5.4-r3, 2.6.4, 3.1.1                                     
dev-python/pycrypto: 2.1.0_beta1                                                
dev-util/cmake:      2.6.4-r3                                                   
sys-apps/baselayout: 2.0.1                                                      
sys-apps/openrc:     0.4.3-r3                                                   
sys-apps/sandbox:    2.0                                                        
sys-devel/autoconf:  2.13, 2.63-r1                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11            
sys-devel/binutils:  2.18-r3                                                    
sys-devel/gcc:       4.1.2, 4.3.4                                               
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6b                                                     
virtual/os-headers:  2.6.30-r1                                                  
ACCEPT_KEYWORDS="amd64"                                                         
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula"                                    
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-march=nocona -O2 -pipe --stack-protector"                              
CHOST="x86_64-pc-linux-gnu"                                                     
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                      
CXXFLAGS="-march=nocona -O2 -pipe --stack-protector"                            
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                 
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.jamit.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.first-world.info/ http://mirror.cambrium.nl/pub/os/linux/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en he ar tr ru de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.tr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 arts bash-completion berkdb bidi bluetooth branding bzip2 cairo cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ieee1394 ipv6 java jpeg kde laptop ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap mule multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session sndfile spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff timidit truetype unicode usb vorbis x264 xemacs xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he ar tr ru de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-02-09 10:09:47 UTC
Please, try sync from different rsync mirror and report back.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-02-10 06:55:31 UTC
Asaf, could you run emerge --sync another time and _if_ the problem persist, tell us IP address of server you've synced with. Thanks.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-02-10 06:59:52 UTC
Asaf, and I've just noticed that IP address is recorded in /var/log/emerge.log. Could you check there and tell us was server cause troubles?

grep 'Sync completed' /var/log/emerge.log | tail
Comment 5 Asaf Gery 2010-02-10 08:30:40 UTC
The problem still persists.
I am also having problems completing syncs. I usually have to run emerge --sync few times until it manages to complete an rsync.

I tried two rsync hosts, using "mirrorselect -i -r -o" and replacing the SYNC variable is make.conf the problem still presists...

I am trying now to sync with the default rsync mirror (SYNC="rsync://rsync.gentoo.org/gentoo-portage") to see whether it does work properly with that mirror.


Attached is the output of "grep 'Sync completed' /var/log/emerge.log | tail":
1264935711: === Sync completed with rsync://81.223.20.162/gentoo-portage
1264940860: === Sync completed with rsync://217.19.16.188/gentoo-portage
1264951774: === Sync completed with rsync://193.1.193.64/gentoo-portage
1264993467: === Sync completed with rsync://92.240.244.16/gentoo-portage
1265105589: === Sync completed with rsync://83.164.192.205/gentoo-portage
1265268045: === Sync completed with rsync://194.97.4.250/gentoo-portage
1265553217: === Sync completed with rsync://193.1.193.64/gentoo-portage
1265602823: === Sync completed with rsync://80.68.87.200/gentoo-portage
1265627066: === Sync completed with rsync://80.68.87.200/gentoo-portage
1265777798: === Sync completed with rsync://81.91.243.120/gentoo-portage
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2010-02-10 09:03:49 UTC
BTW, have you tried to run fsck on partition with portage tree?
Comment 7 Asaf Gery 2010-02-10 10:31:37 UTC
(In reply to comment #6)
> BTW, have you tried to run fsck on partition with portage tree?
> 

Yes. It is a laptop and from time to time hibernate fails to wake up and it boots normally. After such events the partitions are being checked automatically, since they are not unmounted when hibernating.

So the short answer is yes.

The problem still persists even with the Gentoo's default server.
I suspect that something is wrong with my system, but I have no idea what exactly.
Comment 8 Asaf Gery 2010-02-15 10:55:46 UTC
I managed to solve the problem by simply deleting the package directory /usr/portage/app-emulation/emul-linux-x86-baselibs and re-syncing.

I think that portage failed to update the Manifest file, which was probably corrupted.
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-02-17 15:09:30 UTC

*** This bug has been marked as a duplicate of bug 302984 ***