<SOLVED> Wine install fails in Mint 19.2 (works in 19.1)

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
pichel
Level 1
Level 1
Posts: 10
Joined: Tue Jun 18, 2013 12:34 pm

<SOLVED> Wine install fails in Mint 19.2 (works in 19.1)

Post by pichel »

Hello,
I've ran into an unsolvable problem trying to intall wine on fresh install of Mint 19.2 Mate (a 19.1 fresh install updated to 19.2 in the run in fact).

Before installing, I've read some documentation and some articles of this forum, and decided to go to a wine-installer install.

Here's the output :

Code: Select all

user@ordi:~$ apt install --install-recommends wine-installer
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
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 :
 wine-installer : Dépend: winehq-stable mais ne sera pas installé ou
                           winehq-devel mais ne sera pas installé ou
                           winehq-staging mais ne sera pas installé
                  Dépend: libcapi20-3:i386 mais il n'est pas installable
                  Dépend: libgsm1:i386 mais il n'est pas installable
                  Dépend: libodbc1:i386 mais il n'est pas installable
                  Dépend: libosmesa6:i386 mais il n'est pas installable
                  Dépend: libsdl2-2.0-0:i386 mais il n'est pas installable
                  Dépend: libsane1:i386 mais il n'est pas installable
                  Dépend: gstreamer1.0-plugins-base:i386 mais il n'est pas installable
                  Dépend: libgpm2:i386 mais il n'est pas installable
                  Dépend: libsasl2-modules:i386 mais il n'est pas installable
                  Dépend: libcups2:i386 mais il n'est pas installable
                  Dépend: libglu1-mesa:i386 mais il n'est pas installable ou
                           libglu1:i386 mais il n'est pas installable
                  Dépend: libgssapi-krb5-2:i386 mais il n'est pas installable
                  Dépend: libkrb5-3:i386 mais il n'est pas installable
                  Dépend: libv4l-0:i386 mais il n'est pas installable
                  Dépend: libxcomposite1:i386 mais il n'est pas installable
                  Dépend: libxslt1.1:i386 mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
There are two problems here : wine-stable won't install, and secondly a bunch of :i386 arch packages won't follow either.
Note that the capture states winehq-stable instead of wine-stable because the capture has been made after adding the wine repo, but the problem is exactly the same without the wine repo using the strict distro package.

Reading the forum, I found that eventually adding the i386 arch could help, despite some messages state that Mint 19 is perfectly multiarch compliant out of the box so that the next command should be unnecessary :

Code: Select all

user@ordi:~$ sudo dpkg --add-architecture i386
user@ordi:~$ apt update
(...)
user@ordi:~$ apt install --install-recommends wine-installer
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
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 :
 wine-installer : Dépend: winehq-stable mais ne sera pas installé ou
                           winehq-devel mais ne sera pas installé ou
                           winehq-staging mais ne sera pas installé
                  Dépend: gstreamer1.0-plugins-base:i386
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
So a bunch of :i386 arch packages have disappeared from the output, but wine-stable is still uninstallable because of the gstreamer plugin base.
In order to go further down the error, I tried to install directly the gstreamer package :

Code: Select all

user@ordi:~$ apt install gstreamer1.0-plugins-base:i386
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
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 :
 gstreamer1.0-plugins-base:i386 : Dépend: libgstreamer-plugins-base1.0-0:i386 (>= 1.14.1) mais ne sera pas installé
                                  Dépend: libgstreamer1.0-0:i386 (>= 1.14.1) mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
Wich leads me to another gstreamer library, two in fact. Let's try libgstreamer1.0-0:i386 :

Code: Select all

user@ordi:~$ apt install libgstreamer1.0-0:i386
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés : 
  gcc-8-base:i386 libblkid1:i386 libc6:i386 libcap2:i386 libffi6:i386
  libgcc1:i386 libglib2.0-0:i386 libmount1:i386 libpcre3:i386 libselinux1:i386
  libuuid1:i386 zlib1g:i386
Paquets suggérés :
  glibc-doc:i386 locales:i386 gstreamer1.0-tools:i386
