I have a Stable x86 box and a AMD64 box, both have this problem.
For my concen, I choice this to protect my box :
Code: Select all
# cat /etc/portage/package.mask
>=sys-fs/e2fsprogs-1.41
>=sys-libs/e2fsprogs-libs-1.41.2
>=app-crypt/mit-krb5-1.6.3-r4

Code: Select all
# cat /etc/portage/package.mask
>=sys-fs/e2fsprogs-1.41
>=sys-libs/e2fsprogs-libs-1.41.2
>=app-crypt/mit-krb5-1.6.3-r4
I like this approach and did the same until this is all sorted out. Thanks for the tip.d2_racing wrote:I tought that the Expat Hell was something....now this one.
I have a Stable x86 box and a AMD64 box, both have this problem.
For my concen, I choice this to protect my box :
Code: Select all
# cat /etc/portage/package.mask >=sys-fs/e2fsprogs-1.41 >=sys-libs/e2fsprogs-libs-1.41.2 >=app-crypt/mit-krb5-1.6.3-r4
Code: Select all
echo "=app-crypt/mit-krb5-1.6.3-r4" >> /etc/portage/package.keywords
emerge -DNuf system
emerge -C ss com_err e2fsprogs e2fsprogs-libs
emerge -DNupv system
[ebuild N ] sys-libs/e2fsprogs-libs-1.41.2
[ebuild U ] app-crypt/mit-krb5-1.6.3-r4 [1.6.3-r1]
[ebuild N ] sys-fs/e2fsprogs-1.41.2
Code: Select all
Calculating world dependencies... done!
[ebuild U ] sys-apps/findutils-4.4.0 [4.3.13]
[ebuild U ] gnome-base/libbonobo-2.24.0 [2.22.0]
[ebuild U ] media-libs/libtheora-1.0_beta3-r1 [1.0_beta2-r1]
[ebuild U ] sys-fs/e2fsprogs-1.41.2 [1.40.9]
[ebuild N ] sys-libs/e2fsprogs-libs-1.41.2 USE="nls"
[ebuild U ] app-crypt/mit-krb5-1.6.3-r4 [1.6.3-r1]
[blocks B ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.2)
[blocks B ] <sys-fs/e2fsprogs-1.41 (is blocking
sys-libs/e2fsprogs-libs-1.41.2)
[blocks B ] sys-libs/e2fsprogs-libs (is blocking sys-libs/ss-1.40.9,
sys-libs/com_err-1.40.9)
Code: Select all
# ldd /usr/bin/wget
linux-vdso.so.1 => (0x00007fff766f0000)
libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007f9f6e23e000)
libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007f9f6dec1000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f9f6dcbd000)
librt.so.1 => /lib/librt.so.1 (0x00007f9f6dab4000)
libc.so.6 => /lib/libc.so.6 (0x00007f9f6d775000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f9f6d54a000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f9f6d2b3000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f9f6d0af000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f9f6ce89000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f9f6cc75000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9f6e492000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f9f6ca5a000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007f9f6c852000)
Code: Select all
# emerge =sys-libs/com_err-1.40.9
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) sys-libs/com_err-1.40.9 to /
>>> Downloading
'ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/e2fsprogs-1.40.9.tar.gz'
wget: error while loading shared libraries: libcom_err.so.2: cannot open
shared object file: No such file or directory
>>> Downloading
'http://gentoo.mneisen.org/distfiles/e2fsprogs-1.40.9.tar.gz'
wget: error while loading shared libraries: libcom_err.so.2: cannot open
shared object file: No such file or directoryCode: Select all
# emerge -f =e2fsprogs-1.41.2
Code: Select all
# emerge -f =e2fsprogs-1.41.2

Why fetching the whole system ?anton_kg wrote:Code: Select all
echo "=app-crypt/mit-krb5-1.6.3-r4" >> /etc/portage/package.keywords emerge -DNuf system emerge -C ss com_err e2fsprogs e2fsprogs-libs emerge -DNupv system [ebuild N ] sys-libs/e2fsprogs-libs-1.41.2 [ebuild U ] app-crypt/mit-krb5-1.6.3-r4 [1.6.3-r1] [ebuild N ] sys-fs/e2fsprogs-1.41.2

Just because it's a smaller command than fetching only the precise packagesd2_racing wrote:Why fetching the whole system ?

Yes, since it's part of the toolchain(system), I understand nowjeanfrancis wrote:Just because it's a smaller command than fetching only the precise packagesd2_racing wrote:Why fetching the whole system ?. The whole system packages aren't fetched, only those who are to be updated. It avoids to fail if some packages are to be updated between the removal of com_err and the installation of e2fsprogs-libs (if such a situation exists).

It didn't work for me, after emerge -1 e2fsprogs I got the following error:Gentree wrote:Hi ,
I just had to go through this a second time. Portage tree now handles this a bit better than a few weeks back.
just to be covered:Code: Select all
emerge --syncthenCode: Select all
quickpkg ss com_err e2fsprogs e2fsprogs-libsCode: Select all
emerge -f ss com_err e2fsprogs e2fsprogs-libs emerge -C ss com_err e2fsprogs emerge -1 e2fsprogs
Code: Select all
make[1]: Entering directory `/var/tmp/portage/sys-fs/e2fsprogs-1.41.2/work/e2fsprogs-1.41.2/lib/ext2fs'
SUBST ext2_err.et
COMPILE_ET ext2_err.et
make[1]: compile_et: Command not found
make[1]: *** [ext2_err.h] Error 127
make[1]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.41.2/work/e2fsprogs-1.41.2/lib/ext2fs'
make: *** [subs] Error 2
*
* ERROR: sys-fs/e2fsprogs-1.41.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2394: Called die
* The specific snippet of code:
* emake COMPILE_ET=compile_et MK_CMDS=mk_cmds || die;
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/sys-fs:e2fsprogs-1.41.2:20081029-154637.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/e2fsprogs-1.41.2/temp/environment'.
*
/usr/sbin/sendmail: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: No such file or directoryCode: Select all
emerge -C ss com_err
emerge -C e2fsprogs
revdep-rebuild
Code: Select all
emerge -uDNav world

uups, small mistaked2_racing wrote:it's actually :
Code: Select all
# emerge -f =e2fsprogs-1.41.2

barikman wrote:Ah yes, indeed. Sound suggestion. Shame I forgot to follow it!jeanfrancis wrote:wget getting broken is the reason why a lot of folks here suggest fetching the packages before unmerging com_err.
I run emerge --sync plus emerge world -uDf as a daily cron job and clean out old packages from distfiles less frequently for occasions such as these. I learned that one the hard way.jeanfrancis wrote:Hehe. I got this problem months ago (~arch) and my browser didn't want to download anything, so I had to use a LiveCD to download the files, then chroot and update... Fetching is more secure
hehe