Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


I have the wrong version of libglib2 installed. I had some experimental repo that broke everything. From this source, I have learned that other people have addressed this bug by downgrading the libglib2 package. However, I don't know how to do this.

When I go to synaptic, and search for libglib2, I am met with many packages, rather than just one to downgrade, including:

  • libglib2.0-doc
  • libglib2.0-dev
  • libglib2.0-cil
  • libglib2.0-0
  • libglib2.0-bin
  • libglib2.0-data

Which of these gets downgraded for 2.30? All of them? Is one the master?

Secondly, assuming I do choose libglib2.0-0, I face another problem: when I force version, synaptic warns me that the chosen action will affect other packages, and that 14 packages will be removed. These include...

To be removed:

  • gir1.2-totem-1.0
  • libatk1.0-dev
  • libcairo2-dev
  • libgdk-pixbuf2.0-dev
  • libglib2.0-bin
  • libglib2.0-dev
  • libgtk-3-dev
  • libpango1.0-dev
  • libtotem0
  • totem
  • totem-mozilla
  • totem-pugins
  • ubuntu-desktop
  • unity

I don't know what most of these are, but I'm fairly sure that ubuntu-desktop and unity are very important, and I don't want them removed. How do I deal with this? Is it safe to proceed in the downgrade even though ubuntu-desktop will be removed? Will it safely and intelligently reinstall and update itself?

share|improve this question
Can anyone at least help me assess the risks involved in rolling this back? – Mittenchops Mar 8 '12 at 21:48
up vote 1 down vote accepted

In Synaptic, I elected to downgrade:

  • libglib2.0-doc
  • libglib2.0-dev
  • libglib2.0-cil
  • libglib2.0-0
  • libglib2.0-bin
  • libglib2.0-data

It told me it would automatically uninstall unity, totem, and ubuntu-desktop. I clicked, "OK."

Then back at the package management screen, I selected ubuntu-desktop and unity for reinstallation.

Then I applied the changes.

The moral of the story is that yes, these are important things that produce warning messages that it is scary to downgrade and reinstall, but it didn't seem to break.

share|improve this answer

I guess you've installed glib from ppa:gnome3-team/gnome3 repository.

To remove that repository and downgrade all the packages installed from there, run the following commands:

# add it back so that ppa-purge can recognize it
sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update

# ppa-purge will do the trick
sudo apt-get install ppa-purge
sudo ppa-purge ppa:gnome3-team/gnome3

Alternatively, you can also use some graphical utilities like Y PPA Manager to do this.

share|improve this answer
I did ppa-purge when this first came up. It fixed most of my problems except it didn't change libglib2 because of the dependencies described above. – Mittenchops Mar 9 '12 at 20:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.