Les paquets suivants seront ENLEVÉS :
  gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-rb-3.0
  gir1.2-webkit-3.0 gir1.2-webkit2-4.0 gir1.2-xplayer-1.0 gstreamer1.0-alsa
  gstreamer1.0-clutter-3.0 gstreamer1.0-gl gstreamer1.0-libav
  gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good
  gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio gstreamer1.0-vaapi
  gstreamer1.0-x gufw libclutter-gst-3.0-0 libdmapsharing-3.0-2
  libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0
  libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0
  libgstreamer1.0-0 libreoffice-avmedia-backend-gstreamer librhythmbox-core10
  libwebkit2gtk-4.0-37 libwebkitgtk-3.0-0 libxplayer0 libxreaderview3 libyelp0
  marco mate-user-guide metacity mint-meta-codecs mint-meta-core
  mint-meta-mate mintdesktop mintreport mintsystem packagekit packagekit-tools
  pix pix-dbg rhythmbox rhythmbox-plugin-tray-icon rhythmbox-plugins
  sessioninstaller ubuntu-system-adjustments xed xed-dbg xplayer xplayer-dbg
  xplayer-plugins xreader xreader-dbg yelp zenity
Les NOUVEAUX paquets suivants seront installés :
  gcc-8-base:i386 libblkid1:i386 libc6:i386 libcap2:i386 libffi6:i386
  libgcc1:i386 libglib2.0-0:i386 libgstreamer1.0-0:i386 libmount1:i386
  libpcre3:i386 libselinux1:i386 libuuid1:i386 zlib1g:i386
0 mis à jour, 13 nouvellement installés, 59 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 891 ko/5 444 ko dans les archives.
Après cette opération, 201 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] n
Have fear there pressing O (Yes) because a lot of fundamental mint packages are proposed for removal : marco mate-user-guide metacity mint-meta-codecs mint-meta-core mint-meta-mate mintdesktop mintreport mintsystem !!!!

So it seems that multiarch is somewhat broken in the 19.2 release and this should be known and written in the problems section of the release notes of the distro so that no too many people run into the same wall.

Of course, if someone has a nice workaround it could make my day :-)

Anyway thanks a really big lot for the impressive good work made on the 19 distro, I find it really amazing, despite the first package update bug and now this blocking bug with wine in the 19.2 iteration. Many many thanks to the devs !

Michel
France

PS: sorry for the French output of apt, but I assume you'll understand easily what is at stake.
Last edited by pichel on Tue Sep 03, 2019 8:30 am, edited 1 time in total.
gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: Wine install fails in Mint 19.2 (works in 19.1)

Post by gm10 »

pichel wrote:
Tue Sep 03, 2019 1:51 am
I've ran into an unsolvable problem trying to intall wine on fresh install of Mint 19.2 Mate (a 19.1 fresh install updated to 19.2 in the run in fact).
Problems like this happen when software from non-official sources gets installed, although the fact that an apt update in your second step (adding the i386 does nothing on Mint) seemingly resolved some of the problems points to a problem with your mirror.

So go Mint menu > Software Sources > Restore the default settings > click OK to refresh the APT cache. Then try installing it again. If that still fails, post output of

Code: Select all

inxi -Sr
and

Code: Select all

apt install -s --install-recommends wine-installer -o Debug::pkgProblemResolver=1
pichel
Level 1
Level 1
Posts: 10
Joined: Tue Jun 18, 2013 12:34 pm

Re: Wine install fails in Mint 19.2 (works in 19.1)

Post by pichel »

The only modification to the mirrors I did was to choose local ones, which are by the way the same as the ones involved on my 19.1 machine which works.

What I did :
- revert to Mint mate 19 (in fact my DVD is a 19, not a 19.1)
- dist-upgraded to 19.1 via commandline
=> install wine-installer : same pb, wants to desinstall the same set of pakckages.
- deinstalled rythmbox (because may be related to the gstreamer problems in my opinion)
- tried at once still in Synaptic : same pb
- relaunched synaptic
- by the way read your message, so changed the repos to the american original ones
- updated apt
=> install wine-installer : works !

