Unable to install wine Ubuntu 22.04
-
- Level 1
- Posts: 5
- Joined: Thu May 05, 2022 11:48 am
Unable to install wine Ubuntu 22.04
i tried to install WineHQ on my pc
my VERSION="22.04 LTS (Jammy Jellyfish)"
I tried to download the package according to the following guide : https://wiki.winehq.org/Ubuntu ,נut after the installation attempt it failed.
The pictures of the process:
https://drive.google.com/drive/folders/ ... sp=sharing
Anyone else experience this?
my VERSION="22.04 LTS (Jammy Jellyfish)"
I tried to download the package according to the following guide : https://wiki.winehq.org/Ubuntu ,נut after the installation attempt it failed.
The pictures of the process:
https://drive.google.com/drive/folders/ ... sp=sharing
Anyone else experience this?
Re: Unable to install wine Ubuntu 22.04
There are two things that go wrong:
- You have added the WineHQ repository for Ubuntu Focal, Impish and Jammy
Remove the first two.
- You are trying to install winehq-stable.
When Wine 7.0 was released, Ubuntu Jammy didn't exist. Therefore, there are currently only WineHQ packages for winehq-devel and winehq-staging for Jammy.
- You have added the WineHQ repository for Ubuntu Focal, Impish and Jammy
Remove the first two.
- You are trying to install winehq-stable.
When Wine 7.0 was released, Ubuntu Jammy didn't exist. Therefore, there are currently only WineHQ packages for winehq-devel and winehq-staging for Jammy.
-
- Level 2
- Posts: 10
- Joined: Mon Feb 03, 2020 11:06 am
Re: Unable to install wine Ubuntu 22.04
So what is the moral of the story here? If I don't need WINE right now, should I wait until a stable version for 22.04 comes out (I'm never going to remember that I'm using the dev or staging channel). Any guess as to when a stable version for 22.04 is due out?jkfloris wrote: ↑Fri May 06, 2022 10:53 am There are two things that go wrong:
- You have added the WineHQ repository for Ubuntu Focal, Impish and Jammy
Remove the first two.
- You are trying to install winehq-stable.
When Wine 7.0 was released, Ubuntu Jammy didn't exist. Therefore, there are currently only WineHQ packages for winehq-devel and winehq-staging for Jammy.
Re: Unable to install wine Ubuntu 22.04
The naming of the different Wine varieties is (a little) misleading.
In a nutshell, it comes down to this: every two weeks, a new winehq-devel version is released. At the beginning of the year that development version becomes "stable". If you use a development release you can achieve the same degree of stability by simply not upgrading. So you can ask yourself how "stable" the winehq-stable version is.
If you want to use Wine, you can safely install winehq-devel or winehq-staging.
In a nutshell, it comes down to this: every two weeks, a new winehq-devel version is released. At the beginning of the year that development version becomes "stable". If you use a development release you can achieve the same degree of stability by simply not upgrading. So you can ask yourself how "stable" the winehq-stable version is.
If you want to use Wine, you can safely install winehq-devel or winehq-staging.
-
- Level 1
- Posts: 5
- Joined: Thu May 05, 2022 11:48 am
Re: Unable to install wine Ubuntu 22.04
I removed the unnecessary repositories and it's look betterjkfloris wrote: ↑Fri May 06, 2022 10:53 am There are two things that go wrong:
- You have added the WineHQ repository for Ubuntu Focal, Impish and Jammy
Remove the first two.
- You are trying to install winehq-stable.
When Wine 7.0 was released, Ubuntu Jammy didn't exist. Therefore, there are currently only WineHQ packages for winehq-devel and winehq-staging for Jammy.
Code: Select all
(base) noam@Noam-Ramadi:~$ sudo apt update
Hit:1 http://mirror.il-pt.kamatera.com/ubuntu jammy InRelease
Hit:2 http://mirror.il-pt.kamatera.com/ubuntu jammy-updates InRelease
Hit:3 http://mirror.il-pt.kamatera.com/ubuntu jammy-backports InRelease
Hit:4 http://mirror.il-pt.kamatera.com/ubuntu jammy-security InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu impish InRelease
Hit:6 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Code: Select all
(base) noam@Noam-Ramadi:~$ sudo apt install --install-recommends winehq-devel
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-devel : Depends: wine-devel (= 7.8~jammy-1)
E: Unable to correct problems, you have held broken packages.
Code: Select all
(base) noam@Noam-Ramadi:~$ sudo apt install --install-recommends winehq-stable
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-stable : Depends: wine-stable (= 7.0.0.0~impish-1)
E: Unable to correct problems, you have held broken packages.
Re: Unable to install wine Ubuntu 22.04
It looks like the WineHQ Impish repository is still on.I removed the unnecessary repositories and it's look betterCode: Select all
... Hit:5 https://dl.winehq.org/wine-builds/ubuntu impish InRelease ...
Should the winehq-devel packages still fail to install after removing the Ubuntu Impish WineHQ repository, post the output of:
Code: Select all
sudo apt install --install-recommends wine-devel-i386:i386
-
- Level 1
- Posts: 5
- Joined: Thu May 05, 2022 11:48 am
Re: Unable to install wine Ubuntu 22.04
Sorry for the mistake,
I removed the unnecessary repositories
i got
and then
I removed the unnecessary repositories
i got
Code: Select all
(base) noam@Noam-Ramadi:~$ sudo apt update
Hit:1 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Hit:2 http://mirror.il-pt.kamatera.com/ubuntu jammy InRelease
Hit:3 http://mirror.il-pt.kamatera.com/ubuntu jammy-updates InRelease
Hit:4 http://mirror.il-pt.kamatera.com/ubuntu jammy-backports InRelease
Hit:5 http://mirror.il-pt.kamatera.com/ubuntu jammy-security InRelease
Hit:6 https://ppa.launchpadcontent.net/cybermax-dexter/sdl2-backport/ubuntu jammy InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
(base) noam@Noam-Ramadi:~$
Code: Select all
(base) noam@Noam-Ramadi:~$ sudo apt install --install-recommends winehq-devel
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-devel : Depends: wine-devel (= 7.8~jammy-1)
E: Unable to correct problems, you have held broken packages.
Re: Unable to install wine Ubuntu 22.04
What is the output of:
Code: Select all
sudo apt install --install-recommends wine-devel-i386:i386
-
- Level 1
- Posts: 5
- Joined: Thu May 05, 2022 11:48 am
Re: Unable to install wine Ubuntu 22.04
This is the output:
Code: Select all
(base) noam@Noam-Ramadi:~$ sudo apt install --install-recommends wine-devel-i386:i386
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:
wine-devel-i386:i386 : Depends: libopenal1:i386 (>= 1.14) but it is not installable
Depends: ocl-icd-libopencl1:i386 but it is not installable or
libopencl1:i386 but it is not installable
Depends: ocl-icd-libopencl1:i386 (>= 1.0) but it is not installable or
libopencl-1.2-1:i386 but it is not installable
Recommends: libcups2:i386 but it is not going to be installed
Recommends: libglu1-mesa:i386 but it is not going to be installed or
libglu1:i386
Recommends: libodbc1:i386 but it is not going to be installed
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libv4l-0:i386 but it is not going to be installed
Recommends: libxcomposite1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Re: Unable to install wine Ubuntu 22.04
Try installing the missing packages by hand:
Probably you have an (old) package from an unknown repository installed.
Code: Select all
sudo apt install ocl-icd-libopencl1:i386
-
- Level 1
- Posts: 5
- Joined: Thu May 05, 2022 11:48 am
Re: Unable to install wine Ubuntu 22.04
Solved!
Thank you for all your help
I added the following line in the "/etc/apt/sources.list" file
deb http://cz.archive.ubuntu.com/ubuntu jammy main universe
after that i run - "apt get update" - that installed all the dependencies
and the i installed wine
Thank you for all your help
I added the following line in the "/etc/apt/sources.list" file
deb http://cz.archive.ubuntu.com/ubuntu jammy main universe
after that i run - "apt get update" - that installed all the dependencies
and the i installed wine
Code: Select all
"sudo apt install --install-recommends wine-devel-i386:i386"
Re: Unable to install wine Ubuntu 22.04
Note that this is only one of the four WineHQ packages (but often the one that causes the most problems).
You can install the others with:
You can install the others with:
Code: Select all
sudo apt install --install-recommends winehq-devel wine-devel wine-devel-amd64
-
- Newbie
- Posts: 1
- Joined: Sun Aug 07, 2022 3:05 am
Re: Unable to install wine Ubuntu 22.04
I get this after more of 10 try
sudo apt install --install-recommends wine-devel-i386:i386
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.
wine-devel-i386:i386 : Depends: libasound2:i386 (>= 1.0.16) but it is not installable
Depends: libc6:i386 (>= 2.35) but it is not going to be installed
Depends: libglib2.0-0:i386 (>= 2.37.3) but it is not installable
Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not installable
Depends: libgphoto2-port12:i386 (>= 2.5.10) but it is not installable
Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.0.0) but it is not installable
Depends: libgstreamer1.0-0:i386 (>= 1.4.0) but it is not going to be installed
Depends: libldap-2.5-0:i386 (>= 2.5.4) but it is not going to be installed
Depends: libopenal1:i386 (>= 1.14) but it is not installable
Depends: libpcap0.8:i386 (>= 1.5.1) but it is not installable
Depends: libpulse0:i386 (>= 0.99.1) but it is not installable
Depends: libsane1:i386 (>= 1.0.27) but it is not installable
Depends: libudev1:i386 (>= 183) but it is not going to be installed
Depends: libusb-1.0-0:i386 (>= 2:1.0.21) but it is not going to be installed
Depends: libx11-6:i386 but it is not installable
Depends: libxext6:i386 but it is not installable
Depends: ocl-icd-libopencl1:i386 but it is not installable or
libopencl1:i386 but it is not installable
Depends: ocl-icd-libopencl1:i386 (>= 1.0) but it is not installable or
libopencl-1.2-1:i386 but it is not installable
Depends: libasound2-plugins:i386 but it is not installable
Depends: libncurses6:i386 but it is not installable or
libncurses5:i386 but it is not installable or
libncurses:i386 but it is not installable
Recommends: libcups2:i386 but it is not going to be installed
Recommends: libdbus-1-3:i386 but it is not installable
Recommends: libfontconfig1:i386 but it is not installable
Recommends: libfreetype6:i386 but it is not going to be installed
Recommends: libglu1-mesa:i386 but it is not installable or
libglu1:i386 but it is not installable
Recommends: libgnutls30:i386 but it is not going to be installed or
libgnutls28:i386 but it is not installable or
libgnutls26:i386 but it is not installable
Recommends: libgssapi-krb5-2:i386 but it is not installable
Recommends: libkrb5-3:i386 but it is not installable
Recommends: libodbc1:i386 but it is not installable
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libsdl2-2.0-0:i386 but it is not going to be installed
Recommends: libv4l-0:i386 but it is not installable
Recommends: libxcomposite1:i386 but it is not installable
Recommends: libxcursor1:i386 but it is not installable
Recommends: libxfixes3:i386 but it is not installable
Recommends: libxi6:i386 but it is not installable
Recommends: libxinerama1:i386 but it is not installable
Recommends: libxrandr2:i386 but it is not installable
Recommends: libxrender1:i386 but it is not installable
Recommends: libxxf86vm1:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
sudo apt install --install-recommends wine-devel-i386:i386
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.
wine-devel-i386:i386 : Depends: libasound2:i386 (>= 1.0.16) but it is not installable
Depends: libc6:i386 (>= 2.35) but it is not going to be installed
Depends: libglib2.0-0:i386 (>= 2.37.3) but it is not installable
Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not installable
Depends: libgphoto2-port12:i386 (>= 2.5.10) but it is not installable
Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.0.0) but it is not installable
Depends: libgstreamer1.0-0:i386 (>= 1.4.0) but it is not going to be installed
Depends: libldap-2.5-0:i386 (>= 2.5.4) but it is not going to be installed
Depends: libopenal1:i386 (>= 1.14) but it is not installable
Depends: libpcap0.8:i386 (>= 1.5.1) but it is not installable
Depends: libpulse0:i386 (>= 0.99.1) but it is not installable
Depends: libsane1:i386 (>= 1.0.27) but it is not installable
Depends: libudev1:i386 (>= 183) but it is not going to be installed
Depends: libusb-1.0-0:i386 (>= 2:1.0.21) but it is not going to be installed
Depends: libx11-6:i386 but it is not installable
Depends: libxext6:i386 but it is not installable
Depends: ocl-icd-libopencl1:i386 but it is not installable or
libopencl1:i386 but it is not installable
Depends: ocl-icd-libopencl1:i386 (>= 1.0) but it is not installable or
libopencl-1.2-1:i386 but it is not installable
Depends: libasound2-plugins:i386 but it is not installable
Depends: libncurses6:i386 but it is not installable or
libncurses5:i386 but it is not installable or
libncurses:i386 but it is not installable
Recommends: libcups2:i386 but it is not going to be installed
Recommends: libdbus-1-3:i386 but it is not installable
Recommends: libfontconfig1:i386 but it is not installable
Recommends: libfreetype6:i386 but it is not going to be installed
Recommends: libglu1-mesa:i386 but it is not installable or
libglu1:i386 but it is not installable
Recommends: libgnutls30:i386 but it is not going to be installed or
libgnutls28:i386 but it is not installable or
libgnutls26:i386 but it is not installable
Recommends: libgssapi-krb5-2:i386 but it is not installable
Recommends: libkrb5-3:i386 but it is not installable
Recommends: libodbc1:i386 but it is not installable
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libsdl2-2.0-0:i386 but it is not going to be installed
Recommends: libv4l-0:i386 but it is not installable
Recommends: libxcomposite1:i386 but it is not installable
Recommends: libxcursor1:i386 but it is not installable
Recommends: libxfixes3:i386 but it is not installable
Recommends: libxi6:i386 but it is not installable
Recommends: libxinerama1:i386 but it is not installable
Recommends: libxrandr2:i386 but it is not installable
Recommends: libxrender1:i386 but it is not installable
Recommends: libxxf86vm1:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
Re: Unable to install wine Ubuntu 22.04
That's (almost) all of Wine's 32-bit dependencies. Did you enable the 32 bit architecture?
If that has already been done, please mention which Ubuntu/ Debian version you have and which repositories you have enabled.
Code: Select all
sudo dpkg --add-architecture i386