Problems with my wine installation! I think I did something wrong.

Questions about Wine on Linux
Locked
DayTripper
Newbie
Newbie
Posts: 1
Joined: Thu Feb 03, 2022 12:21 pm

Problems with my wine installation! I think I did something wrong.

Post by DayTripper »

Hello all! I am a noob to all this and needed some assistance on solving my issue... Okay so lets see. I started by enabling 32 bit because my system is 64 bit using - sudo dpkg --add-architecture i386 and I added the wine repository key as show on - https://wiki.winehq.org/Ubuntu

So i continued and choose - sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main' and then I updated my system and used - sudo apt install --install-recommends winehq-stable


So I used - sudo apt-get install libvkd3d1 libvkd3d1:i386 and after I did "Sudo apt-get update && sudo apt-get upgrade" and was met with the following output - The following packages have unmet dependencies:
winehq-stable : Depends: wine-stable (= 7.0.0.0~hirsute-1)
E: Unable to correct problems, you have held broken packages.

I've searched the dependency error page but can't seem to find a solution on what to do. I just need to help on this. Thanks!
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Problems with my wine installation! I think I did something wrong.

Post by jkfloris »

What is the output of:

Code: Select all

grep -R ^deb /etc/apt/sources.list*
and

Code: Select all

sudo apt install --install-recommends wine-stable-amd64 wine-stable-i386:i386
Sagitariozod
Newbie
Newbie
Posts: 4
Joined: Mon Mar 28, 2022 10:53 am

Re: Problems with my wine installation! I think I did something wrong.

Post by Sagitariozod »

Hello.

I have the same problem.

grep -R ^deb /etc/apt/sources.list*

Code: Select all

