Can not install wine on Ubuntu 22.04.1 LTS

Questions about Wine on Linux
Locked
mrglinux
Newbie
Newbie
Posts: 3
Joined: Sat Apr 07, 2018 7:17 am

Can not install wine on Ubuntu 22.04.1 LTS

Post by mrglinux »

Hi i did this instruction: https://wiki.winehq.org/Ubuntu
When i run apt update i got this:

Code: Select all

#apt-get update
Hit:2 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                                                                                            
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                                          
Hit:1 https://rspamd.com/apt-stable jammy InRelease                                                                                                       
Hit:4 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease                                                           
Hit:5 http://archive.ubuntu.com/ubuntu jammy InRelease                                                       
Hit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:8 https://deb.goaccess.io jammy InRelease     
Reading package lists... Done                     
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://deb.goaccess.io jammy InRelease' doesn't support architecture 'i386'
When I try to install wine I got this:

Code: Select all

# 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 (= 8.0.0.0~jammy-1)
E: Unable to correct problems, you have held broken packages.
It's my os:

Code: Select all

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy
It's my apt source list:

Code: Select all

# ls /etc/apt/sources.list.d
goaccess.list  ondrej-ubuntu-php-jammy.list  rspamd.list  winehq-jammy.sources

# cat /etc/apt/sources.list.d/goaccess.list 
deb https://deb.goaccess.io/ jammy main

# cat /etc/apt/sources.list.d/winehq-jammy.sources 
Types: deb
URIs: https://dl.winehq.org/wine-builds/ubuntu
Suites: jammy
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key

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

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by jkfloris »

The ppa.launchpadcontent.net/ondrej/php/ubuntu repo doesn't have libgd3:i386
Downgrade the package to the official Ubuntu version

Code: Select all

sudo apt install libgd3=2.3.0-2ubuntu2
Should that not be sufficient, try installing wine-stable-i386

Code: Select all

sudo apt install --install-recommends wine-stable-i386:i386
Should a package give a dependency problem, try installing that package.
Read the FAQ for more information.
If you can't figure it out, don't hesitate to ask what's going wrong.

A tip:
- Make sure you don't have old packages on your system.

Code: Select all

LC_ALL=C apt list --installed | grep 'installed,local'
mrglinux
Newbie
Newbie
Posts: 3
Joined: Sat Apr 07, 2018 7:17 am

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by mrglinux »

Hi again
thanks for your answer it's output what I did:

Code: Select all

# LC_ALL=C apt list --installed | grep 'installed,local'

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

hc-utils/now 0.0.4-1 all [installed,local]
And:

Code: Select all

# apt install libgd3=2.3.0-2ubuntu2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libavif13 libgav1-0 libyuv0
Use 'apt autoremove' to remove them.
Suggested packages:
  libgd-tools
The following packages will be REMOVED:
  php8.1-gd
The following packages will be DOWNGRADED:
  libgd3
0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 0 not upgraded.
Need to get 129 kB of archives.
After this operation, 148 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgd3 amd64 2.3.0-2ubuntu2 [129 kB]
Fetched 129 kB in 1s (193 kB/s) 
(Reading database ... 208985 files and directories currently installed.)
Removing php8.1-gd (8.1.15-3+ubuntu22.04.1+deb.sury.org+1) ...
dpkg: warning: downgrading libgd3:amd64 from 2.3.3-9+ubuntu22.04.1+deb.sury.org+1 to 2.3.0-2ubuntu2
(Reading database ... 208977 files and directories currently installed.)
Preparing to unpack .../libgd3_2.3.0-2ubuntu2_amd64.deb ...
Unpacking libgd3:amd64 (2.3.0-2ubuntu2) over (2.3.3-9+ubuntu22.04.1+deb.sury.org+1) ...
Setting up libgd3:amd64 (2.3.0-2ubuntu2) ...
Processing triggers for php8.1-fpm (8.1.15-3+ubuntu22.04.1+deb.sury.org+1) ...
NOTICE: Not enabling PHP 8.1 FPM by default.
NOTICE: To enable PHP 8.1 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.1-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Scanning processes...                                                                                               
Scanning candidates...                                                                                              
Scanning linux images...                                                                                            

Running kernel seems to be up-to-date.

Restarting services...
 systemctl restart nginx.service php5.6-fpm.service php7.0-fpm.service php7.1-fpm.service php7.2-fpm.service php7.3-fpm.service php7.4-fpm.service php8.0-fpm.service

No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
But I get this error:

Code: Select all

# apt install --install-recommends wine-stable-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:
 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.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by jkfloris »

Is it possible to install "libgd3:i386"?

Code: Select all

sudo apt install libgd3:i386=2.3.0-2ubuntu2
nirolo
Level 1
Level 1
Posts: 6
Joined: Fri Apr 07, 2023 1:50 pm

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by nirolo »

I'm not OP but I piggyback here as OP seems to not reply and I have the exact same problem.
I try to pick up the latest ideas from jkfloris:

1.

Code: Select all

