Manchmal nervt mich sowas echt. Im stable Portagetree sind grade
e2fsprogs-1.41.2 und
e2fsprogs-libs-1.41.2 als
stable markiert worden, blockieren aber einige installierte Programme:
pegro ~ # emerge e2fsprogs -1av
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-fs/e2fsprogs-1.41.2 [1.40.9] USE="nls (-static%)" 4,263 kB
[ebuild N ] sys-libs/e2fsprogs-libs-1.41.2 USE="nls" 479 kB
[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)
Total: 2 packages (1 upgrade, 1 new, 4 blocks), Size of downloads: 4,741 kB
!!! Error: The above package list contains packages which cannot be installed
!!! at the same time on the same system.
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Dazu muss man wissen, das
com_err und ss nun in e2fsprogs-libs enthalten sind, daher das Blockieren. Leider kann die aktuelle Portageversion mit solchen Fällen noch nicht umgehen (in kommenden Versionen soll das behoben sein). Theoretisch reicht in solchen Fällen, die betroffenen Pakete von Hand zu deinstallieren. Also versucht man dann ein
emerge -C com_err ss
was jedoch nur ein Teil des Problems löst:
pegro ~ # emerge e2fsprogs -1av
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-fs/e2fsprogs-1.41.2 [1.40.9] USE="nls (-static%)" 4,263 kB
[ebuild N ] sys-libs/e2fsprogs-libs-1.41.2 USE="nls" 479 kB
[blocks B ] <sys-fs/e2fsprogs-1.41 (is blocking sys-libs/e2fsprogs-libs-1.41.2)
Total: 2 packages (1 upgrade, 1 new, 1 block), Size of downloads: 4,741 kB
!!! Error: The above package list contains packages which cannot be installed
!!! at the same time on the same system.
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
[Update]
Bevor man
ss und
com_err deinstalliert, sollte man ein
emerge -f e2fsprogs
machen, damit die Sourcen geladen werden, denn auf manchen Systemen funktioniert
wget nach dem unmerge nicht mehr und so lässt sich auch e2fsprogs nicht mehr so einfach installieren.
[/Update]
Als hässlicher Workaround funktioniert
emerge -C e2fsprogs && emerge e2fsprogs
was ich aber für normale Gentoo-User
echt unzumutbar halte. Ich hoffe, man findet eine bessere Lösung.
Unter [1] wird darüber diskutiert. Dort gibt es noch ein paar Hinweise, was man tun muss, falls man noch Ebuilds hat, die direkt von com_err oder ss abhängen.
[Update2]
Portage in der Version ab 2.1.6.4 ist in der Lage, das Problem zu erkennen und selbstständig zu beheben. Die 2.1.6.4 ist seit dem 29.12.2008 als stable markiert.
[/Update2]
[1]
http://bugs.gentoo.org/show_bug.cgi?id=234907#c7