[Pkg-openldap-devel] Bug#495954: Bug#495954: slapd: Upgrade to Lenny failed: libldap_r-2.3.so.0 missing
Ferenc Wagner
wferi at niif.hu
Thu Aug 21 21:24:01 UTC 2008
Steve Langasek <vorlon at debian.org> writes:
> On Thu, Aug 21, 2008 at 05:18:50PM +0200, Ferenc Wagner wrote:
>
>> I upgraded a machine from Etch to Lenny, and hit a problem with slapd:
>>
>> Preparing to replace slapd 2.3.30-5+etch1 (using .../slapd_2.4.10-3_i386.deb) ...
>> Dumping to /var/backups/slapd-2.3.30-5+etch1:
>> - directory dc=aai,dc=niif,dc=hu... slapcat: error while loading shared libraries: libldap_r-2.3.so.0: cannot open shared object file: No such file or directory
>> failed.
>> dpkg: error processing /var/cache/apt/archives/slapd_2.4.10-3_i386.deb (--unpack):
>> subprocess pre-installation script returned error exit status 1
>>
>> Indeed, libldap-2.3-0 has already been removed before this point. I'm
>> rather confused about this, and don't understand how it's possible.
>> Unfortunately, all I can offer is the dpkg.log, if you are interested.
>>
>> In the end I had to downgrade, remove slapd, upgrade, then watch the new
>> slapd fail to install as it can't read the ldif. But that's only a
>> consequence, I guess.
>
> What did you use in order to effect the upgrade (e.g., apt, aptitude,...?)
> I'm afraid this is a bug in the package manager you used, which has removed
> libldap-2.3-0 before removing a package that depends on it.
I used aptitude interactively. This would be a very serious bug in
it... If you can't see any other way, feel free to reassign this but
to aptitude. Which already has far too many, unfortunately. I'd
rather not undo the upgrade, but I've got backups, so I can try
reproducing the situation. Is there a way to peek at aptitude's plan
before it tries to execute it?
--
Thanks,
Feri.
More information about the Pkg-openldap-devel
mailing list