How to downgrade a package ?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.

How to downgrade a package ?

Post by marX »

I need to test a gfx driver for xorg 7.1 which crashed the xorg 7.5 I had. So I need xorg 7.1 to test it and if it works, lock the xorg !

What I don't know is...

1. How to downgrade a package
2. Dealing with dependecies manually
3. Backing up a package

So, please help !
Thanks in advance !!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Level 5
Level 5
Posts: 737
Joined: Fri Nov 19, 2010 4:55 pm
Location: Newport, S Wales

Re: How to downgrade a package ?

Post by Roken »

For many things, you can check if a "downgrade" is available by highlighting in synaptic, going to the "Package" menu and choosing "Force Version". For others you will either have to compile yourself, or find a .deb package of the version that you want. If you find a deb, then dpkg -i packagename.deb in a terminal will install and should take care of dependancies.

However, xorg can be more of a problem (as I recently found out to my cost), and to be honest you probably don't want to downgrade xorg since it's easy to render your system unusable by doing so. A better option in your case may be to post details of the problem with the gfx driver and see if someone can help fix it.
Kernel Linux Tex 5.12.14-zen1-1-zen, XFCE
Dual GTX1070 8Gb
AMD Ryzen 1800X
32Gb RAM

Return to “Beginner Questions”