sudo apt install libgd3=2.3.0-2ubuntu2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libgd3 is already the newest version (2.3.0-2ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
that did not change anything

2.

Code: Select all

sudo apt install --install-recommends wine-stable-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:
 apt : Depends: libapt-pkg6.0 (>= 2.4.5) but it is not going to be installed
       Depends: libsystemd0 but it is not installable
       Recommends: ca-certificates but it is not going to be installed
 bsdutils : PreDepends: libsystemd0 but it is not installable
 grep : PreDepends: libpcre3 but it is not installable
 init : PreDepends: systemd-sysv
 login : PreDepends: libpam-runtime but it is not going to be installed
         PreDepends: libpam-modules but it is not going to be installed
 shim-signed : Depends: grub-efi-amd64-signed but it is not going to be installed or
                        grub-efi-arm64-signed but it is not installable
               Depends: grub2-common (>= 2.04-1ubuntu24)
               Depends: mokutil (>= 0.3.0+1538710437.fb6250f-0ubuntu2) but it is not going to be installed
               Depends: sbsigntool but it is not going to be installed
               Recommends: secureboot-db but it is not going to be installed
 util-linux : PreDepends: libsystemd0 but it is not installable
              PreDepends: libudev1 (>= 183) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
And that's where it ends for me. All of the packages above but grub-efi-arm64-signed are installed. And this is in an or condition and not fitting my architecture.

3

Code: Select all

 LC_ALL=C apt list --installed | grep 'installed,local'

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

accountsservice/now 22.07.5-2ubuntu1.3 amd64 [installed,local]
amdgpu-pro-core/now 22.40-1518373.22.04 all [installed,local]
base-files/now 12ubuntu4.1 amd64 [installed,local]
curl/now 7.81.0-1ubuntu1.2 amd64 [installed,local]
distro-info-data/now 0.52ubuntu0.1 all [installed,local]
dnsmasq-base/now 2.86-1.1ubuntu0.1 amd64 [installed,local]
dpkg/now 1.21.1ubuntu2.1 amd64 [installed,local]
firmware-sof-signed/now 2.0-1ubuntu3 all [installed,local]
fractorium/now 22.21.4.2 amd64 [installed,local]
libaccountsservice0/now 22.07.5-2ubuntu1.3 amd64 [installed,local]
libcurl3-gnutls/now 7.81.0-1ubuntu1.2 amd64 [installed,local]
libcurl4/now 7.81.0-1ubuntu1.2 amd64 [installed,local]
libfribidi0/now 1.0.8-2ubuntu3.1 amd64 [installed,local]
libjson-c5/now 0.15-3~ubuntu1.22.04.1 amd64 [installed,local]
libldap-2.5-0/now 2.5.11+dfsg-1~exp1ubuntu3.1 amd64 [installed,local]
libldap-common/now 2.5.11+dfsg-1~exp1ubuntu3.1 all [installed,local]
libnss-systemd/now 249.11-0ubuntu3.1 amd64 [installed,local]
libpam-systemd/now 249.11-0ubuntu3.1 amd64 [installed,local]
libpcre3/now 2:8.39-13ubuntu0.22.04.1 amd64 [installed,local]
libreadline6/now 6.3-8ubuntu2 amd64 [installed,local]
libssl3/now 3.0.2-0ubuntu1.2 amd64 [installed,local]
libsystemd0/now 249.11-0ubuntu3.1 amd64 [installed,local]
libudev1/now 249.11-0ubuntu3.1 amd64 [installed,local]
libusb-1.0-0/now 2:1.0.25-1ubuntu2 amd64 [installed,local]
linux-firmware/now 20220329.git681281e4-0ubuntu3.2 all [installed,local]
linux-generic/now 5.15.0.33.36 amd64 [installed,local]
linux-headers-5.15.0-33-generic/now 5.15.0-33.34 amd64 [installed,local]
linux-headers-5.15.0-33/now 5.15.0-33.34 all [installed,local]
linux-headers-generic/now 5.15.0.33.36 amd64 [installed,local]
linux-image-5.15.0-33-generic/now 5.15.0-33.34 amd64 [installed,local]
linux-image-generic/now 5.15.0.33.36 amd64 [installed,local]
linux-modules-5.15.0-33-generic/now 5.15.0-33.34 amd64 [installed,local]
linux-modules-extra-5.15.0-33-generic/now 5.15.0-33.34 amd64 [installed,local]
logrotate/now 3.19.0-1ubuntu1.1 amd64 [installed,local]
networkd-dispatcher/now 2.1-2ubuntu0.22.04.2 all [installed,local]
openssl/now 3.0.2-0ubuntu1.2 amd64 [installed,local]
phoronix-test-suite/now 10.8.4 all [installed,local]
rsyslog/now 8.2112.0-2ubuntu2.2 amd64 [installed,local]
snapd/now 2.55.3+22.04ubuntu1 amd64 [installed,local]
systemd-sysv/now 249.11-0ubuntu3.1 amd64 [installed,local]
systemd-timesyncd/now 249.11-0ubuntu3.1 amd64 [installed,local]
systemd/now 249.11-0ubuntu3.1 amd64 [installed,local]
ubuntu-advantage-tools/now 27.8~22.04.1 amd64 [installed,local]
udev/now 249.11-0ubuntu3.1 amd64 [installed,local]
vulkan-amdgpu-pro/now 22.40-1518373.22.04 amd64 [installed,local]
wpasupplicant/now 2:2.10-6ubuntu1 amd64 [installed,local]
xdg-utils/now 1.1.3-4.1ubuntu1.22.04.1 all [installed,local]
Here I don't have much knowledge anymore. These packages are probably install due to amd drivers, e.g. I find

Code: Select all

 vulkan-amdgpu-pro/now 22.40-1518373.22.04 amd64 [installed,local] 
in there.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by jkfloris »

I suspect something is wrong with your repositories.
Could you post the output of:

Code: Select all

apt policy
nirolo
Level 1
Level 1
Posts: 6
Joined: Fri Apr 07, 2023 1:50 pm

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by nirolo »

Sure, here's the output

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 https://ppa.launchpadcontent.net/touchegg/stable/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-touchegg-stable,a=jammy,n=jammy,l=Touchégg - Stable PPA - Official Releases,c=main,b=amd64
     origin ppa.launchpadcontent.net
 600 https://repo.radeon.com/rocm/apt/5.4.1 jammy/main amd64 Packages
     release v=5.4.1,o=repo.radeon.com,a=jammy,n=jammy,l=repo.radeon.com,c=main,b=amd64
     origin repo.radeon.com
 500 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main i386 Packages
     release v=22.04,o=LP-PPA-mozillateam,a=jammy,n=jammy,l=Firefox ESR and Thunderbird stable builds,c=main,b=i386
     origin ppa.launchpadcontent.net
 500 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-mozillateam,a=jammy,n=jammy,l=Firefox ESR and Thunderbird stable builds,c=main,b=amd64
     origin ppa.launchpadcontent.net
 500 https://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
 600 https://repo.radeon.com/amdgpu/5.4.1/ubuntu jammy/main i386 Packages
     release v=5.4.1,o=repo.radeon.com,a=jammy,n=jammy,l=repo.radeon.com,c=main,b=i386
     origin repo.radeon.com
 600 https://repo.radeon.com/amdgpu/5.4.1/ubuntu jammy/main amd64 Packages
     release v=5.4.1,o=repo.radeon.com,a=jammy,n=jammy,l=repo.radeon.com,c=main,b=amd64
     origin repo.radeon.com
 500 http://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 archive.ubuntu.com
 500 http://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 archive.ubuntu.com
 500 http://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 archive.ubuntu.com
 500 http://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 archive.ubuntu.com
 500 http://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 archive.ubuntu.com
 500 http://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 archive.ubuntu.com
 500 http://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 archive.ubuntu.com
 500 http://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 archive.ubuntu.com
Pinned packages:
After reading a bit about apt policy, maybe this helps as well:

Code: Select all

apt policy wine
wine:
  Installed: 6.0.3~repack-1
  Candidate: 6.0.3~repack-1
  Version table:
 *** 6.0.3~repack-1 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages
        100 /var/lib/dpkg/status
Sorry for the many edits, I just tried to uninstall the version of wine (sudo apt remove wine) that I seem to have installed already. That worked, then apt policy wine gives

Code: Select all

 apt policy wine
wine:
  Installed: (none)
  Candidate: 6.0.3~repack-1
  Version table:
     6.0.3~repack-1 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages
But the install prompt still fails as above

Code: Select all

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 (= 8.0.0.0~jammy-1)
E: Unable to correct problems, you have held broken packages.
apt policy winehq-stable gives

Code: Select all

apt policy winehq-stable
winehq-stable:
  Installed: (none)
  Candidate: 8.0.0.0~jammy-1
  Version table:
     8.0.0.0~jammy-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages
     7.0.2~jammy-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages
     7.0.1~jammy-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages
Last edited by nirolo on Sat Apr 08, 2023 2:15 pm, edited 3 times in total.
piscvau
Newbie
Newbie
Posts: 4
Joined: Sun Dec 04, 2016 12:17 pm

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by piscvau »

Hello
I'm piggybacking on this topic.
my system

Code: Select all

root@pcserveur-MS-7C92:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Code: Select all

root@pcserveur-MS-7C92:~# sudo apt install --install-recommends winehq-stable
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
 winehq-stable : Dépend: wine-stable (= 8.0.0.0~jammy-1)
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

Code: Select all

root@pcserveur-MS-7C92:~# apt policy wine
wine:
  Installé : (aucun)
  Candidat : 6.0.3~repack-1
 Table de version :
     6.0.3~repack-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu jammy/universe i386 Packages

Code: Select all

root@pcserveur-MS-7C92:~# apt policy winehq-stable
winehq-stable:
  Installé : (aucun)
  Candidat : 8.0.0.0~jammy-1
 Table de version :
     8.0.0.0~jammy-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages
     7.0.2~jammy-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages
     7.0.1~jammy-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages

Code: Select all

root@pcserveur-MS-7C92:~# apt install libgd3:i386
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
 nginx : Dépend: nginx-core (< 1.18.0-6ubuntu14.3.1~) mais ne sera pas installé ou
                  nginx-full (< 1.18.0-6ubuntu14.3.1~) mais ne sera pas installé ou
                  nginx-light (< 1.18.0-6ubuntu14.3.1~) mais ne sera pas installé ou
                  nginx-extras (< 1.18.0-6ubuntu14.3.1~) mais ne sera pas installé
         Dépend: nginx-core (>= 1.18.0-6ubuntu14.3) mais ne sera pas installé ou
                  nginx-full (>= 1.18.0-6ubuntu14.3) mais ne sera pas installé ou
                  nginx-light (>= 1.18.0-6ubuntu14.3) mais ne sera pas installé ou
                  nginx-extras (>= 1.18.0-6ubuntu14.3) mais ne sera pas installé
E: Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.
And i have no old packages installed

Code: Select all

root@pcserveur-MS-7C92:~# LC_ALL=C apt list --installed | grep 'installed,local'

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
and if I tried to install libgd3:i386

Code: Select all

root@pcserveur-MS-7C92:~# apt install libgd3:i386
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
 nginx : Dépend: nginx-core (< 1.18.0-6ubuntu14.3.1~) mais ne sera pas installé ou
                  nginx-full (< 1.18.0-6ubuntu14.3.1~) mais ne sera pas installé ou
                  nginx-light (< 1.18.0-6ubuntu14.3.1~) mais ne sera pas installé ou
                  nginx-extras (< 1.18.0-6ubuntu14.3.1~) mais ne sera pas installé
         Dépend: nginx-core (>= 1.18.0-6ubuntu14.3) mais ne sera pas installé ou
                  nginx-full (>= 1.18.0-6ubuntu14.3) mais ne sera pas installé ou
                  nginx-light (>= 1.18.0-6ubuntu14.3) mais ne sera pas installé ou
                  nginx-extras (>= 1.18.0-6ubuntu14.3) mais ne sera pas installé
E: Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.
Any help would be welcome
Thank's
Last edited by piscvau on Mon Apr 10, 2023 10:06 am, edited 1 time in total.
nirolo
Level 1
Level 1
Posts: 6
Joined: Fri Apr 07, 2023 1:50 pm

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by nirolo »

I can't edit the above post anymore. Please excuse the double post, but I tried around a little bit and got some more detail out of trying to use aptitude:

Code: Select all

sudo aptitude install winehq-stable
The following NEW packages will be installed:
  winehq-stable{b} 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1.776 B of archives. After unpacking 74,8 kB will be used.
The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 8.0.0.0~jammy-1) but it is not installable
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     winehq-stable [Not Installed]                      



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

       Remove the following packages:                                                                  
