New Linux Mint updates try to delete Wine

Questions about Wine on Linux
Locked
RobertX
Level 2
Level 2
Posts: 40
Joined: Thu Sep 09, 2021 9:57 pm

New Linux Mint updates try to delete Wine

Post by RobertX »

I am using Linux Mint 20.3 with Wine 7.0. stable.

The last time I ran a cumulative update for Linux Mint, one of them tries to delete the wine-stable and winehq-stable updates.

I am now scared to run any updates.

What should I do?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: New Linux Mint updates try to delete Wine

Post by jkfloris »

Try to figure out which package triggers the removal of winehq-stable.

Code: Select all

# Download the latest package information
sudo apt update

# Upgrade all packages, but don't remove existing packages
sudo apt upgrade

# Probably you get a message like:
The following packages have been kept back:
 package-1 package-2 package-3
# Try installing those one by one until you find the package that wants to remove winehq-stable.
Or post the output of sudo apt upgrade
RobertX
Level 2
Level 2
Posts: 40
Joined: Thu Sep 09, 2021 9:57 pm

Re: New Linux Mint updates try to delete Wine

Post by RobertX »

I was able to find the offending file:

Code: Select all

libdeflate
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: New Linux Mint updates try to delete Wine

Post by jkfloris »

A link between the wine-stable and the libdeflate0 packages is via libjpeg62-turbo the libtiff5 package.

Other than wine-stable, do any of these packages come from a repository other than Ubuntu or Mint?
RobertX
Level 2
Level 2
Posts: 40
Joined: Thu Sep 09, 2021 9:57 pm

Re: New Linux Mint updates try to delete Wine

Post by RobertX »

Yes, and this is embarrassing.

Now I know that it's not WineHQ's problem, but mines.

I'm sorry I trouble you, I will go away and not be a bother.

I also contacted the tech helpers from the official Linux Mint forum and the guy lost his mind and went medieval on me.

I found this out after doing a [c]apt-cache policy libdeflate0[/c] and found out that it was from another repository.

Can you forgive me?
RobertX
Level 2
Level 2
Posts: 40
Joined: Thu Sep 09, 2021 9:57 pm

Re: New Linux Mint updates try to delete Wine

Post by RobertX »

Yes, and this is embarrassing.

Now I know that it's not WineHQ's problem, but mines.

I'm sorry I trouble you, I will go away and not be a bother.

I also contacted the tech helpers from the official Linux Mint forum and the guy lost his mind and went medieval on me.

I found this out after doing a

Code: Select all

apt-cache policy libdeflate0
and found out that it was from another repository.

Can you forgive me?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: New Linux Mint updates try to delete Wine

Post by jkfloris »

No need to apologize. I'm glad you found the cause and the solution!
Locked