Field Notes from the Workshop · № 622 Linux

Sub-process /usr/bin/dpkg returned an error code(1)

Joshua Doodnauth Software Engineer · Toronto
September 7, 2011 1 min read 170 words
Gnome 3 Screenshot

While messing around with Ubuntu 11.04, I decided to give Gnome 3 a try.  It failed, and a bunch of stuff stopped working.  So I uninstalled it.  After that mess I couldn’t install any new packages.  Why? Simply because the gnome-icon-theme pack was not installed correctly.

Here’s a brief of the error message:

Setting up libgtk2-ruby1.8 (0.19.3-2ubuntu1) …
Setting up libgtk2-ruby (0.19.3-2ubuntu1) …
Setting up rbbr (0.6.0-3ubuntu1) …
Errors were encountered while processing:
gnome-icon-theme
empathy
evince
evolution
evolution-exchange
gnome-control-center
Setting up gnome-icon-theme (2.31.0-0ubuntu2) …
update-alternatives: error: alternative path /usr/share/icons/gnome/scalable/places/ubuntu-logo.svg doesn’t exist.
dpkg: error processing gnome-icon-theme (–configure):

Missing Images

Looks like some images were not reinstalled during the rollback.  Here’s a link to the resource:

http://www.parsix.org/browser/pkg/vinnie/main/gnome-icon-theme/trunk/debian?rev=6662

Copy the all the .svg files into the /usr/share/icons/gnome/scalable/places/ path, run:

sudo apt-get clean all
sudo apt-get update

Then to verify everything is working correctly:

sudo apt-get install -f

Hope it helps!