Comment 11 for bug 1825425

Revision history for this message
AntonK (im-fixing-dist-upgrade-1904) wrote :

I got the same message from the bug description.

During the dist-upgrade, I noticed quite a few GdkPixbuf-WARNING errors logged, e.g.:

(frontend:20874): GdkPixbuf-WARNING **: 23:46:47.169: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

I found a way to fix my upgraded system, and it might help you as well. See the instructions below.

-----------------------

# first, check if the following command produces any output
sudo egrep "WARNING.*pixbuf" /var/log/dist-upgrade/apt-term.log

# if the command above produces any output, then the commands below might fix your broken 19.04 installation.

# I'm not sure if these three commands were necessary to fix the system, but they should do no damage:
sudo apt install libgdk-pixbuf2.0-dev
sudo mv /var/lib/dpkg/info/install-info.postinst /var/lib/dpkg/info/install-info.postinst.bad
sudo apt-get install --reinstall install-info

# and this will fix the packages that were not installed properly because of the install-info error:
# explanation:
# select only the lines containing 'Setting up' or 'WARNING.*pixbuf',
# then select only the lines containing 'pixbuf' together with the 'Setting up'
# line directly preceding it (with -B1), and discard other 'Setting up' lines
# then select only those 'Setting up' lines
# in other words, select all 'Setting up' lines that resulted in that WARNING message.
# then, select the package name (third word) from those lines with awk,
# and reinstall those packages.
for X in `sudo less /var/log/dist-upgrade/apt-term.log | egrep "Setting up|WARNING.*pixbuf" | grep -B1 pixbuf | grep Setting | awk '{print $3}'`; do echo REINSTALLING: $X; sudo sudo apt-get --reinstall install $X; done