I've got a system with libgtk-3-0 version 3.22.30-1ubuntu1 installed. To fix a known bug I want to downgrade to version 3.22.21. However, running aptitude to find the available versions yells the following:

$ aptitude versions libgtk-3-0
package libgtk-3-0:
p  3.22.30-1ubuntu1                     bionic
i  3.22.30-1ubuntu2                     bionic-updates

so of course trying to install the version that I want didn't work

$ sudo apt install libgtk-3-0=3.22.21-1ubuntu1
E: Version "3.22.21-1ubuntu1" for "libgtk-3-0" not found
  • You could try adding an older repository. Then using Synaptic it is possible to force and lock an older version of Gtk. Warning! use at your own risk.
    – theGtknerd
    Apr 12 '19 at 1:54
  • @theGtknerd what are the risks? Couldn't adding an older repository cause some trouble on other packages?
    – Mauro F.
    Apr 12 '19 at 19:14
  • Yep, you're right. Commonly called dependency hell. I have used older repositories in some cases, and gotten them to work, but your milage may vary.
    – theGtknerd
    Apr 13 '19 at 1:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.