1)       budgie-arm-environment [0.17.14 (jammy, now)]                                                 
2)       budgie-control-center [1.0.1-2 (jammy, now)]                                                  
3)       budgie-desktop [10.6.1-1 (jammy, now)]                                                        
4)       budgie-desktop-environment [0.17.14 (jammy, now)]                                             
5)       budgie-dropby-applet [1.4.0-1ubuntu2 (jammy, now)]                                            
6)       celluloid [0.20-2 (jammy, now)]                                                               
7)       cheese [41.1-1build1 (jammy, now)]                                                            
8)       clinfo [3.0.21.02.21-1 (jammy, now)]                                                          
9)       evolution-data-server [3.44.0-2 (jammy, now)]                                                 
10)      ffmpeg [7:4.4.1-3ubuntu5 (jammy, now)]                                                        
11)      ffmpegthumbnailer [2.2.2+dfsg-1 (jammy, now)]                                                 
12)      gdm3 [42.0-1ubuntu6 (jammy, now)]                                                             
13)      gir1.2-webkit2-4.0 [2.36.0-2ubuntu1 (jammy, now)]                                             
14)      gnome-calendar [41.2-3 (jammy, now)]                                                          
15)      gnome-control-center [1:41.4-1ubuntu12 (jammy, now)]                                          
16)      gnome-maps [42.0-1 (jammy, now)]                                                              
17)      gnome-online-accounts [3.44.0-1ubuntu1 (jammy, now)]                                          
18)      gnome-remote-desktop [42.0-4ubuntu1 (jammy, now)]                                             
19)      gnome-shell [42.0-2ubuntu1 (jammy, now)]                                                      
20)      gnome-user-docs [41.5-1ubuntu2 (jammy, now)]                                                  
21)      gnome-video-effects [0.5.0-1ubuntu1 (jammy, now)]                                             
22)      gstreamer1.0-plugins-good [1.20.1-1ubuntu1 (jammy, now)]                                      
23)      gstreamer1.0-pulseaudio [1.20.1-1ubuntu1 (jammy, now)]                                        
24)      gthumb [3:3.12.0-2 (jammy, now)]                                                              
25)      kaccounts-providers [4:21.12.3-0ubuntu1 (jammy, now)]                                         
26)      libasound2-plugins [1.2.6-1 (jammy, now)]                                                     
27)      libavcodec58 [7:4.4.1-3ubuntu5 (jammy, now)]                                                  
28)      libavdevice58 [7:4.4.1-3ubuntu5 (jammy, now)]                                                 
29)      libavfilter7 [7:4.4.1-3ubuntu5 (jammy, now)]                                                  
30)      libavformat58 [7:4.4.1-3ubuntu5 (jammy, now)]                                                 
31)      libavutil56 [7:4.4.1-3ubuntu5 (jammy, now)]                                                   
32)      libcanberra-pulse [0.30-10ubuntu1 (jammy, now)]                                               
33)      libcheese-gtk25 [41.1-1build1 (jammy, now)]                                                   
34)      libcheese8 [41.1-1build1 (jammy, now)]                                                        
35)      libchromaprint1 [1.5.1-2 (jammy, now)]                                                        
36)      libedataserverui-1.2-3 [3.44.0-2 (jammy, now)]                                                
37)      libffmpegthumbnailer4v5 [2.2.2+dfsg-1 (jammy, now)]                                           
38)      libfolks-eds26 [0.15.5-2 (jammy, now)]                                                        
39)      libglu1-mesa [9.0.2-1 (jammy, now)]                                                           
40)      libgoa-backend-1.0-1 [3.44.0-1ubuntu1 (jammy, now)]                                           
41)      libjack-jackd2-0 [1.9.20~dfsg-1 (jammy, now)]                                                 
42)      libmpv1 [0.34.1-1ubuntu3 (jammy, now)]                                                        
43)      libpostproc55 [7:4.4.1-3ubuntu5 (jammy, now)]                                                 
44)      libqt5webengine5 [5.15.9+dfsg-1 (jammy, now)]                                                 
45)      libqt5webenginecore5 [5.15.9+dfsg-1 (jammy, now)]                                             
46)      libswresample3 [7:4.4.1-3ubuntu5 (jammy, now)]                                                
47)      libswscale5 [7:4.4.1-3ubuntu5 (jammy, now)]                                                   
48)      libwebkit2gtk-4.0-37 [2.36.0-2ubuntu1 (jammy, now)]                                           
49)      libyelp0 [42.1-1 (jammy, now)]                                                                
50)      mesa-opencl-icd [22.0.1-1ubuntu2 (jammy, now)]                                                
51)      mpv [0.34.1-1ubuntu3 (jammy, now)]                                                            
52)      ocl-icd-libopencl1 [2.2.14-3 (jammy, now)]                                                    
53)      openssl [3.0.2-0ubuntu1.2 (now)]                                                              
54)      orca [42.0-1ubuntu1 (jammy, now)]                                                             
55)      phonon4qt5-backend-vlc [0.11.3-1 (jammy, now)]                                                
56)      pulseaudio [1:15.99.1+dfsg1-1ubuntu1 (jammy, now)]                                            
57)      pulseaudio-module-bluetooth [1:15.99.1+dfsg1-1ubuntu1 (jammy, now)]                           
58)      qml-module-qtwebengine [5.15.9+dfsg-1 (jammy, now)]                                           
59)      rhythmbox [3.4.4-5ubuntu1 (jammy, now)]                                                       
60)      rhythmbox-plugin-alternative-toolbar [0.20.2-1 (jammy, now)]                                  
61)      rhythmbox-plugins [3.4.4-5ubuntu1 (jammy, now)]                                               
62)      ubuntu-budgie-desktop [0.94 (jammy, now)]                                                     
63)      ubuntu-docs [22.04.4 (jammy, now)]                                                            
64)      ubuntu-release-upgrader-gtk [1:22.04.10 (jammy, now)]                                         
65)      ubuntu-session [42.0-1ubuntu2 (jammy, now)]                                                   
66)      update-manager [1:22.04.9 (jammy, now)]                                                       
67)      update-notifier [3.192.54 (jammy, now)]                                                       
68)      vlc-plugin-base [3.0.16-1build7 (jammy, now)]                                                 
69)      vlc-plugin-video-output [3.0.16-1build7 (jammy, now)]                                         
70)      xorg [1:7.7+23ubuntu2 (jammy, now)]                                                           
71)      yelp [42.1-1 (jammy, now)]                                                                    
72)      zenity [3.42.0-1 (jammy, now)]                                                                

       Install the following packages:                                                                 
