Il giorno dom, 31/08/2008 alle 11.08 -0700, Steve Langasek ha scritto: > On Sun, Aug 31, 2008 at 04:09:19PM +0200, Giuseppe Sacco wrote: [...] > > I found the very same bug today on updating a machine from etch to > > lenny. The upgrade procedure didn't worked correctly, so aptitude > > stopped and I had to use "apt-get -f install" and "dpkg --configure > > --pending" a few times. > > Ok, can *you* show us the log output from the initial upgrade, which is the > information I'm missing to try to understand what happened here?
Unfortunately I didn't keep any information about the initial problem. > > Currently I am stuck at this point: old slapd has been removed, ldif was > > not created, I cannot reinstall the old slapd since I cannot downgrade > > libldap to libldap-2.3-0. The new version won't find any ldif and will > > not correctly get configured. > > > I cannot downgrade libldap since removing the new version will remove a > > lot of packages I need: > > > sgi:~# LC_ALL=C apt-get remove libldap-2.4-2 > > Why did you not simply run "apt-get install libldap-2.3-0"? These are > different library SONAMEs, the packages don't conflict. libldap-2.3-0 depends on libldap2 that conflict with libldap-2.4-2. > > I think the bug I found is in preinst: if the dump does not work (in my > > case it doesn't work because a library is missing) then it should fails, > > while it keep going, trying to upgrade, and failing because of missing > > LDIF file. > > Please show us the log output. The preinst script runs with set -e, and > there is code to return a failure if any of the database dumps fail. You are right, I just read the code and I have nothing to suggest about it :-( Bye, Giuseppe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]