I am trying to update perl to version 5.8.6-r1, this depends on libperl-5.8.6-r1, which fails to emerge with an error message. Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. Actual Results: [...] >>> sys-devel/libperl-5.8.6-r1 merged. sys-devel/libperl selected: 5.8.5 protected: 5.8.6-r1 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging sys-devel/libperl-5.8.5... No package files given... Grabbing a set. <<< obj /usr/share/doc/libperl-5.8.5/Todo.micro.gz <<< obj /usr/share/doc/libperl-5.8.5/README.gz <<< obj /usr/share/doc/libperl-5.8.5/Copying.gz <<< obj /usr/share/doc/libperl-5.8.5/Changes5.8.gz <<< obj /usr/share/doc/libperl-5.8.5/Changes5.8.4.gz <<< obj /usr/share/doc/libperl-5.8.5/Changes5.8.3.gz <<< obj /usr/share/doc/libperl-5.8.5/Changes5.8.2.gz Traceback (most recent call last): File "/usr/bin/emerge", line 3200, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1966, in merge retval=unmerge("clean", [xsplit[0]]) File "/usr/bin/emerge", line 2251, in unmerge retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_action not in ["clean","prune"]) File "/usr/lib/portage/pym/portage.py", line 2901, in unmerge mylink.unmerge(trimworld=mytrimworld,cleanup=1) File "/usr/lib/portage/pym/portage.py", line 6187, in unmerge mymd5=portage_checksum.perform_md5(obj, calc_prelink=1) File "/usr/lib/portage/pym/portage_checksum.py", line 25, in perform_md5 return perform_checksum(x, md5hash, calc_prelink)[0] File "/usr/lib/portage/pym/portage_checksum.py", line 128, in perform_checksum myhash, mysize = hash_function(myfilename) File "/usr/lib/portage/pym/portage_checksum.py", line 75, in md5hash return fchksum.fmd5t(filename) IOError: [Errno 5] Input/output error: '/usr/share/doc/libperl-5.8.5/Changes5.8.1.gz' Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 dev-lang/python: 2.3.4-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/gentoo-de /usr/local/overlays/gentoo-de-ebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups curl divx4linux dvb eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer imagemagick imlib jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis win32codecs xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Mass re-assign.
To me, this looks like you either have youself a bad disk, or a corrupt(ing) filesystem. Can you re-produce this at all, reliably, and if so, does it happen in the same place ? Also, have you ever experienced these kind of tracebacks from portage (the general i/o error kind, like below) ?
like beu said - during the unmerge portage is just marking and deleting, this was either a disk problem or a portage problem, hard to tell without any followups