Installing wine

zero-wine

New Member
Joined
Dec 27, 2021
Messages
10
Reaction score
2
Credits
106
I was trying to install wine but towards the end this shows up.

The following packages have unmet dependencies.
winehq-stable : Depends: wine-stable (= 6.0.2~impish-1)
E: Unable to correct problems, you have held broken packages.
 


G'day zero-wine, Welcome to Linux.org

Personally I think zero dependence on wine is really good !

However....

Which distro do you have installed..? Ubuntu, Linux mint ??....etc etc
 
Hello Zero-Wine, Welcome to the group. Wine is one of those programs that is kind of hit and miss. The Link Condobloke gave should help. Also you can install playonlinux which is a front end for wine that allows you to install many versions of wine at the same time you may want to go that route. You can install it via this command in a terminal
Code:
sudo apt install playonlinux
Good Luck. Info found here.
 
Hello Zero-Wine, Welcome to the group. Wine is one of those programs that is kind of hit and miss. The Link Condobloke gave should help. Also you can install playonlinux which is a front end for wine that allows you to install many versions of wine at the same time you may want to go that route. You can install it via this command in a terminal
Code:
sudo apt install playonlinux
Good Luck. Info found here.
I have installed playonlinux but i am trying to install itunes but when i try installing wine this comes up.


The following packages have unmet dependencies.
winehq-stable : Depends: wine-stable (= 6.0.2~impish-1)
E: Unable to correct problems, you have held broken packages.
 
With play on linux you can go to tool>manage linux version> and install any version of linux from very old to very new. 6.18 works for me.. now that does not me Itunes will play with wine. But you can check here to see if it's listed and with which version of wine it works best. I'm not sure that itunes is going to run under wine as it's a Mac/apple program. Does it normally run in windows? If it does and you can't get it going in wine you have have to either dual boot window with linux or run Windows In a virtual machine with a program called Virtualbox which is in most linux repositories.
 
With play on linux you can go to tool>manage linux version> and install any version of linux from very old to very new. 6.18 works for me.. now that does not me Itunes will play with wine. But you can check here to see if it's listed and with which version of wine it works best. I'm not sure that itunes is going to run under wine as it's a Mac/apple program. Does it normally run in windows? If it does and you can't get it going in wine you have have to either dual boot window with linux or run Windows In a virtual machine with a program called Virtualbox which is in most linux repositories.
I am still tryng for wine but there is this error >

Err:9 https://dl.winehq.org/wine-bulds/ubuntu focal Release
404 Not Found [IP: 199.232.54.217 443]

do you know how to fix this?
 
You need to disable that repository in your apt source list. Which Linux distro are you using?

With playon linux you do not install wine through the distro's repository. You go to tools in play on linux and then manage wine version. and add the version you want from there it will install it in a virtual file so you can actually install several versions of wine if you need to. I would recommend that you install version 6.18. As it works well with many apps.
Then you install your program by clicking on install in Playonlinux and select install program not listed then follow the instructions on the screen.
 
Last edited:
If you're trying to use Apple apps in Linux, you should be trying "Darling" not Wine.
 
Looks like if you followed that guide as posted your are trying to install the Focal version - would be step 3 in that guide
Step 3
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
NOTE: You have to replace focal in the code with:
hirsute for Ubuntu 21.04.
groovy for Ubuntu 20.10.
hence the error - winehq-stable : Depends: wine-stable (= 6.0.2~impish-1) You are using 21.10 Impish

Try this -
Code:
sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"
The above tells Wine to look at your lsb_release file and will select the version for you
Code:
sudo apt update
Code:
sudo apt install --install-recommends winehq-stable
After it has finished installing we need to configure WINE - run -
Code:
winecfg
Make sure and check the repositories in Software & Updates usually located under the "Other Software" tab and remove any that do not work - hope this helps
 
