Roll back Wine a version

Questions about Wine on Linux
Post Reply
User avatar
mainliner
Level 2
Level 2
Posts: 19
Joined: Thu Feb 09, 2017 11:42 am
Contact:

Roll back Wine a version

Post by mainliner » Mon May 14, 2018 6:47 pm

Could some star link me to instructions for rolling back Wine version.

I carelessly upgraded to 3.8 staging and the fps in everything is for sh~t. Rolling back to 3.7 is proving tedious.

If someone has knowledge of the Debian way to resolve this I would be most appreciative. :mrgreen:

User avatar
Bob Wya
Level 12
Level 12
Posts: 2980
Joined: Sat Oct 16, 2010 7:40 pm
Location: Scotland
Contact:

Re: Roll back Wine a version

Post by Bob Wya » Tue May 15, 2018 2:48 am

For Ubuntu 17.10 Artful ...

Get available package versions:

Code: Select all

aptitude versions winehq-staging

Package winehq-staging:
p  2.19.0~artful artful 500
p  2.20.0~artful artful 500
p  2.21.0~artful artful 500
p  3.6.0~artful artful 500
p  3.7.0~artful artful 500
p  3.8.0~artful artful 500

Package winehq-staging:i386:
p  2.19.0~artful artful 500
p  2.20.0~artful artful 500
p  2.21.0~artful artful 500
p  3.6.0~artful artful 500
p  3.7.0~artful artful 500
p  3.8.0~artful artful 500
Downgrade Wine Staging to a specified version and hold that package version:

Code: Select all

aptitude install winehq-staging=3.7.0~artful
sudo apt-mark hold winehq-staging
You can probably do something similar on Debian...
Google is your friend, etc...

Bob

User avatar
mainliner
Level 2
Level 2
Posts: 19
Joined: Thu Feb 09, 2017 11:42 am
Contact:

Re: Roll back Wine a version

Post by mainliner » Tue May 15, 2018 7:20 am

Thanks for the top tip using Google...this is what I found last night before posting. :x

Code: Select all

sudo apt-cache showpkg winehq-staging:amd64
That's a long list...

Code: Select all

sudo apt-get install winehq-staging=3.7.0~buster
The following packages have unmet dependencies:
winehq-staging : Depends: wine-staging (= 3.7.0~buster)
E: Unable to correct problems, you have held broken packages.
Not being completely retarded and without the help of Google I tried:

Code: Select all

sudo apt-get install wine-staging=3.7.0~buster
However, I found myself descending into dependency hell, with wine-staging=3.7.0~buster not being installed as wine-staging=3.8.0~buster was installed. You never know, there could be a recommended set up steps to removed absolutely all all wine components and dependencies that I might be missing. Today I descended deeper into the Inferno, only one more ring I'm happy to report, and I post this here so that anyone else in my stuation has some useful information:

Code: Select all

sudo apt-get remove wine*
sudo apt-get autoremove
Perhaps sleeping on it helped, but you could simply try rebooting. Though I'm unsure why this was necessary, clearing the apt-cache? Then I was able to install:

Code: Select all

 sudo apt-get install wine-staging-amd64=3.7.0~buster
 sudo apt-get install winehq-staging-i386=3.7.0~buster
and climb out:

Code: Select all

sudo apt-get install wine-staging=3.7.0~buster
sudo apt-get install winehq-staging=3.7.0~buster
Good luck. :mrgreen:

dandv
Newbie
Newbie
Posts: 1
Joined: Sun Jan 17, 2021 6:02 am

Roll back to v5.22

Post by dandv » Sun Jan 17, 2021 6:13 am

I'm running Mint and I want to roll back to the latest v5 stable due to this bug. What are the exact commands to do so?

https://www.winehq.org/news/2020112001 suggests the last version is 5.22, but `aptitude versions winehq-stable` shows `p 5.0.3~focal~`, not 5.22.

If I try to install that, I get:

Code: Select all

$ sudo apt install --install-recommends wine-stable=5.0.3~focal
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-stable : Depends: wine-stable-i386 (= 5.0.3~focal)
               Depends: wine-stable-amd64 (= 5.0.3~focal) but 6.0.0~focal-1 is to be installed
E: Unable to correct problems, you have held broken packages.

jkfloris
Level 9
Level 9
Posts: 1361
Joined: Thu Aug 14, 2014 10:10 am

Re: Roll back Wine a version

Post by jkfloris » Sun Jan 17, 2021 9:20 am

A full Wine installation from the WineHQ repository consists of four packages:
* winehq-stable
* wine-stable
* wine-stable-amd64
* wine-stable-i386
All four packages must have the same version number.
Your apt command will be:

Code: Select all

sudo apt install --install-recommends winehq-stable=5.0.3~focal wine-stable=5.0.3~focal wine-stable-amd64=5.0.3~focal wine-stable-i386:i386=5.0.3~focal

Post Reply