Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324549 - Portage tree corrupt?
Summary: Portage tree corrupt?
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 05:34 UTC by André Terpstra
Modified: 2010-06-18 16:28 UTC (History)
1 user (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 André Terpstra 2010-06-18 05:34:53 UTC
>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /usr/portage/sys-devel/bison/files/bison-2.4.2-gnulib_spawn.patch
!!! Reason: Failed on RMD160 verification
!!! Got: f49bc2072f648a3eafd82d4780fb63c336fb51a2
!!! Expected: 14cc23973b695702f61cf3c69dc492cb81cb193b

!!! Digest verification failed:
!!! /usr/portage/sys-devel/binutils/binutils-2.20.51.0.7.ebuild
!!! Reason: Failed on RMD160 verification
!!! Got: 8655acafbd5d64320770542cdb360e6b730ec452
!!! Expected: 3920c81c6647d3e4f3851e3e98c5e2e45997370e

!!! Digest verification failed:
!!! /usr/portage/sys-kernel/vanilla-sources/vanilla-sources-2.6.32.11.ebuild
!!! Reason: Failed on RMD160 verification
!!! Got: 1de6a790ce170fed10f573fba49a91a5f73471b4
!!! Expected: ef340054fe471807b89c29266ae62506f1d54b6d
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-18 08:44:35 UTC
Hello André,

can you please provide the `emerge --info` output of your system?
To see which mirror you use for syncing. Can you please check and comment 
`df -h $(portageq portdir)` to verify some free disk space in the portage-dir.

Please try to `SYNC="rsync://rsync9.de.gentoo.org/gentoo-portage/" emerge --sync` for example, to grab another working mirror.
You can check http://mirrorstats.gentoo.org/rsync/ for the latest mirror statistics.
Comment 2 André Terpstra 2010-06-18 15:53:17 UTC
I see your point. I was not preferring a specific rsync server on this particular machine so I went with gentoo's rotated mirrors. Seelecting a specific mirror does not help in any way, not even after removing the timestamp.chk file. Should I clear out the entire tree???

Disk space is not a problem:

Server2 ~ # df -h $(portageq portdir)
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb8             9.7G  4.1G  5.1G  45% /

Server2 ~ # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31.6 x86_64)
=================================================================
System uname: Linux-2.6.31.6-x86_64-AMD_Sempron-tm-_Processor_2800+-with-gentoo-1.12.13
Timestamp of tree: Fri, 18 Jun 2010 15:15:03 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       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"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
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://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="nl"
MAKEOPTS="-j2"
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://rsync9.de.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS=" hda-intel" 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" CAMERAS=" casio" ELIBC="glibc" INPUT_DEVICES=" keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS=" fbdev nv nvidia vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 André Terpstra 2010-06-18 16:12:31 UTC
OK since Linux is all about learning I decided to give it a try. I deleted /usr/portage and extracted a recent portage tarball, then synced against another defined mirror. This solved the problem.

I suspect some weird file system error. It could even be caused by e2fsck version mismatches. However that may be a different story (and possibly another bug...). This one may be closed imho.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-06-18 16:28:12 UTC
(In reply to comment #3)
> I suspect some weird file system error. It could even be caused by e2fsck
> version mismatches. However that may be a different story (and possibly another
> bug...). This one may be closed imho.

yep, fs error would do that. closing.