On Wed, 19 Mar 2008, Justin Pryzby wrote: > Package: aptitude,dpkg,libc6 > > I think that this should never happen. Did something break due to the > ldconfig updates? > > While doing an aptitude install aptitude/unstable, I ran a separate > command: > > $ aptitude search session manag > aptitude: error while loading shared libraries: libapt-pkg-libc6.7-6.so.4.6: > cannot open shared object file: No such file or directory
Can you provide the aptitude/dpkg log for the "aptitude install aptitude/unstable" run that you made in parallel ? Also note that apt-get provides the library and as such only one copy of the library is installed at any given point of time. If apt-get is upgraded (to a new ABI) but aptitude is not yet, aptitude is broken and you can't expect it to work until the new version is at least unpacked. And even after aptitude has been unpacked, the call to ldconfig happens only in the "postinst" of apt and thus at the configuration stage. In between, I bet it's possible that aptitude doesn't find the library. If we want to avoid that, aptitude has to predepend on libapt-pkg-libc6.7-6-4.6 so that apt gets configured before aptitude gets unpacked. I don't know if it's worth it though. Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/