How to roll back wine?

Questions about Wine on Linux
Locked
NewtSoup
Level 1
Level 1
Posts: 9
Joined: Sun Aug 13, 2017 11:40 am

How to roll back wine?

Post by NewtSoup »

Hi there,

Since installing Wine Staging 5.16 Elite Dangerous no longer works. The client simply says "Server Connection Failure" or similar. Others on the frontier forums are having the same issue but they say rolling back Wine to 5.15 works.

How do I roll back Wine 5.16 to 5.15 ( staging )

I tried
apt remove wine and then
apt install winehq-staging=5.15~bionic

But I just got told "You have held broken packages".

I want to go back to 5.15 without removing the default prefix.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: How to roll back wine?

Post by jkfloris »

Since installing Wine Staging 5.16 Elite Dangerous no longer works. The client simply says "Server Connection Failure" or similar. Others on the frontier forums are having the same issue but they say rolling back Wine to 5.15 works.
Is there already a bug report for this regression?
apt install winehq-staging=5.15~bionic
Almost. The following command should do the trick:

Code: Select all

sudo apt install winehq-staging=5.15~bionic wine-staging=5.15~bionic wine-staging-amd64=5.15~bionic wine-staging-i386:i386=5.15~bionic 
NewtSoup
Level 1
Level 1
Posts: 9
Joined: Sun Aug 13, 2017 11:40 am

Re: How to roll back wine?

Post by NewtSoup »

jkfloris wrote: Sat Sep 05, 2020 9:57 am Is there already a bug report for this regression?
I have no idea. I will work out how to search for one in a bit.
Almost. The following command should do the trick:

Code: Select all

sudo apt install winehq-staging=5.15~bionic wine-staging=5.15~bionic wine-staging-amd64=5.15~bionic wine-staging-i386:i386=5.15~bionic 
Thankyou!
NewtSoup
Level 1
Level 1
Posts: 9
Joined: Sun Aug 13, 2017 11:40 am

Re: How to roll back wine?

Post by NewtSoup »

That worked! Thank you Muchly. Wine 5.15 reintalled. Wine 5.16 update ignored. Elite Dangerous working normally again.
NewtSoup
Level 1
Level 1
Posts: 9
Joined: Sun Aug 13, 2017 11:40 am

Re: How to roll back wine?

Post by NewtSoup »

Hi sorry to bring this back up.

I made the mistake of upgrading to wine 5.22 but now neither Elite nor Battle.net work.

I tried

sudo apt remove wine

But was simply told that I can't remove virtual packages

so I tried the above command to install 5.15 over the top but now I have a broken wine install and I get the message

wine client error:0: version mismatch 653/637.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?

If I try to run winecfg ( also NOTHIGN works now )
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: How to roll back wine?

Post by spoon0042 »

That error happens when a different wine version is still running. 'wineserver -k' should fix it, or '/opt/wine-staging/bin/wineserver -k' if that's what you're using.
NewtSoup
Level 1
Level 1
Posts: 9
Joined: Sun Aug 13, 2017 11:40 am

Re: How to roll back wine?

Post by NewtSoup »

Thanks, I will try that again with your suggestion.
Locked