/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute-updates main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute-updates universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute-updates multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://archive.canonical.com/ubuntu hirsute partner
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute-security main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute-security universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu hirsute-security multiverse
/etc/apt/sources.list.d/numix-ubuntu-ppa-eoan.list:deb http://ppa.launchpad.net/numix/ppa/ubuntu hirsute main
/etc/apt/sources.list.d/google-earth-pro.list:deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
/etc/apt/sources.list.d/stebbins-ubuntu-handbrake-releases-focal.list:deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/ focal main
/etc/apt/sources.list.d/owncloud-client-ubuntu-21.04.list:deb https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Ubuntu_21.04/ /
/etc/apt/sources.list.d/utappia-ubuntu-stable-disco.list:deb http://ppa.launchpad.net/utappia/stable/ubuntu hirsute main
/etc/apt/sources.list.d/certbot-ubuntu-certbot-disco.list:deb http://ppa.launchpad.net/certbot/certbot/ubuntu disco main
/etc/apt/sources.list.d/virtualbox.org-hirsute.list:deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian hirsute contrib
/etc/apt/sources.list.d/cybermax-dexter-ubuntu-sdl2-backport-hirsute.list:deb http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu hirsute main
/etc/apt/sources.list.d/webupd8team-ubuntu-brackets-cosmic.list:deb http://ppa.launchpad.net/webupd8team/brackets/ubuntu cosmic main
/etc/apt/sources.list.d/scootersoftware.list:deb https://www.scootersoftware.com/ bcompare4 non-free
/etc/apt/sources.list.d/libreoffice-ubuntu-ppa-eoan.list:deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu hirsute main
/etc/apt/sources.list.d/atareao-ubuntu-atareao-eoan.list:deb http://ppa.launchpad.net/atareao/atareao/ubuntu hirsute main
/etc/apt/sources.list.d/nodesource.list:deb https://deb.nodesource.com/node_17.x hirsute main
/etc/apt/sources.list.d/nodesource.list:deb-src https://deb.nodesource.com/node_17.x hirsute main
/etc/apt/sources.list.d/anydesk-stable.list:deb http://deb.anydesk.com/ all main
/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-eoan.list:deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu hirsute main
/etc/apt/sources.list.d/mozillateam-ubuntu-ppa-eoan.list:deb http://ppa.launchpad.net/mozillateam/ppa/ubuntu hirsute main
/etc/apt/sources.list.d/notepadqq-team-ubuntu-notepadqq-bionic.list:deb http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu bionic main
/etc/apt/sources.list.d/webupd8team-ubuntu-y-ppa-manager-hirsute.list:deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu hirsute main
/etc/apt/sources.list.d/hsoft-ubuntu-ppa-zesty.list:deb http://ppa.launchpad.net/hsoft/ppa/ubuntu zesty main
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-eoan.list:deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu hirsute main
/etc/apt/sources.list.d/noobslab-ubuntu-themes-cosmic.list:deb http://ppa.launchpad.net/noobslab/themes/ubuntu cosmic main
/etc/apt/sources.list.d/giuspen-ubuntu-ppa-eoan.list:deb http://ppa.launchpad.net/giuspen/ppa/ubuntu hirsute main
/etc/apt/sources.list.d/ondrej-ubuntu-apache2-disco.list:deb http://ppa.launchpad.net/ondrej/apache2/ubuntu hirsute main
/etc/apt/sources.list.d/wine-ubuntu-wine-builds-hirsute.list:deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main
/etc/apt/sources.list.d/wine-ubuntu-wine-builds-hirsute.list:deb https://ppa.launchpadcontent.net/cybermax-dexter/vkd3d/ubuntu hirsute main 
/etc/apt/sources.list.d/daniel_p-ubuntu-dpscreenocr-focal.list:deb http://ppa.launchpad.net/daniel.p/dpscreenocr/ubuntu focal main
/etc/apt/sources.list.d/remmina-ppa-team-ubuntu-remmina-next-eoan.list:deb http://ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu hirsute main
/etc/apt/sources.list.d/openshot_developers-ubuntu-ppa-hirsute.list:deb http://ppa.launchpad.net/openshot.developers/ppa/ubuntu hirsute main
/etc/apt/sources.list.d/mono-official-stable.list:deb [arch=amd64] https://download.mono-project.com/repo/ubuntu stable-focal main
/etc/apt/sources.list.d/ondrej-ubuntu-php-hirsute.list:deb https://ppa.launchpadcontent.net/ondrej/php/ubuntu hirsute main
/etc/apt/sources.list.d/noobslab-ubuntu-icons2-eoan.list:deb http://ppa.launchpad.net/noobslab/icons2/ubuntu eoan main
/etc/apt/sources.list.d/datadog.list:deb https://apt.datadoghq.com/ stable 7
/etc/apt/sources.list.d/atareao-ubuntu-gnome-shell-extensions-disco.list:deb http://ppa.launchpad.net/atareao/gnome-shell-extensions/ubuntu disco main
/etc/apt/sources.list.d/openjdk-r-ubuntu-ppa-hirsute.list:deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/ hirsute main
/etc/apt/sources.list.d/phpmyadmin-ubuntu-ppa-focal.list:deb http://ppa.launchpad.net/phpmyadmin/ppa/ubuntu focal main
/etc/apt/sources.list.d/embrosyn-ubuntu-cinnamon-disco.list:deb http://ppa.launchpad.net/embrosyn/cinnamon/ubuntu disco main
/etc/apt/sources.list.d/noobslab-ubuntu-icons-eoan.list:deb http://ppa.launchpad.net/noobslab/icons/ubuntu eoan main
/etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-focal.list:deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main
/etc/apt/sources.list.d/linuxuprising-ubuntu-java-hirsute.list:deb http://ppa.launchpad.net/linuxuprising/java/ubuntu hirsute main
/etc/apt/sources.list.d/pinta-maintainers-ubuntu-pinta-stable-hirsute.list:deb http://ppa.launchpad.net/pinta-maintainers/pinta-daily/ubuntu hirsute main
/etc/apt/sources.list.d/teams.list:deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
/etc/apt/sources.list.d/atareao-ubuntu-nemo-extensions-focal.list:deb http://ppa.launchpad.net/atareao/nemo-extensions/ubuntu focal main
/etc/apt/sources.list.d/teamviewer.list:deb https://linux.teamviewer.com/deb stable main
/etc/apt/sources.list.d/skype-unstable.list:deb [arch=amd64] https://repo.skype.com/deb unstable main
/etc/apt/sources.list.d/teejee2008-ubuntu-ppa-hirsute.list:deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu hirsute main
/etc/apt/sources.list.d/nextcloud-devs-ubuntu-client-eoan.list:deb http://ppa.launchpad.net/nextcloud-devs/client/ubuntu hirsute main
/etc/apt/sources.list.d/nextcloud-devs-ubuntu-client-eoan.list:deb https://ppa.launchpadcontent.net/nextcloud-devs/client/ubuntu hirsute main
/etc/apt/sources.list.d/nextcloud-devs-ubuntu-client-eoan.list:deb https://ppa.launchpadcontent.net/nextcloud-devs/client-alpha/ubuntu hirsute main
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/kdenlive-ubuntu-kdenlive-stable-eoan.list:deb http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu hirsute main
/etc/apt/sources.list.d/webmin-sarge.list:deb http://download.webmin.com/download/repository sarge contrib
/etc/apt/sources.list.d/atareao-ubuntu-telegram-hirsute.list:deb http://ppa.launchpad.net/atareao/telegram/ubuntu hirsute main
/etc/apt/sources.list.d/trebelnik-stefina-ubuntu-cinnamon-focal.list:deb http://ppa.launchpad.net/trebelnik-stefina/cinnamon/ubuntu focal main
/etc/apt/sources.list.d/leolik-ubuntu-leolik-zesty.list:deb http://ppa.launchpad.net/leolik/leolik/ubuntu zesty main
/etc/apt/sources.list.d/blaze-ubuntu-dev-hirsute.list:deb http://ppa.launchpad.net/blaze/dev/ubuntu hirsute main
/etc/apt/sources.list.d/sublime-text.list:deb https://download.sublimetext.com/ apt/stable/
sudo apt install --install-recommends wine-stable-amd64 wine-stable-i386:i386

