When trying to upgrade mc (Midnight Commander, app-misc/mc-4.6.0-r11), the emerge fails and abort on md5 check like so: >>> emerge (1 of 2) app-misc/mc-4.6.0-r11 to / >>> Resuming download... >>> Downloading ftp://mirror.pudas.net/gentoo/distfiles/mc-4.6.0-sambalib-3.0.0.patch.bz2 --12:22:19-- ftp://mirror.pudas.net/gentoo/distfiles/mc-4.6.0-sambalib-3.0.0.patch.bz2 => `/usr/portage/distfiles/mc-4.6.0-sambalib-3.0.0.patch.bz2' Resolving mirror.pudas.net... 195.245.242.43 Connecting to mirror.pudas.net[195.245.242.43]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /gentoo/distfiles ... done. ==> SIZE mc-4.6.0-sambalib-3.0.0.patch.bz2 ... done. ==> PASV ... done. ==> REST 399778 ... done. ==> RETR mc-4.6.0-sambalib-3.0.0.patch.bz2 ... done. Length: 399,920 [142 to go] 100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>] 399,920 --.--K/s 12:22:20 (3.59 KB/s) - `/usr/portage/distfiles/mc-4.6.0-sambalib-3.0.0.patch.bz2' saved [399920] >>> md5 src_uri ;-) mc-4.6.0.tar.gz !!! File is corrupt or incomplete. (Digests do not match) >>> our recorded digest: f5053361d1936b3e4187857daf0cc6cb >>> your file's digest: f76f877be6e367a2e8a207074e02fc4a !!! File does not exist: /usr/portage/distfiles//mc-4.6.0-sambalib-3.0.0.patch.bz2 Reproducible: Always Steps to Reproduce: 1.emerge -a mc 2. 3. Actual Results: The emerge stops. See details section. Other emerges work just fine, both before and after 'emerge mc'. First and only time its happened on this machine. Expected Results: Emerged MC root@hvede tmp # emerge info Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r7) ================================================================= System uname: 2.6.7-gentoo-r7 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -funroll-loops" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 avi berkdb bitmap-fonts crypt encode foomaticdb gdbm gif gtk gtk2 imagemagick imlib jpeg lesstif libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls nocardbus oggvorbis pam pdflib perl png postgres python quicktime readline sdl slang spell ssl tcpd x86 xml2 xmms xprint xv zlib"
try to remove your distfiles and emerge mc again
Sorry for being a dodo. When you say 'distfiles', could you point me to the directories containing the files to remove please, assuming I have not changed default locations of portage stuff (which I havent). Thanks.
it's /usr/portage/distfiles
Yup! That did the trick. No problems this time. Closed where I'm concerned. Thanks a lot Heinrich for the snappy and helpful response.
fine -> close :)