Bug#685243: breaks squeeze-wheezy upgrade into very bad state

intrigeri intrigeri at boum.org
Sun Sep 23 14:22:32 UTC 2012


Hi,

Benjamin Drung wrote (18 Aug 2012 21:17:44 GMT) :
>> [...]
>> and it failed here:
>> 
>> Processing triggers for vlc-nox ...
>> /usr/lib/vlc/vlc-cache-gen: error while loading shared libraries:
>> libvlccore.so.5: cannot open shared object file: No such file or directory
>> dpkg: error processing vlc-nox (--unpack):
>>  subprocess installed post-installation script returned error exit
>> status 127
>> configured to not write apport reports
>>                                       Errors were encountered while
>> processing:
>>  vlc-nox
>> E: Sub-process /usr/bin/dpkg returned an error code (1)

I just reproduced this.

I confirm the upgrade process is left is a deeply broken state, which
"apt-get -f install" and "dpkg --configure -a" are unable to resolve.
I had to manually "dpkg -i" a few dozen packages in the right order
before apt-get could get back to a working state.

> vlc-cache-gen was run in postinst prior to 2.0.0-1. I dunno, why it
> is still called.

I had a look, immediately after seeing apt-get/dpkg aborted by this
error, to the installed vlc-nox's postinst: this file was still
present, and it did contain a call to vlc-cache-gen.

It looks to me as if the file trigger set by vlc-nox on
/usr/lib/vlc/plugins made the old vlc-nox.postinst run *before*
vlc-nox is upgraded (and before that old postinst is removed).

Regards,
--
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc



More information about the pkg-multimedia-maintainers mailing list