Linux Mint 21.1 can't install wine-staging

Questions about Wine on Linux
Locked
Codesound
Level 3
Level 3
Posts: 65
Joined: Sun Sep 01, 2019 7:03 am

Linux Mint 21.1 can't install wine-staging

Post by Codesound »

FRESH LINUX MINT 21.1 Vera, Cinnamom_x64
Hi all,

I use this code to install wine-staging:

Code: Select all

sudo dpkg --add-architecture i386 
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update
sudo apt install --install-recommends winehq-staging
but it does not work:

Code: Select all

codesound@codesound:~$ sudo apt install --install-recommends winehq-staging
[sudo] password for codesound:           
Reading package lists... Done
Building dependency tree... Done
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:
 winehq-staging : Depends: wine-staging (= 8.5~jammy-1)
E: Unable to correct problems, you have held broken packages.
codesound@codesound:~$ 
what am I wrong? Can someone help me? Thanks
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Linux Mint 21.1 can't install wine-staging

Post by jkfloris »

Could you post the output of the following three commands

Code: Select all

apt policy
sudo apt install --install-recommends wine-staging-amd64
sudo apt install --install-recommends wine-staging-i386
Codesound
Level 3
Level 3
Posts: 65
Joined: Sun Sep 01, 2019 7:03 am

Re: Linux Mint 21.1 can't install wine-staging

Post by Codesound »

jkfloris wrote: Tue Apr 11, 2023 3:37 pm Could you post the output of the following three commands

Code: Select all

apt policy
sudo apt install --install-recommends wine-staging-amd64
sudo apt install --install-recommends wine-staging-i386
Hi,

I apologize if I answer only now and also because I indicated clean system when it was not.

Pipeireire and csound had been installed. It seems that when compiling csound, some dependencies conflict with wine. It would be to be seen how to solve

https://packages.ubuntu.com/jammy/csound

https://github.com/csound/plugins

Now the system is clean and installed correctly.
Thank you so much for your attention


let me ask a question

when I install winetricks, using these commands

Code: Select all

sudo apt install winetricks
sudo winetricks --self-update 
the output from the terminal is

Code: Select all

codesound@codesound:~$ sudo winetricks --self-update 
------------------------------------------------------
warning: This will install Winetricks directly from its original developers.  Debian has no control over that version.
------------------------------------------------------
To continue press Y, to abort N, then Enter: y
Executing cd /tmp/winetricks.OtzPDWHc
Downloading https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks to /tmp/winetricks.OtzPDWHc
--2023-04-16 13:20:55--  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 792188 (774K) [text/plain]
Saving to: ‘winetricks’

winetricks                                   100%[==============================================================================================>] 773,62K  1,19MB/s    in 0,6s    

2023-04-16 13:20:57 (1,19 MB/s) - ‘winetricks’ saved [792188/792188]

Executing cd /home/codesound
Executing mv /tmp/winetricks.OtzPDWHc/winetricks /usr/bin/winetricks.update
Executing rmdir /tmp/winetricks.OtzPDWHc
Executing cp /usr/bin/winetricks /usr/bin/winetricks.bak
Executing chmod -x /usr/bin/winetricks.bak
Executing mv /usr/bin/winetricks.update /usr/bin/winetricks
Executing chmod +x /usr/bin/winetricks
------------------------------------------------------
warning: Update finished! The current version is 20230212-next - sha256sum: 7e010f6bdc47ad11d215f6a45d701e70f13ea618baa8f6e7c672764e6820d439. Use 'winetricks --update-rollback' to return to the previous version.
------------------------------------------------------
------------------------------------------------------
warning: Winetricks is no more controlled by Debian but by the Winetricks project now.
------------------------------------------------------
------------------------------------------------------
warning: The next update of the winetricks package may or may not revert this change.
------------------------------------------------------
codesound@codesound:~$ 
what am I wrong?

thanks again
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Linux Mint 21.1 can't install wine-staging

Post by jkfloris »

The output of winetricks --self-update looks good.
The message tells you that you are no longer using the Debian (= Linux Mint) version, but the upstream variant.
Should Debian release a new version of winetricks, it will overwrite the manually installed version. So pay attention to whether an apt update updates winetricks package.
Locked