73)      gnome-packagekit [3.32.0-2 (jammy)]                                                           
74)      gnome-packagekit-data [3.32.0-2 (jammy)]                                                      
75)      krb5-locales [1.19.2-2 (jammy)]                                                               
76)      libapparmor1:i386 [3.0.4-2ubuntu2 (jammy)]                                                    
77)      libasound2:i386 [1.2.6.1-1ubuntu1 (jammy)]                                                    
78)      libasound2-plugins:i386 [1.2.6-1 (jammy)]                                                     
79)      libasyncns0:i386 [0.8-6build2 (jammy)]                                                        
80)      libavahi-client3:i386 [0.8-5ubuntu5 (jammy)]                                                  
81)      libavahi-common-data:i386 [0.8-5ubuntu5 (jammy)]                                              
82)      libavahi-common3:i386 [0.8-5ubuntu5 (jammy)]                                                  
83)      libblkid1:i386 [2.37.2-4ubuntu3 (jammy)]                                                      
84)      libbz2-1.0:i386 [1.0.8-5build1 (jammy)]                                                       
85)      libcairo2:i386 [1.16.0-5ubuntu2 (jammy)]                                                      
86)      libcap2:i386 [1:2.44-1build3 (jammy)]                                                         
87)      libcapi20-3:i386 [1:3.27-3 (jammy)]                                                           
88)      libcom-err2:i386 [1.46.5-2ubuntu1 (jammy)]                                                    
89)      libcups2:i386 [2.4.1op1-1ubuntu4 (jammy)]                                                     
90)      libcurl3-gnutls:i386 [7.81.0-1 (jammy)]                                                       
91)      libcurl4:i386 [7.81.0-1 (jammy)]                                                              
92)      libdb5.3:i386 [5.3.28+dfsg1-0.8ubuntu3 (jammy)]                                               
93)      libdbus-1-3:i386 [1.12.20-2ubuntu4 (jammy)]                                                   
94)      libdw1:i386 [0.186-1build1 (jammy)]                                                           
95)      libexif12:i386 [0.6.24-1build1 (jammy)]                                                       
96)      libflac8:i386 [1.3.3-2build2 (jammy)]                                                         
97)      libgcrypt20:i386 [1.9.4-3ubuntu3 (jammy)]                                                     
98)      libgdbm-compat4:i386 [1.23-1 (jammy)]                                                         
99)      libgdbm6:i386 [1.23-1 (jammy)]                                                                
100)     libglib2.0-0:i386 [2.72.1-1 (jammy)]                                                          
101)     libglu1-mesa:i386 [9.0.2-1 (jammy)]                                                           
102)     libglvnd0:i386 [1.4.0-1 (jammy)]                                                              
103)     libgmp10:i386 [2:6.2.1+dfsg-3ubuntu1 (jammy)]                                                 
104)     libgnutls30:i386 [3.7.3-4ubuntu1 (jammy)]                                                     
105)     libgpg-error-l10n [1.43-3 (jammy)]                                                            
106)     libgpg-error0:i386 [1.43-3 (jammy)]                                                           
107)     libgphoto2-6:i386 [2.5.27-1build2 (jammy)]                                                    
108)     libgphoto2-port12:i386 [2.5.27-1build2 (jammy)]                                               
109)     libgpm2:i386 [1.20.7-10build1 (jammy)]                                                        
110)     libgsm1:i386 [1.0.19-1 (jammy)]                                                               
111)     libgssapi-krb5-2:i386 [1.19.2-2 (jammy)]                                                      
112)     libgstreamer-plugins-base1.0-0:i386 [1.20.1-1 (jammy)]                                        
113)     libgstreamer1.0-0:i386 [1.20.1-1 (jammy)]                                                     
114)     libhogweed6:i386 [3.7.3-1build2 (jammy)]                                                      
115)     libieee1284-3:i386 [0.2.11-14build2 (jammy)]                                                  
116)     libjack0:i386 [1:0.125.0-3build2 (jammy)]                                                     
117)     libk5crypto3:i386 [1.19.2-2 (jammy)]                                                          
118)     libkeyutils1:i386 [1.6.1-2ubuntu3 (jammy)]                                                    
119)     libkrb5-3:i386 [1.19.2-2 (jammy)]                                                             
120)     libkrb5support0:i386 [1.19.2-2 (jammy)]                                                       
121)     liblcms2-2:i386 [2.12~rc1-2build2 (jammy)]                                                    
122)     libldap-2.5-0:i386 [2.5.11+dfsg-1~exp1ubuntu3 (jammy)]                                        
123)     libltdl7:i386 [2.4.6-15build2 (jammy)]                                                        
124)     liblz4-1:i386 [1.9.3-2build2 (jammy)]                                                         
125)     libmount1:i386 [2.37.2-4ubuntu3 (jammy)]                                                      
126)     libncurses6:i386 [6.3-2 (jammy)]                                                              
127)     libnettle8:i386 [3.7.3-1build2 (jammy)]                                                       
128)     libnghttp2-14:i386 [1.43.0-1build3 (jammy)]                                                   
129)     libnsl2:i386 [1.3.0-2build2 (jammy)]                                                          
130)     libnspr4:i386 [2:4.32-3build1 (jammy)]                                                        
131)     libnss3:i386 [2:3.68.2-0ubuntu1 (jammy)]                                                      
132)     libodbc1:i386 [2.3.9-5 (jammy)]                                                               
133)     libodbc2:i386 [2.3.9-5 (jammy)]                                                               
134)     libodbccr2:i386 [2.3.9-5 (jammy)]                                                             
135)     libogg0:i386 [1.3.5-0ubuntu3 (jammy)]                                                         
136)     libopengl0:i386 [1.4.0-1 (jammy)]                                                             
137)     libopenjp2-7:i386 [2.4.0-6 (jammy)]                                                           
138)     libopus0:i386 [1.3.1-0.1build2 (jammy)]                                                       
139)     liborc-0.4-0:i386 [1:0.4.32-2 (jammy)]                                                        
140)     libosmesa6:i386 [22.0.1-1ubuntu2 (jammy)]                                                     
141)     libp11-kit0:i386 [0.24.0-6build1 (jammy)]                                                     
142)     libpcap0.8:i386 [1.10.1-4build1 (jammy)]                                                      
143)     libpci3:i386 [1:3.7.0-6 (jammy)]                                                              
144)     libpcre2-8-0:i386 [10.39-3build1 (jammy)]                                                     
145)     libpcre3:i386 [2:8.39-13build5 (jammy)]                                                       
146)     libperl5.34:i386 [5.34.0-3ubuntu1 (jammy)]                                                    
147)     libpixman-1-0:i386 [0.40.0-1build4 (jammy)]                                                   
148)     libpoppler-glib8:i386 [22.02.0-2 (jammy)]                                                     
149)     libpoppler118:i386 [22.02.0-2 (jammy)]                                                        
150)     libpsl5:i386 [0.21.0-1.2build2 (jammy)]                                                       
151)     libpulse0:i386 [1:15.99.1+dfsg1-1ubuntu1 (jammy)]                                             
152)     librtmp1:i386 [2.4+20151223.gitfa8646d.1-2build4 (jammy)]                                     
153)     libsamplerate0:i386 [0.2.2-1build1 (jammy)]                                                   
154)     libsane1:i386 [1.1.1-5 (jammy)]                                                               
155)     libsasl2-2:i386 [2.1.27+dfsg2-3ubuntu1 (jammy)]                                               
156)     libsasl2-modules:i386 [2.1.27+dfsg2-3ubuntu1 (jammy)]                                         
157)     libsasl2-modules-db:i386 [2.1.27+dfsg2-3ubuntu1 (jammy)]                                      
158)     libselinux1:i386 [3.3-1build2 (jammy)]                                                        
159)     libsndfile1:i386 [1.0.31-2build1 (jammy)]                                                     
160)     libsnmp40:i386 [5.9.1+dfsg-1ubuntu2 (jammy)]                                                  
161)     libsqlite3-0:i386 [3.37.2-2 (jammy)]                                                          
162)     libssh-4:i386 [0.9.6-2build1 (jammy)]                                                         
163)     libssl3:i386 [3.0.2-0ubuntu1 (jammy)]                                                         
164)     libsystemd0:i386 [249.11-0ubuntu3 (jammy)]                                                    
165)     libtasn1-6:i386 [4.18.0-4build1 (jammy)]                                                      
166)     libtirpc3:i386 [1.3.2-2build1 (jammy)]                                                        
167)     libudev1:i386 [249.11-0ubuntu3 (jammy)]                                                       
168)     libunwind8:i386 [1.3.2-2build2 (jammy)]                                                       
169)     libusb-1.0-0:i386 [2:1.0.25-1ubuntu1 (jammy)]                                                 
170)     libv4l-0:i386 [1.22.1-2build1 (jammy)]                                                        
171)     libv4lconvert0:i386 [1.22.1-2build1 (jammy)]                                                  
172)     libvorbis0a:i386 [1.3.7-1build2 (jammy)]                                                      
173)     libvorbisenc2:i386 [1.3.7-1build2 (jammy)]                                                    
174)     libwrap0:i386 [7.6.q-31build2 (jammy)]                                                        
175)     libxcb-render0:i386 [1.14-3ubuntu3 (jammy)]                                                   
176)     libxcomposite1:i386 [1:0.4.5-1build2 (jammy)]                                                 
177)     libxcursor1:i386 [1:1.2.0-2build4 (jammy)]                                                    
178)     libxext6:i386 [2:1.3.4-1build1 (jammy)]                                                       
179)     libxfixes3:i386 [1:6.0.0-1 (jammy)]                                                           
180)     libxi6:i386 [2:1.8-1build1 (jammy)]                                                           
181)     libxinerama1:i386 [2:1.1.4-3 (jammy)]                                                         
182)     libxrandr2:i386 [2:1.5.2-1build1 (jammy)]                                                     
183)     libxrender1:i386 [1:0.9.10-1build4 (jammy)]                                                   
184)     libxslt1.1:i386 [1.1.34-4build2 (jammy)]                                                      
185)     libxxf86vm1:i386 [1:1.1.4-1build3 (jammy)]                                                    
186)     mako-notifier [1.6-2 (jammy)]                                                                 
187)     ocl-icd-libopencl1:i386 [2.2.14-3 (jammy)]                                                    
188)     openssl:i386 [3.0.2-0ubuntu1 (jammy)]                                                         
189)     phonon4qt5-backend-null [4:4.11.1-4 (jammy)]                                                  
190)     wine-stable:i386 [8.0.0.0~jammy-1 (jammy)]                                                    
191)     wine-stable-i386:i386 [8.0.0.0~jammy-1 (jammy)]                                               

       Downgrade the following packages:                                                               