Last edited by a moderator:
Looks like if you followed that guide as posted your are trying to install the Focal version - would be step 3 in that guide
Step 3
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
NOTE: You have to replace focal in the code with:
hirsute for Ubuntu 21.04.
groovy for Ubuntu 20.10.
hence the error - winehq-stable : Depends: wine-stable (= 6.0.2~impish-1) You are using 21.10 Impish

Try this -
Code:
sudo apt-add-repository "deb https://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main"
The above tells Wine to look at your lsb_release file and will select the version for you
Code:
sudo apt update
Code:
sudo apt install --install-recommends winehq-stable
After it has finished installing we need to configure WINE - run -
Code:
winecfg
Make sure and check the repositories in Software & Updates usually located under the "Other Software" tab and remove any that do not work - hope this helps
So I typed in the first command and this is what comes up :

Hit:1 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu focal InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 https://dl.winehq.org/wine-builds/ubuntu impish InRelease
Hit:7 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Ign:8 https://dl.winehq.org/wine-bulds/ubuntu focal InRelease
Err:9 https://dl.winehq.org/wine-bulds/ubuntu focal Release
404 Not Found [IP: 199.232.54.217 443]
Hit:10 https://dl.google.com/linux/chrome/deb stable InRelease
Reading package lists... Done
E: The repository 'https://dl.winehq.org/wine-bulds/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
You want number 6 but remove all old repositories first from your system

This is the start to finish for Ubuntu 21.10
Add the i386 architecture
Code:
sudo dpkg --add-architecture i386
download the key
Code:
wget -nc https://dl.winehq.org/wine-builds/wine.key
install the key
Code:
sudo -H gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor winehq.key
add the impish repository
Code:
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main'
Code:
sudo apt update
install wine stable
Code:
sudo apt install --install-recommends winehq-stable
personally I recommend the stable branch
if you want the developmental that would be
Code:
sudo apt install --install-recommends winehq-devel
do not install both one or the other
then run
Code:
winecfg
you will be asked to install wine mono and wine gecko - wine gecko will be twice x86 then x64
 
Last edited by a moderator:
Instead of trying to install iTunes you can use Banshee as an alternative both will connect to iPhone or iPad

just need to make sure the following 2 files are installed - libimobiledevice-utils and libimobiledevice6 which you can get through the Synaptic Package Manager these are required to communicate with your Apple device

Banshee is here - http://www.banshee-project.org/download/

Or Apple Music Electron from the Snap Store
 
Last edited by a moderator:
Instead of trying to install iTunes you can use Banshee as an alternative both will connect to iPhone or iPad

just need to make sure the following 2 files are installed - libimobiledevice-utils and libimobiledevice6 which you can get through the Synaptic Package Manager these are required to communicate with your Apple device

Banshee is here - http://www.banshee-project.org/download/

Or Apple Music Electron from the Snap Store
I am trying this but there are a couple of errors :

Err:7 http://ppa.launchpad.net/banshee-team/ppa/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
Hit:8 https://dl.winehq.org/wine-builds/ubuntu impish InRelease
Hit:9 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Ign:10 https://dl.winehq.org/wine-bulds/ubuntu focal InRelease
Err:11 https://dl.winehq.org/wine-bulds/ubuntu focal Release
404 Not Found [IP: 199.232.54.217 443]
Hit:12 https://dl.google.com/linux/chrome/deb stable InRelease
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/banshee-team/ppa/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://dl.winehq.org/wine-bulds/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Any idea how to fix these so it works, these same issues i have not been able to fix?
 
Any idea how to fix these so it works, these same issues i have not been able to fix?
You have to remove those PPAs/repositories as stated before- seems Banshee is not compatible with 21.10 - open Software & Updates click on the Other Software tab and remove them - also try RhythmBox should be available in the Software Center make sure libimobiledevice-utils and libimobiledevice6 are installed so it will sync - I believe libimobiledevice6 should already be installed by default but it does not hurt to double check
 
If you want to install Wine follow the steps in post #14 - but first remove all old PPAs
 
Having skimmed the thread, it might be reasonable to set the repos back to the default.

 

Members online


Top