wine dependencies?

Questions about Wine on Linux
Locked
crow671
Newbie
Newbie
Posts: 2
Joined: Thu Apr 08, 2021 10:04 pm

wine dependencies?

Post by crow671 »

hello,
I'm fairly new to Linux and I'm currently running mint 20.1 on an old laptop I decided to clean up as a side project.
I tried installing wine as per the instructions in the download page, but no matter what I've tried, I cant get it to install. it keeps bringing up 'dependencies'. i tried searching all over for answers, but i cant find anything helpful.


sudo apt install wine-staging
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-staging : Depends: wine-staging-i386 (= 6.5~groovy-1)
Depends: wine-staging-amd64 (= 6.5~groovy-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: wine dependencies?

Post by Bob Wya »

@crow671

It can be helpful to use aptitude, as this tends to be more verbose about issues.

Code: Select all

sudo apt install aptitude
Try:

Code: Select all

sudo aptitude install --verbose --with-recommends wine-staging
If you want to install the /usr/bin/ Wine compatibility links then use:

Code: Select all

sudo aptitude install --verbose --with-recommends winehq-staging
This issue is typically caused by an installed 3rd party repository that causes a mismatch between the i386 amd64 Wine packages (which are required to have matching versions, by Debian packaging rules).

Bob
crow671
Newbie
Newbie
Posts: 2
Joined: Thu Apr 08, 2021 10:04 pm

Re: wine dependencies?

Post by crow671 »

i installed aptitude with the commands you gave, but the end result didnt change when i tried to re-run the wine installation
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: wine dependencies?

Post by Bob Wya »

crow671 wrote: Fri Apr 09, 2021 3:05 pm I installed aptitude with the commands you gave, but the end result didn't change when i tried to re-run the wine installation
Can you please post the full terminal output from the aptitude command.

Please, when you are posting terminal commands and output to, use the forum Code tags ( </> button - above the full forum edit box ) to delimit these:

Code: Select all

sudo aptitude install --verbose --with-recommends wine-staging
...
Using Code tags applies universally, to any technical forum.

It would also be helpful to get the output from:

Code: Select all

grep -R '^deb' /etc/apt/sources.list{,.d/*.list}
Ta
Bob
Locked