192)     curl [7.81.0-1ubuntu1.2 (now) -> 7.81.0-1 (jammy)]                                            
193)     libcurl3-gnutls [7.81.0-1ubuntu1.2 (now) -> 7.81.0-1 (jammy)]                                 
194)     libcurl4 [7.81.0-1ubuntu1.2 (now) -> 7.81.0-1 (jammy)]                                        
195)     libldap-2.5-0 [2.5.11+dfsg-1~exp1ubuntu3.1 (now) -> 2.5.11+dfsg-1~exp1ubuntu3 (jammy)]        
196)     libnss-systemd [249.11-0ubuntu3.1 (now) -> 249.11-0ubuntu3 (jammy)]                           
197)     libpam-systemd [249.11-0ubuntu3.1 (now) -> 249.11-0ubuntu3 (jammy)]                           
198)     libpcre3 [2:8.39-13ubuntu0.22.04.1 (now) -> 2:8.39-13build5 (jammy)]                          
199)     libssl3 [3.0.2-0ubuntu1.2 (now) -> 3.0.2-0ubuntu1 (jammy)]                                    
200)     libsystemd0 [249.11-0ubuntu3.1 (now) -> 249.11-0ubuntu3 (jammy)]                              
201)     libudev1 [249.11-0ubuntu3.1 (now) -> 249.11-0ubuntu3 (jammy)]                                 
202)     libusb-1.0-0 [2:1.0.25-1ubuntu2 (now) -> 2:1.0.25-1ubuntu1 (jammy)]                           
203)     systemd [249.11-0ubuntu3.1 (now) -> 249.11-0ubuntu3 (jammy)]                                  
204)     systemd-sysv [249.11-0ubuntu3.1 (now) -> 249.11-0ubuntu3 (jammy)]                             
205)     systemd-timesyncd [249.11-0ubuntu3.1 (now) -> 249.11-0ubuntu3 (jammy)]                        
206)     udev [249.11-0ubuntu3.1 (now) -> 249.11-0ubuntu3 (jammy)]                                     

       Leave the following dependencies unresolved:                                                    
