I emerged the latest gimp-2.2.8, but I couldn't unmerge the earlier version. Now every emerge tries and fails. Reproducible: Always Steps to Reproduce: 1. emerge anything. 2. 3. Actual Results: Here's the error: --- !found obj /usr/share/doc/gimp-2.2.7-r1/NEWS.gz --- !found obj /usr/share/doc/gimp-2.2.7-r1/HACKING.gz --- !found obj /usr/share/doc/gimp-2.2.7-r1/ChangeLog.pre-2-0.gz Traceback (most recent call last): File "/usr/bin/emerge", line 2954, in ? if 1==unmerge(myaction, myfiles): 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 82, in md5hash data = f.read(blocksize) IOError: [Errno 5] Input/output error Expected Results: success. seeker slmodem-2.9.10 # emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0, 2.6.12-gentoo-r2 i686) ================================================================= System uname: 2.6.12-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.50GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X adns alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dga doc dvd eds emboss encode esd fam foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib ipv6 java jpeg junit ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline samba scanner sdl slang snmp spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
IOError == Filesystem problem. Try running a fsck.
fsck fixed two errors, but the emerge error persisted. I manually deleted the "/usr/share/doc/gimp-2.2.7-r1" and it autocleaned without error.