I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Questions about Wine on Linux
Locked
drummykriss
Newbie
Newbie
Posts: 3
Joined: Sun Dec 25, 2022 7:40 am

I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by drummykriss »

Hello.
I can't complete wine setup.
I am using Linux Ubuntu 22.04.01 LTS
I am following official guide - https://wiki.winehq.org/Ubuntu

Steps executed

Code: Select all

sudo dpkg --add-architecture i386 

Code: Select all

sudo mkdir -pm755 /etc/apt/keyrings

Code: Select all

sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

Code: Select all

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources

Code: Select all

sudo apt update
But issues starts here:

Code: Select all

sudo apt install --install-recommends winehq-stable
After I run this command I get error:
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.1~jammy-1)
E: Unable to correct problems, you have held broken packages.
if I run something like

Code: Select all

sudo apt-get install wine-stable-i386
or

Code: Select all

sudo apt-get install wine32
I get error like
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:
libgphoto2-6:i386 : Depends: libgd3:i386 (>= 2.1.0~alpha~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I can run

Code: Select all

sudo apt-get install wine
But I can't install any windows based program as it throws error about wine32 missing
But I can't setup it due issues mentioned previously.

Could it be that there is missed some dependencies?
Or it's because I use Linux Ubuntu 22.04.01 LTS version?
So for now I don't have any correctly idea how to fix this issue....

Thanks for any advice.
Best regards.
drummykriss
Newbie
Newbie
Posts: 3
Joined: Sun Dec 25, 2022 7:40 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by drummykriss »

Interesting I was setup linux using virtual box
and there installation was successfully.... :(
But still it's not clear why I can't setup it on actual workstation....
drummykriss
Newbie
Newbie
Posts: 3
Joined: Sun Dec 25, 2022 7:40 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by drummykriss »

I guess I was able to resolve this by:
- I saw one post where there was mentioned something regarding to nginx that removing it helped to resolve this
- So I removed nginx
- It didn't helped
- so I tried to remove libgd3 package

Code: Select all

sudo apt-get remove libgd3
- and re-run

Code: Select all

sudo apt install --install-recommends winehq-stable
- and finally it worked
- but also for this action was downside it:
- removed some packages like gimp, nautilus-admin, and some php packages (php-gd)
- so I had to reinstall them as well
stepya
Level 1
Level 1
Posts: 6
Joined: Sat Dec 31, 2022 5:16 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by stepya »

I have the same issue.
Removed libgd3 - no changes

Code: Select all

apt list --installed "libgd*"
Listing... Done
libgdata-common/jammy,jammy,jammy,jammy,now 0.18.1-2build1 all [installed,automatic]
libgdata22/jammy,jammy,now 0.18.1-2build1 amd64 [installed,automatic]
libgdbm-compat4/jammy,jammy,now 1.23-1 amd64 [installed,automatic]
libgdbm6/jammy,jammy,now 1.23-1 amd64 [installed,automatic]
libgdk-pixbuf-2.0-0/jammy-updates,now 2.42.8+dfsg-1ubuntu0.2 amd64 [installed,automatic]
libgdk-pixbuf2.0-bin/jammy-updates,now 2.42.8+dfsg-1ubuntu0.2 amd64 [installed,automatic]
libgdk-pixbuf2.0-common/jammy-updates,jammy-updates,now 2.42.8+dfsg-1ubuntu0.2 all [installed,automatic]
libgdm1/jammy-updates,now 42.0-1ubuntu7 amd64 [installed,automatic]
stepan@old-pc:~/Desktop$ apt list --installed "ngin*"
Listing... Done

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.1~jammy-1)
E: Unable to correct problems, you have held broken packages.

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

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by jkfloris »

stepya wrote: Sat Dec 31, 2022 5:28 am I have the same issue.
Can you post the output of

Code: Select all

sudo apt install --install-recommends wine-stable-i386
stepya
Level 1
Level 1
Posts: 6
Joined: Sat Dec 31, 2022 5:16 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by stepya »

jkfloris wrote: Sat Dec 31, 2022 8:14 am Can you post the output of

Code: Select all

sudo apt install --install-recommends wine-stable-i386
Here is it

Code: Select all

 sudo apt install --install-recommends wine-stable-i386
[sudo] password for stepan: 
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:
 init : PreDepends: systemd-sysv
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by jkfloris »

Code: Select all

The following packages have unmet dependencies:
 init : PreDepends: systemd-sysv
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I suspect there is something wrong with your system. Or you use an Ubuntu derivative.

What is the output of

Code: Select all

apt policy
# and
sudo apt install -f
stepya
Level 1
Level 1
Posts: 6
Joined: Sat Dec 31, 2022 5:16 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by stepya »

jkfloris wrote: Mon Jan 02, 2023 1:25 pm
apt policy
# and
sudo apt install -f
[/code]

Code: Select all

apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://dl.winehq.org/wine-builds/ubuntu jammy/main all Packages
     release o=dl.winehq.org,a=jammy,n=jammy,l=winehq,c=main,b=all
     origin dl.winehq.org
 500 https://dl.winehq.org/wine-builds/ubuntu jammy/main i386 Packages
     release o=dl.winehq.org,a=jammy,n=jammy,l=winehq,c=main,b=i386
     origin dl.winehq.org
 500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages
     release o=dl.winehq.org,a=jammy,n=jammy,l=winehq,c=main,b=amd64
     origin dl.winehq.org
 500 http://ppa.launchpad.net/wfg/0ad/ubuntu jammy/main i386 Packages
     release v=22.04,o=LP-PPA-wfg-0ad,a=jammy,n=jammy,l=0 A.D.,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/wfg/0ad/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-wfg-0ad,a=jammy,n=jammy,l=0 A.D.,c=main,b=amd64
     origin ppa.launchpad.net
-32768 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates/main amd64 Packages
     release v=22.04,o=UbuntuESMApps,a=jammy-apps-updates,n=jammy,l=UbuntuESMApps,c=main,b=amd64
     origin esm.ubuntu.com
-32768 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main i386 Packages
     release v=22.04,o=UbuntuESMApps,a=jammy-apps-security,n=jammy,l=UbuntuESMApps,c=main,b=i386
     origin esm.ubuntu.com
-32768 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 Packages
     release v=22.04,o=UbuntuESMApps,a=jammy-apps-security,n=jammy,l=UbuntuESMApps,c=main,b=amd64
     origin esm.ubuntu.com
 500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
     release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
     origin dl.google.com
 500 http://cz.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=universe,b=i386
     origin cz.archive.ubuntu.com
 500 http://cz.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=universe,b=amd64
     origin cz.archive.ubuntu.com
 500 http://cz.archive.ubuntu.com/ubuntu jammy/main i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main,b=i386
     origin cz.archive.ubuntu.com
 500 http://cz.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main,b=amd64
     origin cz.archive.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/multiverse i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=multiverse,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=multiverse,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=universe,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=universe,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/restricted i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=restricted,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=restricted,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=main,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-security,n=jammy,l=Ubuntu,c=main,b=amd64
     origin security.ubuntu.com
 100 http://ua.archive.ubuntu.com/ubuntu jammy-backports/universe i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=universe,b=i386
     origin ua.archive.ubuntu.com
 100 http://ua.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=universe,b=amd64
     origin ua.archive.ubuntu.com
 100 http://ua.archive.ubuntu.com/ubuntu jammy-backports/main i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=main,b=i386
     origin ua.archive.ubuntu.com
 100 http://ua.archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-backports,n=jammy,l=Ubuntu,c=main,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy-updates/multiverse i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=multiverse,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=multiverse,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=universe,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=universe,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy-updates/restricted i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=restricted,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=restricted,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=main,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy-updates,n=jammy,l=Ubuntu,c=main,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy/multiverse i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=multiverse,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=multiverse,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=universe,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=universe,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy/restricted i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=restricted,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=restricted,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy/main i386 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
     release v=22.04,o=Ubuntu,a=jammy,n=jammy,l=Ubuntu,c=main,b=amd64
     origin ua.archive.ubuntu.com
Pinned packages:
stepan@old-pc:~$ sudo apt install -f
[sudo] password for stepan: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by jkfloris »

Strange, that looks good.
Can you upgrade the 12 upgradable packages?

Code: Select all

sudo apt full-upgrade
Are any packages from backports or esm.ubuntu.com installed?

Code: Select all

aptitude search "?origin(backports) ?installed"
# and
aptitude search "?origin(esm.ubuntu.com) ?installed"
stepya
Level 1
Level 1
Posts: 6
Joined: Sat Dec 31, 2022 5:16 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by stepya »

sudo apt full-upgrade - DONE successfully
Installed aptitude
Run two aptitude as you mentioned - SUCCESS
But still no changes to
sudo apt install --install-recommends winehq-stable
sudo apt install --install-recommends wine-stable-i386
:( :(

P.S. now i have few upgradble packages but can't upgrade it

Code: Select all

apt list --upgradable
Listing... Done
gnome-remote-desktop/jammy-updates 42.7-0ubuntu1 amd64 [upgradable from: 42.4-0ubuntu1]
grub-common/jammy-updates 2.06-2ubuntu7.1 amd64 [upgradable from: 2.06-2ubuntu7]
grub-pc-bin/jammy-updates 2.06-2ubuntu7.1 amd64 [upgradable from: 2.06-2ubuntu7]
grub-pc/jammy-updates 2.06-2ubuntu7.1 amd64 [upgradable from: 2.06-2ubuntu7]
grub2-common/jammy-updates 2.06-2ubuntu7.1 amd64 [upgradable from: 2.06-2ubuntu7]


asudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gnome-remote-desktop grub-common grub-pc grub-pc-bin grub2-common
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.


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

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by jkfloris »

So far, things are looking good.
Is it possible to install a 32-bit package?

Code: Select all

sudo apt install libc6:i386
Are there any packages installed locally that could prevent the installation of Wine?

Code: Select all

LANG=C apt list --installed | grep "installed,local"
stepya
Level 1
Level 1
Posts: 6
Joined: Sat Dec 31, 2022 5:16 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by stepya »

jkfloris wrote: Sat Jan 07, 2023 11:15 am So far, things are looking good.
Is it possible to install a 32-bit package?

Code: Select all

sudo apt install libc6:i386
Are there any packages installed locally that could prevent the installation of Wine?

Code: Select all

LANG=C apt list --installed | grep "installed,local"
32 bit was already installed

Code: Select all

libc6:i386 is already the newest version (2.35-0ubuntu3.1).
A lot of pacjages after second command. Not sure which of them can [prevent wine installation

Code: Select all

LANG=C apt list --installed | grep "installed,local"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

0ad-data-common/now 0.0.26-0ubuntu0.1~wfg1 all [installed,local]
0ad-data/now 0.0.26-0ubuntu0.1~wfg1 all [installed,local]
0ad/now 0.0.26-0ubuntu0.22.04.1~wfg1 amd64 [installed,local]
apparmor/now 3.0.4-2ubuntu2.2 amd64 [installed,local]
fwupd/now 1.7.9-1~22.04.2 amd64 [installed,local]
gstreamer1.0-pipewire/now 0.3.48-1ubuntu3 amd64 [installed,local]
hddtemp/now 0.3-beta15-53 amd64 [installed,local]
jerry/now 3.2.0-1build1 amd64 [installed,local]
libapparmor1/now 3.0.4-2ubuntu2.2 amd64 [installed,local]
libegl-mesa0/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
libegl1-mesa/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
libfwupd2/now 1.7.9-1~22.04.2 amd64 [installed,local]
libfwupdplugin5/now 1.7.9-1~22.04.2 amd64 [installed,local]
libgbm1/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
libgl1-mesa-dri/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
libgl1-mesa-dri/now 22.0.5-0ubuntu0.2 i386 [installed,local]
libgl1-mesa-glx/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
libglapi-mesa/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
libglapi-mesa/now 22.0.5-0ubuntu0.2 i386 [installed,local]
libglx-mesa0/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
libglx-mesa0/now 22.0.5-0ubuntu0.2 i386 [installed,local]
libicu70/now 70.1-2ubuntu1 amd64 [installed,local]
libicu70/now 70.1-2ubuntu1 i386 [installed,local]
libpipewire-0.3-0/now 0.3.48-1ubuntu3 amd64 [installed,local]
libpipewire-0.3-common/now 0.3.48-1ubuntu3 all [installed,local]
libpipewire-0.3-modules/now 0.3.48-1ubuntu3 amd64 [installed,local]
libspa-0.2-modules/now 0.3.48-1ubuntu3 amd64 [installed,local]
libssl1.1/now 1.1.1f-1ubuntu2.16 amd64 [installed,local]
libxatracker2/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
linux-headers-5.13.0-52-generic/now 5.13.0-52.59~20.04.1 amd64 [installed,local]
linux-headers-5.8.0-63-generic/now 5.8.0-63.71~20.04.1 amd64 [installed,local]
linux-hwe-5.13-headers-5.13.0-52/now 5.13.0-52.59~20.04.1 all [installed,local]
linux-hwe-5.8-headers-5.8.0-63/now 5.8.0-63.71~20.04.1 all [installed,local]
mesa-va-drivers/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
mesa-vdpau-drivers/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
mesa-vulkan-drivers/now 22.0.5-0ubuntu0.2 amd64 [installed,local]
mesa-vulkan-drivers/now 22.0.5-0ubuntu0.2 i386 [installed,local]
openssh-client/now 1:8.9p1-3ubuntu0.1 amd64 [installed,local]
pipewire-bin/now 0.3.48-1ubuntu3 amd64 [installed,local]
pipewire/now 0.3.48-1ubuntu3 amd64 [installed,local]
python-apt-common/now 2.4.0 all [installed,local]
python3-apt/now 2.4.0 amd64 [installed,local]
python3-cupshelpers/now 1.5.16-0ubuntu3.1 all [installed,local]
python3-software-properties/now 0.99.22.4 all [installed,local]
quake3-data/now 64 all [installed,local]
software-properties-common/now 0.99.22.4 all [installed,local]
software-properties-gtk/now 0.99.22.4 all [installed,local]
system-config-printer-common/now 1.5.16-0ubuntu3.1 all [installed,local]
system-config-printer-udev/now 1.5.16-0ubuntu3.1 amd64 [installed,local]
system-config-printer/now 1.5.16-0ubuntu3.1 all [installed,local]
ubuntu-advantage-desktop-daemon/now 1.10~22.04.1 amd64 [installed,local]
ubuntu-drivers-common/now 1:0.9.6.2~0.22.04.1 amd64 [installed,local]
update-notifier-common/now 3.192.54.2 all [installed,local]
update-notifier/now 3.192.54.2 amd64 [installed,local]
vim-common/now 2:8.2.3995-1ubuntu2.2 all [installed,local]
vim-tiny/now 2:8.2.3995-1ubuntu2.2 amd64 [installed,local]
xxd/now 2:8.2.3995-1ubuntu2.2 amd64 [installed,local]
zoom/now 5.12.2.4816 amd64 [installed,local]
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by jkfloris »

These packages come from the jammy-proposed repository, but you no longer have that repo enabled.
You can turn it back on in "Software & Updates" → "Developer Options" → enable "Pre-released updates"
Run sudo apt update and try to install Wine again.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by jkfloris »

I notice that the jammy-proposed repository is not multiarch. I.e., the version numbers of the 32 and 64-bit packages do not all match.

In my test environment, I cannot install the mesa packages from jammy-proposed.

For these packages, you will have to install the "regular" Ubuntu version.
You can downgrade a package with:

Code: Select all

sudo apt -t=jammy-updates install libegl-mesa0 libegl1-mesa
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by jkfloris »

I thought about it some more and I think the easiest way to get out of the "dependency-hell" is to temporarily prioritize the "jammy-updates" packages.
This can be done in the following way:
- create the file jammy-updates.pref in /etc/apt/preferences.d
with the content:

Code: Select all

Package: *
Pin: release a=jammy-updates
Pin-Priority: 1001
- "Update" your system with:

Code: Select all

sudo apt update
sudo apt full-upgrade
You will see a line that reads:
The following packages will be DOWNGRADED:
With the packages you posted earlier.

After all packages from jammy-proposed are downgraded, try installing Wine again.
Once everything is successful, you can delete the jammy-updates.pref file.
stepya
Level 1
Level 1
Posts: 6
Joined: Sat Dec 31, 2022 5:16 am

Re: I can't complete wine setup on Linux Ubuntu 22.04.01 LTS

Post by stepya »

Thanks a lot!
Last solution working perfect.
Locked