207)     aisleriot recommends yelp                                                                     
208)     baobab recommends yelp                                                                        
209)     file-roller recommends yelp                                                                   
210)     gedit recommends yelp                                                                         
211)     gedit recommends zenity                                                                       
212)     gnome-bluetooth recommends gnome-control-center | budgie-control-center | unity-control-center
213)     gnome-calculator recommends yelp                                                              
214)     gnome-calendar recommends evolution-data-server                                               
215)     gnome-mahjongg recommends yelp                                                                
216)     gnome-mines recommends yelp                                                                   
217)     gnome-online-accounts recommends gnome-control-center (>= 3.6.1)                              
218)     gnome-settings-daemon recommends pulseaudio                                                   
219)     gnome-shell recommends gnome-control-center (>= 1:3.25.2)                                     
220)     gnome-sudoku recommends yelp                                                                  
221)     gnome-terminal recommends yelp                                                                
222)     language-selector-gnome recommends yelp                                                       
223)     pulseaudio-module-bluetooth recommends gstreamer1.0-plugins-good (>= 1.19)                    
224)     rhythmbox recommends gstreamer1.0-pulseaudio                                                  
225)     rhythmbox-data recommends rhythmbox                                                           
226)     rygel recommends gstreamer1.0-plugins-good                                                    
227)     speech-dispatcher recommends pulseaudio                                                       
228)     ubuntu-docs recommends gnome-user-docs                                                        
229)     libgstreamer-plugins-base1.0-0:i386 recommends gstreamer1.0-plugins-base:i386                 
230)     libsane1:i386 recommends sane-airscan:i386                                                    
231)     budgie-control-center recommends gnome-online-accounts (>= 3.25.3)                            
232)     budgie-control-center recommends gnome-user-docs                                              
233)     budgie-desktop-environment recommends gnome-remote-desktop                                    
234)     cpdb-backend-gcp recommends gnome-control-center                                              
235)     cpdb-backend-gcp recommends gnome-online-accounts                                             
236)     gthumb-data recommends yelp                                                                   
237)     libbrasero-media3-1 recommends gstreamer1.0-plugins-good                                      
238)     libfolks26 recommends libfolks-eds26                                                          
239)     libkaccounts2 recommends kaccounts-providers                                                  
240)     ubuntu-budgie-desktop recommends budgie-arm-environment                                       
241)     ubuntu-budgie-desktop recommends budgie-desktop-environment                                   
242)     ubuntu-budgie-desktop recommends budgie-dropby-applet                                         
243)     ubuntu-budgie-desktop recommends celluloid                                                    
244)     ubuntu-budgie-desktop recommends cheese                                                       
245)     ubuntu-budgie-desktop recommends ffmpegthumbnailer                                            
246)     ubuntu-budgie-desktop recommends gnome-maps                                                   
247)     ubuntu-budgie-desktop recommends gnome-online-accounts                                        
248)     ubuntu-budgie-desktop recommends gthumb                                                       
249)     ubuntu-budgie-desktop recommends orca                                                         
250)     ubuntu-budgie-desktop recommends rhythmbox                                                    
251)     ubuntu-budgie-desktop recommends rhythmbox-plugin-alternative-toolbar                         
252)     youtube-dl recommends ffmpeg                                                                  
253)     youtube-dl recommends mpv | mplayer                                                           
254)     wine-stable-i386:i386 recommends libsdl2-2.0-0:i386                                           



Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
If I interpret this correctly, the issues arise because I'm using Ubuntu Budgie flavor (and not "classic" gnome Ubuntu). But I might be mistaken.
piscvau
Newbie
Newbie
Posts: 4
Joined: Sun Dec 04, 2016 12:17 pm

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by piscvau »