Where I have been totally dumb is that I made two changes in a row : removed Rhytmbox AND changed the repos, so I can't really tell who did the trick... and must admit I'm reluctant to revert the changes just to know.

Should someone goes through this thread : try the two options, changing the repos and removing rhytmbox, but please check between the two options so that you'll know which one is the solution.

I'd advocate for Rhytmbox

Thanks a lot gm10 for your pointers, you helped me solve the problem.

Michel
gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: <SOLVED> Wine install fails in Mint 19.2 (works in 19.1)

Post by gm10 »

Happy to help. :)

I'm confident you'be able to reinstall rhythmbox now if you wanted to.
pichel
Level 1
Level 1
Posts: 10
Joined: Tue Jun 18, 2013 12:34 pm

Re: <SOLVED> Wine install fails in Mint 19.2 (works in 19.1)

Post by pichel »

Hello,
I finally did some further tests :
- changed the repos to use the local ones : no problem arouse
- dist-upgraded to 19.2 (after taken a snapshot with timeshift just in case)
- changed again for local repos (ewowise for mint and university of jussieu for ubuntu)
- upgraded what needed to be
- no problem arouse and wine is still working well :-)

So I think the best candidate is a poor packaging of Rhytmbox in the 19.x releases in fact, especially in its gstreamer requirements which break the installation of the :i386 arch.

Michel
pichel
Level 1
Level 1
Posts: 10
Joined: Tue Jun 18, 2013 12:34 pm

Re: <SOLVED> Wine install fails in Mint 19.2 (works in 19.1)

Post by pichel »

For info : I've tried to reinstall rhytmbox
The process ran without any problem :-)

Some software installation still require a correct order arrgh, looks like we sometimes fall into old bad W$ stories :evil:
gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: <SOLVED> Wine install fails in Mint 19.2 (works in 19.1)

Post by gm10 »

I'll stick to my initial analysis that the problem was with an outdated mirror. ;)
pichel
Level 1
Level 1
Posts: 10
Joined: Tue Jun 18, 2013 12:34 pm

Re: <SOLVED> Wine install fails in Mint 19.2 (works in 19.1)

Post by pichel »

HI gm10,
I've just had just chance to confirm your theory : I've been installing a new Mint 19.2 thins morning and ran into problems when trying ton install wine-stable.
So I reverted the mint mirror to packages.linuxmint.com => no luck still impossible to install wine
I then reverted the ubuntu repo to the official ubuntu mirror for France (which is where I live),
updated the packets, found two apparently unrelevant updates, upgraded

Then I asked for wine-stable to install, and this time the system just asked to install several :385 pacjages but had nothing to remove, and the process went smoothly.

So you are right with the mirror concern, and it's maybe especially against the ubuntu one.

My unanswered question is then : in what way are other mirrors unsynced ? Because they work otherwise very well (I mean when it doesn't come to install Wine, I've never seen any problem, and will revert to those mirrors for the sake of bandwidth and electricity usage.

Michel
gm10
Level 20
Level 20
Posts: 10999
Joined: Thu Jun 21, 2018 5:11 pm

Re: <SOLVED> Wine install fails in Mint 19.2 (works in 19.1)

Post by gm10 »

pichel wrote:
Tue Oct 29, 2019 10:08 am
My unanswered question is then : in what way are other mirrors unsynced ? Because they work otherwise very well (I mean when it doesn't come to install Wine, I've never seen any problem, and will revert to those mirrors for the sake of bandwidth and electricity usage.
With Mint's wine-installer package you end up installing packages from Mint's repositories and from several of Ubuntu's repositories, some of which you can mirror, but one (the -security pocket), which you cannot mirror to ensure you get security updates as soon as possible. That can lead to packages from the up-to-date pocket depending on packages from the -updates pocket but not finding the version they require because it is out-of-date.

The Software Sources tool from my PPA allows you to use the same mirror also for the -security pocket, at the loss of the guaranteed timely security update advantage. Your best solution is finding a fast mirror that updates frequently. This page can help with that: https://launchpad.net/ubuntu/+archivemirrors

I should try adding some indicator to Software Sources about the mirror "age".
Post Reply

Return to “Software & Applications”