I'm installing Gentoo for the first time on my newly built system. When I do an emerge system I come up with a digest mismatch on m4_1.4-15.diff.gz. Calculating system dependencies ...done! >>> emerge (1 of 63) sys-devel/m4-1.4 to / >>> md5 src_uri ;-) m4-1.4.tar.gz !!! File is corrupt or incomplete. (Digests do not match) >>> our recorded digest: dd3b693906f1a69319d8b99b914df25b >>> your file's digest: 3bd4f26bf2c3d1d74d17227446f1817e !!! File does not exist: /usr/portage/distfiles//m4_1.4-15.diff.gz Though the path is wrong in the "file doesn't exist" message, the file I have matches the md5 shown. (Checked it on another system) Though this may not be wrong, m4_1.4-15.diff is not gziped though it has a gzip extension. Gziping the file doesn't produce the correct md5 either. I gziped the file and edited the recorded md5 manually thinking it might just be a problem with one file. However, I ran into the same problem with sash. I've tried to emerge sync many times as well as switched to different mirrors after deleting the files in question. Reproducible: Always Steps to Reproduce: From what I can tell I followed the x86 install directions I also modified my /etc/make.conf file to the specifications below Actual Results: >>> md5 src_uri ;-) m4-1.4.tar.gz !!! File is corrupt or incomplete. (Digests do not match) >>> our recorded digest: dd3b693906f1a69319d8b99b914df25b >>> your file's digest: 3bd4f26bf2c3d1d74d17227446f1817e !!! File does not exist: /usr/portage/distfiles//m4_1.4-15.diff.gz Expected Results: Continue with installation !!! No gcc found. You probably need to 'source /etc/profile' to update !!! the environment of this terminal and possibly other terminals also. Portage 2.0.48 (default-x86-1.4, [unavailable], glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-xfs-r2 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode gif gpm gtk imlib kde libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis opengl pam png python qt quicktime sdl slang spell ssl svga tcpd X xmms xv zlib gdbm berkdb readline perl -gnome pdflib jpeg apache2 java xml xml2 truetype samba" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CXXFLAGS="-march=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
wget http://ftp.debian.org/debian/pool/main/m/m4/m4_1.4-15.diff.gz md5sum m4_1.4-15.diff.gz dd3b693906f1a69319d8b99b914df25b m4_1.4-15.diff.gz md5 and file is good (SRC_URI & OSU) delete the file from ${DISTDIR} then run again
Just FYI I've tracked down the problem to the fact that I'm behind an http content filter (DansGuardian). Somehow it modifies the files on the way in. wget --passive-ftp gets me a file with a valid check sum. Sorry for the hassel.