Install WINE lose gnome-common and mate-common?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
DORowell

Install WINE lose gnome-common and mate-common?

Post by DORowell »

Here's the Software Manager listing for packages installed/removed for 'WINE' and also 'WINE 64 bit AMD'
"wine"
Version: 1.4-0ubuntu4
Size: 176MB to download, 483MB of disk space required
gnome-common (removed), mate-common (removed), gtk-doc-tools (removed), intltool (removed), gettext (removed)
---
"wine 64bit AMD"
Version: 1.4-0ubuntu4
Size: 176MB to download, 490MB of disk space required
no packages removed

I'm running 64 bit Mint 13 RC with MATE which runs without a hitch. I should install "wine" so that I can use PAF on linux but I wonder about losing the packages that will be removed.

Should I be concerned? What will be the effect if I do install "wine"
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29460
Joined: Wed Jul 06, 2011 3:58 am

Re: Install WINE lose gnome-common and mate-common?

Post by xenopeek »

I've tested this on Linux Mint 13 RC Cinnamon, it won't remove packages there. Doing the same on Linux Mint 13 RC MATE will remove the following five packages:

Code: Select all

Remv mate-common [1.2.1-3~precise]
Remv gtk-doc-tools [1.18-2ubuntu1]
Remv gnome-common [3.1.0-0ubuntu1]
Remv intltool [0.50.2-2]
Remv gettext [0.18.1.1-5ubuntu3]
gettext is being removed for some reason I haven't figured out yet. mate-common, gnome-common and intltool are being removed as they depend on gettext. I think gtk-doc-tools is being removed as that depends in turn on gnome-common. I am not sure what harm it will do to remove these packages. I've posted this as a bug on the blog announcing the RC here: http://blog.linuxmint.com/?p=2010&cpage ... ment-65358

Why the difference between Cinnamon and MATE? Cinnamon doesn't have gettext installed, while MATE does. Apparently something in wine package is causing gettext to be uninstalled. (gettext is described to be the "GNU Internationalization utilities".)

After some further looking, this seems to be caused by one of the recommended packages in wine. Not sure which. If you install wine as follows, which will only simulate installing and not actually install it, you will see zero packages get removed (without the --no-install-recommends it will remove the above listed five packages):

Code: Select all

sudo apt-get install --simulate --no-install-recommends wine
Now, I'm not sure which of the recommended packages you would miss if you don't install them (they are not dependencies, so you should be able to run wine without them) but you could try and go ahead and install it if the output of above looks good:

Code: Select all

sudo apt-get install --no-install-recommends wine
This might be a (temporary) workaround, but I’m not that familiar with Wine. So any knowledgeable Wine users, please pitch in if without the recommended packages you get a Wine as you would normally expect.
Image
bamm

Re: Install WINE lose gnome-common and mate-common?

Post by bamm »

Can you test the recommended wine packages to see which one of them causes gettext to be removed?

Among the recommended packages, there are two which I can't live without: wine-gecko and winetricks.
User avatar
xenopeek
Level 25
Level 25
Posts: 29460
Joined: Wed Jul 06, 2011 3:58 am

Re: Install WINE lose gnome-common and mate-common?

Post by xenopeek »

For 64 bit system I tested the following; no packages get removed. So adding winetricks and wine-gecko is not a problem. On a 32 bit system you can drop the wine-gecko1.4:i386.

Code: Select all

sudo apt-get --simulate --no-install-recommends install wine winetricks wine-gecko1.4 wine-gecko1.4:i386
So that at least works, though I haven't yet found which package is the culprit for removing the five...
Image
DORowell

Re: Install WINE lose gnome-common and mate-common?

Post by DORowell »

I installed Wine using "sudo apt-get install --no-install-recommends wine" surprisingly (to me!) wine 1.4 and 1.4AMD64 were both installed.

I then installed PAF5 [wine PAF5Setup.exe]. Wine complained about not having Wine Geko a couple times. PAF appeared to run OK but almost immediately locked up the system - no mouse action - no [ctrl]c - couldn't switch desktops - finally I was able to shutdown (but not choose restart) using [ctrl][alt][Del]. Using Synaptic I uninstalled the Wine packages.

Could it be that removing MATE-common and gnome-common have to do with the Mint menu problems (Wine links failing) that we've had in the past?
User avatar
xenopeek
Level 25
Level 25
Posts: 29460
Joined: Wed Jul 06, 2011 3:58 am

Re: Install WINE lose gnome-common and mate-common?

Post by xenopeek »

Could be, but as shared above wine-gecko should be installable without removing those five packages. I guess you have also shown why bamm mentioned those are needed :wink:
Image
bamm

Re: Install WINE lose gnome-common and mate-common?

Post by bamm »

xenopeek wrote:

Code: Select all

sudo apt-get --simulate --no-install-recommends install wine winetricks wine-gecko1.4 wine-gecko1.4:i386
So that at least works, though I haven't yet found which package is the culprit for removing the five...
Thanks! That's a relief. If you can find the offending package, I hope Clem can do something about it. Oh no, the final has been released. Is this bug still present in the final?
User avatar
xenopeek
Level 25
Level 25
Posts: 29460
Joined: Wed Jul 06, 2011 3:58 am

Re: Install WINE lose gnome-common and mate-common?

Post by xenopeek »

It is still an issue on the final release. I've tried finding the package that causes the conflict, it is one of the following six (if you install them with recommended packages, if you use --no-install-recommends it will install fine). To make matters undecipherable for me, they all either depend or recommend each other :?
  1. wine-gecko1.4:i386
  2. wine1.4-common
  3. wine1.4-i386:i386
  4. wine1.4
  5. winetricks
  6. wine (obviously, so ignore this one)
Used the following script to find the packages that get installed when you install "wine", and that would remove packages when installed.

Code: Select all

#!/bin/bash

# only use newlines for splitting strings into arrays
IFS=$'\n'

PACKAGES=($(apt-get install --simulate wine | grep ^Inst | cut -c6- | cut -d' ' -f1))
for PACKAGE in "${PACKAGES[@]}"; do
	echo $PACKAGE
	REMOVED=($(apt-get install --simulate $PACKAGE | grep ^Remv | cut -c6- | cut -d' ' -f1))
	if [[ ${#REMOVED[@]} != 0 ]]; then
		echo "        Installing this will remove: ${REMOVED[@]}"
	fi
done
Image
User avatar
xenopeek
Level 25
Level 25
Posts: 29460
Joined: Wed Jul 06, 2011 3:58 am

Re: Install WINE lose gnome-common and mate-common?

Post by xenopeek »

Okay, step by step faking the packages wine, winetricks, wine1.4, wine1.4-common and wine-gecko1.4:i386 to already be installed (with equivs), narrowed it down to wine1.4-i386:i386 being the culprit. I can't figure out why though. If install that package, it will remove the five packages. If I install each package it tells me it will install individually, no packages get removed... I'm lost :(
Image
bamm

Re: Install WINE lose gnome-common and mate-common?

Post by bamm »

xenopeek wrote:If I install each package it tells me it will install individually, no packages get removed... I'm lost :(
So the way to install it is to install the recommended packages individually. That's really strange. There should be at least one package that causes the conflict.
Kevin108

Re: Install WINE lose gnome-common and mate-common?

Post by Kevin108 »

The guys who always compile from source are laughing at us right now. :mrgreen:
User avatar
xenopeek
Level 25
Level 25
Posts: 29460
Joined: Wed Jul 06, 2011 3:58 am

Re: Install WINE lose gnome-common and mate-common?

Post by xenopeek »

The guys who don't run Wine also... That would be me BTW, so I'm laughing at myself :wink: Still it is an annoying issue, and I hope somebody can step in an identify what the root cause is :(
Image
Myrmidon83

Re: Install WINE lose gnome-common and mate-common?

Post by Myrmidon83 »

Any updates on this?

I'm running Mint 13 MATE 64-bit and use wine for quite a few necessary programs and reluctant to install it just now due to this.

:?
User avatar
xenopeek
Level 25
Level 25
Posts: 29460
Joined: Wed Jul 06, 2011 3:58 am

Re: Install WINE lose gnome-common and mate-common?

Post by xenopeek »

Except for above workarouds, I haven't worked on it. I might try again later. I did confirm this is only occurring on Linux Mint 13 MATE 64 bit. So not on the 32 bit version, or on the Cinnamon edition.
Image
Myrmidon83

Re: Install WINE lose gnome-common and mate-common?

Post by Myrmidon83 »

Hmm, I hope this gets fixed soon. :(

Just to clarify,

Code: Select all

 sudo apt-get install --no-install-recommends wine
installs wine ok for now?
User avatar
xenopeek
Level 25
Level 25
Posts: 29460
Joined: Wed Jul 06, 2011 3:58 am

Re: Install WINE lose gnome-common and mate-common?

Post by xenopeek »

That works because Synpatic doesn't install recommended packages I think (the root-cause is some recommended package cause uninstall of others). The same effect as (but following has winetricks included as bonus):

Code: Select all

udo apt-get --no-install-recommends install wine winetricks wine-gecko1.4 wine-gecko1.4:i386
Image
Myrmidon83

Re: Install WINE lose gnome-common and mate-common?

Post by Myrmidon83 »

Can confirm the synaptic install BUT only if you click wine-gecko1.4 first. I tried clicking wine first and it was going to remove the afore mentioned packages. SHut synaptic, opened it again and only clicked wine-gecko1.4 and it worked with no removals.

Weird!
User avatar
xenopeek
Level 25
Level 25
Posts: 29460
Joined: Wed Jul 06, 2011 3:58 am

Re: Install WINE lose gnome-common and mate-common?

Post by xenopeek »

Yes, confirmed! :mrgreen: Run the following two commands to install Wine exactly as with installing just the package "wine", but nothing gets removed:

Code: Select all

sudo apt-get install wine-gecko1.4
sudo apt-get install wine
No packages get uninstalled, and all the recommended packages get installed properly (winetricks and such).

Total list of 127 packages installed, which matches 100% with those a "sudo apt-get install wine" would install:

Code: Select all

fonts-horai-umefont
fonts-unfonts-core
gcc-4.6-base:i386
gnome-exe-thumbnailer
icoutils
libasn1-8-heimdal:i386
libasound2:i386
libavahi-client3:i386
libavahi-common-data:i386
libavahi-common3:i386
libc6:i386
libcapi20-3
libcapi20-3:i386
libcomerr2:i386
libcups2:i386
libdb5.1:i386
libdbus-1-3:i386
libdrm-intel1:i386
libdrm-nouveau1a:i386
libdrm-radeon1:i386
libdrm2:i386
libelf1:i386
libexif12:i386
libexpat1:i386
libffi6:i386
libfontconfig1:i386
libfreetype6:i386
libgcc1:i386
libgcrypt11:i386
libgd2-xpm:i386
libgif4:i386
libgl1-mesa-dri:i386
libgl1-mesa-glx:i386
libglapi-mesa:i386
libglib2.0-0:i386
libglu1-mesa:i386
libgnutls26:i386
libgpg-error0:i386
libgphoto2-2:i386
libgphoto2-port0:i386
libgpm2:i386
libgssapi-krb5-2:i386
libgssapi3-heimdal:i386
libgstreamer-plugins-base0.10-0:i386
libgstreamer0.10-0:i386
libhcrypto4-heimdal:i386
libheimbase1-heimdal:i386
libheimntlm0-heimdal:i386
libhx509-5-heimdal:i386
libice6:i386
libieee1284-3:i386
libjpeg-turbo8:i386
libjpeg8:i386
libk5crypto3:i386
libkeyutils1:i386
libkrb5-26-heimdal:i386
libkrb5-3:i386
libkrb5support0:i386
liblcms1:i386
libldap-2.4-2:i386
libllvm3.0:i386
libltdl7:i386
libmpg123-0
libmpg123-0:i386
libncurses5:i386
libodbc1
libopenal1:i386
liborc-0.4-0:i386
libp11-kit0:i386
libpam-winbind
libpciaccess0:i386
libpcre3:i386
libpng12-0:i386
libroken18-heimdal:i386
libsane:i386
libsasl2-2:i386
libsasl2-modules:i386
libselinux1:i386
libsm6:i386
libsqlite3-0:i386
libssl1.0.0:i386
libstdc++6:i386
libtasn1-3:i386
libtiff4:i386
libtinfo5:i386
libusb-0.1-4:i386
libuuid1:i386
libv4l-0:i386
libv4lconvert0:i386
libwind0-heimdal:i386
libx11-6:i386
libx11-xcb1:i386
libxau6:i386
libxcb-glx0:i386
libxcb1:i386
libxcomposite1:i386
libxcursor1:i386
libxdamage1:i386
libxdmcp6:i386
libxext6:i386
libxfixes3:i386
libxi6:i386
libxinerama1:i386
libxml2:i386
libxpm4:i386
libxrandr2:i386
libxrender1:i386
libxslt1.1:i386
libxt6:i386
libxxf86vm1:i386
odbcinst
odbcinst1debian2
ttf-mscorefonts-installer
ttf-umefont
ttf-unfonts-core
unixodbc
update-notifier-common
winbind
wine
wine-gecko1.4
wine-gecko1.4:i386
wine1.4
wine1.4-amd64
wine1.4-common
wine1.4-i386:i386
winetricks
zlib1g:i386
Why does it not remove packages now? No clue, but at least it works perfectly as such :wink:

Edit: stickied this solution here: http://forums.linuxmint.com/viewtopic.php?f=47&t=103612
Image
DORowell

Re: Install WINE lose gnome-common and mate-common?

Post by DORowell »

After all this discussion I decided to 'cop out'. I installed 64 bit Maya with the Cinnamon desktop. Wine 1.4 installed and the programs that I need to use run well.
Note that that was NOT the case with the MATE desktop incorporating the work-arounds suggested.

Thanks to all for trying to help - it IS appreciated. :D
Locked

Return to “Software & Applications”