Code: Select all

Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
 libglib2.0-0:i386 : Depende: libpcre3:i386 pero no es instalable
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Problems with my wine installation! I think I did something wrong.

Post by jkfloris »

The version of libpcre3:i386 should be the same as libpcre3.
See which versions are available with:

Code: Select all

apt policy libpcre3 libpcre3:i386
And install the desired version with:

Code: Select all

sudo apt install libpcre3:i386=<number>
Sagitariozod
Newbie
Newbie
Posts: 4
Joined: Mon Mar 28, 2022 10:53 am

Re: Problems with my wine installation! I think I did something wrong.

Post by Sagitariozod »

Code: Select all

apt policy libpcre3 libpcre3:i386
libpcre3:
  Instalados: 2:8.44-2+ubuntu20.04.1+deb.sury.org+1
  Candidato:  2:8.44-2+ubuntu20.04.1+deb.sury.org+1
  Tabla de versión:
 *** 2:8.44-2+ubuntu20.04.1+deb.sury.org+1 100
        100 /var/lib/dpkg/status
     2:8.39-13build3 500
        500 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
libpcre3:i386:
  Instalados: (ninguno)
  Candidato:  2:8.39-13build3
  Tabla de versión:
     2:8.39-13build3 500
        500 http://archive.ubuntu.com/ubuntu hirsute/main i386 Packages

Code: Select all

sudo apt install libpcre3:i386=2:8.39-13build3
[sudo] contraseña para delfin: 
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
 libglib2.0-0 : Depende: libpcre3 pero no es instalable
                Recomienda: shared-mime-info
 librdf0 : Depende: librasqal3 (>= 0.9.31) pero no va a instalarse
E: Error, pkgProblemResolver::Resolve generó cortes, esto puede deberse a paquetes retenidos.

Code: Select all

sudo apt install librasqal3:i386
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
 libglib2.0-0 : Depende: libpcre3 pero no es instalable
                Recomienda: shared-mime-info
 librdf0 : Depende: librasqal3 (>= 0.9.31) pero no va a instalarse
E: Error, pkgProblemResolver::Resolve generó cortes, esto puede deberse a paquetes retenidos.

Code: Select all

sudo apt install librdf0:i386
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
 libglib2.0-0 : Depende: libpcre3 pero no es instalable
                Recomienda: shared-mime-info
 librdf0 : Depende: librasqal3 (>= 0.9.31) pero no va a instalarse
E: Error, pkgProblemResolver::Resolve generó cortes, esto puede deberse a paquetes retenidos.
Sagitariozod
Newbie
Newbie
Posts: 4
Joined: Mon Mar 28, 2022 10:53 am

Re: Problems with my wine installation! I think I did something wrong.

Post by Sagitariozod »

jkfloris wrote: Mon Mar 28, 2022 3:19 pm The version of libpcre3:i386 should be the same as libpcre3.
See which versions are available with:

Code: Select all

apt policy libpcre3 libpcre3:i386
And install the desired version with:

Code: Select all

sudo apt install libpcre3:i386=<number>
Thank you very much for your answer, it is the solution to the problem.

I have downgraded the libpcre3 library.

I uninstalled the 64 bit version of libpcre3, 2:8.44, and installed version 2:8.39, with this everything worked fine.

Thanks for your time.
Greetings.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Problems with my wine installation! I think I did something wrong.

Post by jkfloris »

You once installed the 64-bit version of libpcre3 from deb.sury.org.
Now you have two options.
- Also install the 32-bit version from this PPA
- Downgrade the 64-bit version to the official Ubuntu version.

Code: Select all

sudo apt install libpcre3=2:8.39-13build3
Sagitariozod
Newbie
Newbie
Posts: 4
Joined: Mon Mar 28, 2022 10:53 am

Re: Problems with my wine installation! I think I did something wrong.

Post by Sagitariozod »

jkfloris wrote: Wed Mar 30, 2022 10:52 am You once installed the 64-bit version of libpcre3 from deb.sury.org.
Now you have two options.
- Also install the 32-bit version from this PPA
- Downgrade the 64-bit version to the official Ubuntu version.

Code: Select all

sudo apt install libpcre3=2:8.39-13build3
Hello @jkfloris.

Thank you very much for your answers, they are the solution to my problem.

Previously I had installed the libpcre3 library from deb.sury.org, but now it was not available because there is no longer support for Ubuntu 21.04, so I could not install wine, until I installed the official version of Ubuntu, as you indicated .

Greetings.
Locked