Hello
It seems the solution won't come from ubuntu. see here https://github.com/oerdnj/deb.sury.org/ ... 1343164132
it also says :
Alternatively, you can build the libgd3:i386 packages locally from a source.
Any suggestion about how to do this would be most welcomed!....
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by jkfloris »

Is it possible to install the 64 and 32 bit Ubuntu version of libgd3?

Code: Select all

sudo apt install libgd3=2.3.0-2ubuntu2 libgd3:i386=2.3.0-2ubuntu2
nirolo
Level 1
Level 1
Posts: 6
Joined: Fri Apr 07, 2023 1:50 pm

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by nirolo »

jkfloris wrote: Tue Apr 11, 2023 2:56 pm Is it possible to install the 64 and 32 bit Ubuntu version of libgd3?

Code: Select all

sudo apt install libgd3=2.3.0-2ubuntu2 libgd3:i386=2.3.0-2ubuntu2

Code: Select all

 
 sudo apt install libgd3=2.3.0-2ubuntu2 libgd3:i386=2.3.0-2ubuntu2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libgd3 is already the newest version (2.3.0-2ubuntu2).
libgd3:i386 is already the newest version (2.3.0-2ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
So, the answer seems "yes" but it was installed already :/
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by jkfloris »

Then we know it wasn't that package.
Another package that often causes problems is libpcre3

Code: Select all

sudo apt install libpcre3=2:8.39-13ubuntu0.22.04.1 libpcre3:i386=2:8.39-13ubuntu0.22.04.1
Does the output of

Code: Select all

sudo apt install --install-recommends wine-stable-i386
still give the message that libsystemd0 cannot be installed?
nirolo
Level 1
Level 1
Posts: 6
Joined: Fri Apr 07, 2023 1:50 pm

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by nirolo »

Ok, getting there step by step. Libpcre3 seems to make trouble

Code: Select all

sudo apt install libpcre3=2:8.39-13ubuntu0.22.04.1 libpcre3:i386=2:8.39-13ubuntu0.22.04.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libpcre3:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libpcre3 libpcrecpp0v5:i386 libpcrecpp0v5

E: Version '2:8.39-13ubuntu0.22.04.1' for 'libpcre3:i386' was not found
and to the second one, yes. libsystemd0 is still reported as not installable (3rd line from the bottom):

Code: Select all

sudo apt install --install-recommends wine-stable-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:
 apt : Depends: libapt-pkg6.0 (>= 2.4.5) but it is not going to be installed
       Depends: libsystemd0 but it is not installable
       Recommends: ca-certificates but it is not going to be installed
 bsdutils : PreDepends: libsystemd0 but it is not installable
 grep : PreDepends: libpcre3 but it is not installable
 init : PreDepends: systemd-sysv
 login : PreDepends: libpam-runtime but it is not going to be installed
         PreDepends: libpam-modules but it is not going to be installed
 shim-signed : Depends: grub-efi-amd64-signed but it is not going to be installed or
                        grub-efi-arm64-signed but it is not installable
               Depends: grub2-common (>= 2.04-1ubuntu24)
               Depends: mokutil (>= 0.3.0+1538710437.fb6250f-0ubuntu2) but it is not going to be installed
               Depends: sbsigntool but it is not going to be installed
               Recommends: secureboot-db but it is not going to be installed
 util-linux : PreDepends: libsystemd0 but it is not installable
              PreDepends: libudev1 (>= 183) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by jkfloris »

What version of libpcre3 is available for your system?

Code: Select all

apt policy libpcre3:{amd64,i386}
nirolo
Level 1
Level 1
Posts: 6
Joined: Fri Apr 07, 2023 1:50 pm

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by nirolo »

Code: Select all

apt policy libpcre3:{amd64,i386}
libpcre3:
  Installed: 2:8.39-13ubuntu0.22.04.1
  Candidate: 2:8.39-13ubuntu0.22.04.1
  Version table:
 *** 2:8.39-13ubuntu0.22.04.1 100
        100 /var/lib/dpkg/status
     2:8.39-13build5 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
libpcre3:i386:
  Installed: (none)
  Candidate: 2:8.39-13build5
  Version table:
     2:8.39-13build5 500
        500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by jkfloris »

It looks like something is wrong with your repositories setting.
libpcre3:amd64 version 2:8.39-13ubuntu0.22.04.1 is from jammy-security, but the package is only available offline. In other words, you enabled this repository once, updated your system, and then disabled it again.
Enable the jammy-security repository again and update your system.
nirolo
Level 1
Level 1
Posts: 6
Joined: Fri Apr 07, 2023 1:50 pm

Re: Can not install wine on Ubuntu 22.04.1 LTS

Post by nirolo »

That seems to have been it. Thanks for the help!

After some updates I could install it now :)

Code: Select all

sudo apt install winehq-stable
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
winehq-stable is already the newest version (8.0.0.0~jammy-1).
Locked