LMDE (64bit) -pos UP5- The WINE issue

Archived topics about LMDE 1 and LMDE 2
zerozero

LMDE (64bit) -pos UP5- The WINE issue

Post by zerozero »

work in progress - i need your input for completeness
wine is in lmde with UP5 :D
if we see the amount of topics in the forum regarding this app we realize how important it is.

- if you are in 32bit simply skip all this topic and

Code: Select all

apt install wine
- if you are in 64bit keep on reading :shock:

1- installing from the default repos (wine 1.4.1 at the time of writing)

the wine package in the debian repo (64bit) is just a helper package with the necessary information to enable multiarch

basically (putting it simple) this means that you have to enable 32bit and 64bit in one system; and wine is 32bit, so after that change when you go to actually install wine you have to install a lot of 32bit pkgs into your 64bit system;

how-to
the process itself is fairly simple:

Code: Select all

sudo dpkg --add-architecture i386

Code: Select all

sudo sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list

Code: Select all

sudo apt-get update
and its done! now the following command has to output i386

Code: Select all

zerozero@wine ~ $ dpkg --print-foreign-architectures
i386
now we can install wine as per the instructions

Code: Select all

zerozero@wine ~ $ sudo apt-get install wine-bin:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  gcc-4.7-base:i386 libasound2:i386 libc6:i386 libc6-i686:i386
  libdrm-intel1:i386 libdrm-nouveau1a:i386 libdrm-radeon1:i386 libdrm2:i386
  libexpat1:i386 libffi5:i386 libfreetype6:i386 libgcc1:i386
  libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386
  libglu1-mesa:i386 libgpm2:i386 libgsm1:i386 libice6:i386 libjpeg8:i386
  liblzma5:i386 libmpg123-0:i386 libncurses5:i386 libpciaccess0:i386
  libpng12-0:i386 libsm6:i386 libssl1.0.0:i386 libstdc++6:i386 libtinfo5:i386
  libuuid1:i386 libwine:i386 libwine-alsa:i386 libwine-bin:i386
  libwine-gecko-1.4 libwine-gl: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 libxrandr2:i386
  libxrender1:i386 libxxf86vm1:i386 zlib1g:i386
Suggested packages:
  libasound2-plugins:i386 glibc-doc:i386 locales:i386 libglide3:i386 gpm:i386
  wine-doc:i386 libwine-cms:i386 libwine-sane:i386 libwine-ldap:i386
  libwine-print:i386 libwine-openal:i386 libwine-gphoto2:i386
Recommended packages:
  ttf-liberation:i386 xml-core:i386
The following packages will be REMOVED:
  wine64-bin
The following NEW packages will be installed:
  gcc-4.7-base:i386 libasound2:i386 libc6:i386 libc6-i686:i386
  libdrm-intel1:i386 libdrm-nouveau1a:i386 libdrm-radeon1:i386 libdrm2:i386
  libexpat1:i386 libffi5:i386 libfreetype6:i386 libgcc1:i386
  libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386
  libglu1-mesa:i386 libgpm2:i386 libgsm1:i386 libice6:i386 libjpeg8:i386
  liblzma5:i386 libmpg123-0:i386 libncurses5:i386 libpciaccess0:i386
  libpng12-0:i386 libsm6:i386 libssl1.0.0:i386 libstdc++6:i386 libtinfo5:i386
  libuuid1:i386 libwine:i386 libwine-alsa:i386 libwine-bin:i386
  libwine-gecko-1.4 libwine-gl: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 libxrandr2:i386
  libxrender1:i386 libxxf86vm1:i386 wine-bin:i386 zlib1g:i386
0 upgraded, 54 newly installed, 1 to remove and 0 not upgraded.
Need to get 100 MB of archives.
After this operation, 258 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Image


2- installing from the mepis repos (wine 1.5.12 at the time of writing)
a)- mepis wine is not multiarch, it depends on ia32-libs (see sobrus post bellow
b)- as with all the non-standard repos we need extra care adding the mepis community repository (see the warnings http://www.mepis.org/docs/en/index.php? ... Repository)
ok, let's start :D

1- add the relevant repos to your sources.list:

Code: Select all

##mepis wine
deb http://main.mepis-deb.org/mepiscr/testrepo/ mepis11cr test
deb http://restricted.mepis-deb.org/mepiscr/testrepo/ mepis11cr test-restricted
2- now we better use pin-priority to safely install wine from mepis because this repo has some other newer packages that we are not sure will play safely with lmde

2-a) make sure the system is fully updated (as in apt dist-upgrade) before adding the repo

2-b) modify the preferences file so it looks like this

Code: Select all

Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Debian
Pin-Priority: 500

Package: wine*
Pin: release a=mepis
Pin-Priority: 500


Package: *
Pin: release a=mepis
Pin-Priority: -100
as you see we added 2 rules: one for wine and one for mepis (this should tell apt not to install any package from mepis except wine > see the different value in the rules)

2-c) apt update && apt dist-upgrade has to output exactly the same as before these changes (if it doesn't we have a problem somewhere)

Code: Select all

zerozero@wine ~ $ apt dist-upgrade
[sudo] password for zerozero: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2-d) apt policy wine will now show this

Code: Select all

zerozero@wine ~ $ apt policy wine
wine:
  Installed: (none)
  Candidate: 1.5.12-0mcr110+1
  Package pin: 1.5.12-0mcr110+1
  Version table:
     1.5.12-0mcr110+1 500
       -100 http://main.mepis-deb.org/mepiscr/testrepo/ mepis11cr/test amd64 Packages
     1.4.1-1 500
        500 http://mirror.rts-informatique.fr/linuxmint/debian/incoming/ testing/main amd64 Packages
exactly what we want: mepis is -100 but its wine shows as candidate to installation

2-e) now the getting part

Code: Select all

zerozero@wine ~ $ sudo apt-get install wine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  cups-bsd docbook-xsl fonts-horai-umefont fonts-unfonts-core ia32-libs
  kate-data katepart kde-runtime kde-runtime-data kdebase-runtime kdelibs-bin
  kdelibs5-data kdelibs5-plugins kdoctools lib32asound2 lib32bz2-1.0 lib32gcc1
  lib32ncurses5 lib32nss-mdns lib32stdc++6 lib32tinfo5 lib32v4l-0 lib32z1
  libattica0 libc6-i386 libclucene0ldbl libdbusmenu-qt2 libdlrestrictions1
  libiodbc2 libkatepartinterfaces4 libkcmutils4 libkde3support4
  libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4
  libkemoticons4 libkfile4 libkhtml5 libkidletime4 libkio5 libkjsapi4
  libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4
  libkparts4 libkpty4 libkrosscore4 libktexteditor4 libmysqlclient18
  libnepomuk4 libnepomukquery4a libnepomukutils4 libnss-winbind
  libntrack-qt4-1 libntrack0 libosmesa6 libpam-winbind libphonon4 libplasma3
  libpolkit-qt-1-1 libqca2 libqt4-dbus libqt4-declarative libqt4-designer
  libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql
  libqt4-sql-mysql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtwebkit4
  libsolid4 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0
  libthreadweaver4 libutempter0 libvirtodbc0 mysql-common
  ntrack-module-libnl-0 oxygen-icon-theme phonon phonon-backend-vlc
  plasma-scriptengine-javascript qdbus shared-desktop-ontologies
  soprano-daemon ttf-mscorefonts-installer ttf-umefont ttf-unfonts-core
  virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
  winbind wine-gecko1.7 winetricks
Suggested packages:
  docbook-xsl-doc-html docbook-xsl-doc-pdf docbook-xsl-doc-text
  docbook-xsl-doc libsaxon-java libxslthl-java docbook-xsl-saxon fop xalan
  dbtoepub ia32-libs-gtk djvulibre-bin icoutils finger avahi-autoipd zeroconf
  hspell libqca2-plugin-cyrus-sasl libqca2-plugin-gnupg libqca2-plugin-ossl
  libqt4-declarative-folderlistmodel libqt4-declarative-gestures
  libqt4-declarative-particles libqt4-declarative-shaders qt4-qmlviewer
  libqt4-dev phonon-backend-gstreamer phonon-backend-mplayer
Recommended packages:
  ttf-symbol-replacement-wine
The following NEW packages will be installed:
  cups-bsd docbook-xsl fonts-horai-umefont fonts-unfonts-core ia32-libs
  kate-data katepart kde-runtime kde-runtime-data kdebase-runtime kdelibs-bin
  kdelibs5-data kdelibs5-plugins kdoctools lib32asound2 lib32bz2-1.0 lib32gcc1
  lib32ncurses5 lib32nss-mdns lib32stdc++6 lib32tinfo5 lib32v4l-0 lib32z1
  libattica0 libc6-i386 libclucene0ldbl libdbusmenu-qt2 libdlrestrictions1
  libiodbc2 libkatepartinterfaces4 libkcmutils4 libkde3support4
  libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4
  libkemoticons4 libkfile4 libkhtml5 libkidletime4 libkio5 libkjsapi4
  libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4
  libkparts4 libkpty4 libkrosscore4 libktexteditor4 libmysqlclient18
  libnepomuk4 libnepomukquery4a libnepomukutils4 libnss-winbind
  libntrack-qt4-1 libntrack0 libosmesa6 libpam-winbind libphonon4 libplasma3
  libpolkit-qt-1-1 libqca2 libqt4-dbus libqt4-declarative libqt4-designer
  libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql
  libqt4-sql-mysql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtwebkit4
  libsolid4 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0
  libthreadweaver4 libutempter0 libvirtodbc0 mysql-common
  ntrack-module-libnl-0 oxygen-icon-theme phonon phonon-backend-vlc
  plasma-scriptengine-javascript qdbus shared-desktop-ontologies
  soprano-daemon ttf-mscorefonts-installer ttf-umefont ttf-unfonts-core
  virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common
  winbind wine wine-gecko1.7 winetricks
0 upgraded, 106 newly installed, 0 to remove and 0 not upgraded.
Need to get 190 MB of archives.
After this operation, 576 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
mepis wine is not trouble-free in the sense that has a dependency either on

Code: Select all

Recommends: gnome-exe-thumbnailer but it is not installable or
                    kdebase-runtime but it is not going to be installed or
                    kde-runtime but it is not going to be installed
the first one i believe we can't find it in debian, so we have to install

Code: Select all

0 upgraded, 106 newly installed, 0 to remove and 0 not upgraded.
Need to get 190 MB of archives.
After this operation, 576 MB of additional disk space will be used.
during the installation of this package i found an error

Code: Select all

dpkg: error processing /var/cache/apt/archives/winetricks_svn20110324-0mcr_all.deb (--unpack):
 parsing file '/var/lib/dpkg/tmp.ci/control' near line 2 package 'winetricks':
 error in Version string 'svn20110324-0mcr': version number does not start with digit
apt stops soon after and wine is not installed; the fix is quiet easy :D

Code: Select all

sudo dpkg --clear-avail
and rerun the install command (as you can see more than 100 packages were not installed)

Code: Select all

Errors were encountered while processing:
 /var/cache/apt/archives/winetricks_svn20110324-0mcr_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
zerozero@wine ~ $ sudo apt-get install wine
[sudo] password for zerozero: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
104 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Image


3- compiling 32bit wine in lmde 64bit

user andrez posted here an howto



------------------------------------------------------------------------------------------------------------------------------------------------------
as additional info i leave here for now
http://forums.linuxmint.com/viewtopic.p ... 41#p601063
http://forums.linuxmint.com/viewtopic.p ... 63#p601641
http://forums.linuxmint.com/viewtopic.p ... 10#p619560

important (final for now) notes:
- i'm not a wine user, so i appreciate all the help (and with all the info possible);
- surely there's others (alternative) ways to get wine; please share your experiencies;
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.
sobrus

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by sobrus »

But wine is not 32-bit application. It is 64-bit application that can "emulate" 64-bit windows.
At least on Ubuntu and SUSE (i believe Mint Main also)..
Debian version is unfortunately crippled - without WOW64 support. Easy to check - there is no "Program Files (x86)" directory.

And even though it doesn't have WOW64 - it really shouldn't be neccessary to enable multiarch mess.
You can install Wine 64-bit package from Mepis Testing repo (just a SINGLE(!)~15MB download, unfortunately no WOW64 also, I've tested mcr110-amd64):
http://main.mepis-deb.org/mepiscr/testr ... st/w/wine/
together with Gecko (probably required dependency, but I'm not sure)
http://main.mepis-deb.org/mepiscr/testr ... -gecko1.7/
And it works like a charm...without multiarch ...without useless tons of 32-bit packages...

The easiest way is to install/update it using local repository, as described here:
http://forums.linuxmint.com/viewtopic.php?f=197&t=99465

So I don't understand why debian version is so akward....I prefer installing mepis version over up5 multiarch version (not to mention it is 1.5.11 already instead of 1.4.1).

And one more thing about wine on LMDE,

There is a problem with CD/DVD (ASPI) support on LMDE/Debian (programs like ImgBurn won't detect any drive). It doesn't happen on Ubuntu and SUSE (and Mint Main Edition)
I believe there is due to lack legacy scsi support in Debian kernel (there is no /proc/scsi and no /dev/sgX devices on LMDE :() - so volatile device list in windows registry is never populated properly (this is just my theory).
Would it be possible to re-enable /proc/scsi in lmde kernel? It involves recompiling kernel :(. Debian has legacy scsi disabled by default, unlike Ubuntu:
http://cosmicb.no/2011/01/12/procscsi-s ... n-squeeze/

The problem is easy to reproduce - just install LMDE+Wine (any version you can find) on VirtualBox and launch ImgBurn. CD drive won't be detected, but there's no such problem on Mint 13 or Ubuntu.

btw. this is my first post . Hello :) I am openSUSE 11.4 refugee and planning to stay here a bit longer ;)
zerozero

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by zerozero »

hi sobrus :) welcome to the forum and lmde :wink:
about suse and mepis i don't know but about ubuntu and mint-main wine is for sure multiarch >> http://forums.linuxmint.com/viewtopic.php?f=90&t=110875 and >> http://forums.linuxmint.com/viewtopic.php?f=47&t=103612 (the question there is that multiarch is already enabled)

on the other hand we can also find wine (more uptodate than in the debian repo) in liquorix but basically they are ubuntu builds and multiarch as well
sobrus

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by sobrus »

Yes you're right. I've just checked and Mint 13 wine is multiarch too, and multiarch is enabled by default there. So probably this is also true for Ubuntu.
I've never installed Mint/Ubuntu outside Virtualbox (LMDE is much more "tempting") so I don't have much experience with them.

On SUSE there was no problem with 64-bit wine (3 packages to install).
But it seems like it isn't neccessary to enable multiarch to just run wine also on LMDE
Mepis wine package is an example, it runs wonderfully.
I wonder if Mint team could deliver similar 64-bit wine packages as Mepis (if it doesn't mean much work for you). Maybe even use Mepis testing packages?
If not it isn't a big problem - it's easy to install mepis packages anyway :)
Multiarch wine requires about 0.5GB disk space (on Mint13), and lots of packages compared to less than 150MB and one package for x64 version.

I know about Liquorix, but as you said it is also multiarch. Also as far as I remember Liquorix kernel has legacy scsi support disabled too :/
ASPI fix isn't THAT important (wine can detect drive via windows SPTI interface - only if it's mounted somewhere) but it would be nice.
I've been using ImgBurn for years and find it better than Brasero od K3b.
zerozero

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by zerozero »

ahh :D i see now the mepis approach and although is closer to my heart :lol: i'm afraid it's outdated (but take my words with a grain of salt in this matter; i'm a beginner in this wine and multiarch businesses)

so i got mepis repos

Code: Select all

zerozero@deb-kde ~ $ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.linuxmint.com/ debian main upstream import backport romeo incoming
           deb http://ftp.debian.org/debian/ testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
           deb http://www.deb-multimedia.org/ testing main non-free
           deb-src http://ftp.debian.org/debian/ testing main contrib non-free
           deb-src http://security.debian.org/ testing/updates main contrib non-free
           deb-src http://www.deb-multimedia.org/ testing main non-free
           deb http://mozilla.debian.net/ experimental iceweasel-aurora
           deb http://main.mepis-deb.org/mepiscr/testrepo/ mepis11cr test
           deb http://restricted.mepis-deb.org/mepiscr/testrepo/ mepis11cr test-restricted
apt policy shows the default debian and the mepis wine pkgs

Code: Select all

zerozero@deb-kde ~ $ apt policy wine
wine:
  Installed: 1.4.1-1
  Candidate: 1.5.11-1mcr110+1
  Version table:
     1.5.11-1mcr110+1 0
        500 http://main.mepis-deb.org/mepiscr/testrepo/ mepis11cr/test amd64 Packages
 *** 1.4.1-1 0
        500 http://ftp.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
this is not a multiarch system, that wine package you see is just the helper

Code: Select all

zerozero@deb-kde ~ $ dpkg --print-foreign-architectures
zerozero@deb-kde ~ $ 
installing wine from mepis shows the "secret": mepis uses ia32-libs

Code: Select all

zerozero@deb-kde ~ $ sudo apt-get -s install wine
[sudo] password for zerozero: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  aptdaemon-data gir1.2-vte-2.90 libvte-2.90-9 libvte-2.90-common
  python-aptdaemon.gtk3widgets software-properties-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  avahi-daemon bind9-host cups-bsd fonts-horai-umefont fonts-unfonts-core ia32-libs
  lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32nss-mdns lib32stdc++6
  lib32tinfo5 lib32v4l-0 lib32z1 libavahi-core7 libbind9-80 libc6-i386 libdaemon0
  libdns81 libisc83 libisccc80 libisccfg82 liblwres80 libnss-mdns libosmesa6
  ttf-umefont ttf-unfonts-core wine-gecko1.7 winetricks
Suggested packages:                                                                     
  avahi-autoipd ia32-libs-gtk                                                           
Recommended packages:                                                                   
  ttf-symbol-replacement-wine                                                           
The following packages will be REMOVED:                                                 
  wine64-bin                                                                            
The following NEW packages will be installed:                                           
  avahi-daemon bind9-host cups-bsd fonts-horai-umefont fonts-unfonts-core ia32-libs     
  lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32nss-mdns lib32stdc++6          
  lib32tinfo5 lib32v4l-0 lib32z1 libavahi-core7 libbind9-80 libc6-i386 libdaemon0       
  libdns81 libisc83 libisccc80 libisccfg82 liblwres80 libnss-mdns libosmesa6            
  ttf-umefont ttf-unfonts-core wine-gecko1.7 winetricks                                 
The following packages will be upgraded:                                                
  wine
1 upgraded, 30 newly installed, 1 to remove and 34 not upgraded.
sobrus

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by sobrus »

Yes, it is probably using ia32-libs.
Since this package is required by other stuff also (ati fglrx driver?), i have it installed anyway - so I didn't even noticed this dependency.

But what's wrong with ia32-libs and why it is worse than multiarch?
To be honest I don't quite like the idea of multiarch and 0.5GB wine.

edit:
oh I see now. ia32-libs are now being phased out...
Well, it seems like we don't have choice :(
Thanks for clarification.

Liquorix version seems to be the way to go in the long run (just because it is more up to date :)).
ammon

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by ammon »

Just tried to do this, but:
The following packages have unmet dependencies:
wine-bin:i386 : Depends: libwine-bin:i386 (= 1.4.1-2) but it is not going to be installed
seppalta

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by seppalta »

I used the recipe in Section 7 of http://lxlinux.com/debian.html to put Wine on 64-bit LMDE.
zerozero

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by zerozero »

ammon wrote:Just tried to do this, but:
The following packages have unmet dependencies:
wine-bin:i386 : Depends: libwine-bin:i386 (= 1.4.1-2) but it is not going to be installed
ammon,
we need some more info please :)

Code: Select all

inxi -Sr
the full error message would be wonderful as well
zerozero

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by zerozero »

sobrus wrote:[...]
But what's wrong with ia32-libs and why it is worse than multiarch?
To be honest I don't quite like the idea of multiarch [...]
i have to subscribe to this completely ; as i said here multiarch looks like a solution looking for a problem; ok, i understand that ia32-libs is/was a difficult pkg to maintain, wasn't even a clean solution, but how is this better?
seppalta wrote:I used the recipe in Section 7 of http://lxlinux.com/debian.html to put Wine on 64-bit LMDE.
yep, another option keeping ia32-libs.
anmys

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by anmys »

zerozero wrote: on the other hand we can also find wine (more uptodate than in the debian repo) in liquorix
Tried installing wine1.5 from liquorix and it failed. My sources list look like this :

Code: Select all

Repos:   Active apt sources in file: /etc/apt/sources.list
           deb http://free.nchc.org.tw/debian testing main contrib non-free
           deb http://free.nchc.org.tw/debian unstable main contrib non-free
           deb http://free.nchc.org.tw/debian experimental main contrib non-free
           deb http://www.debian-multimedia.org unstable main non-free
           deb http://download.virtualbox.org/virtualbox/debian squeeze contrib
           deb http://liquorix.net/debian/ sid main
           deb http://packages.mate-desktop.org/repo/debian wheezy main
The error is as below :

Code: Select all

# apt-get -t unstable install wine1.5
Reading package lists... Done
Building dependency tree       
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:
 wine1.5 : Depends: wine1.5-i386 (= 1.5.10-1) but it is not installable
           Recommends: ttf-mscorefonts-installer but it is not going to be installed
           Recommends: ttf-umefont but it is not going to be installed
           Recommends: ttf-unfonts-core but it is not going to be installed
           Recommends: ttf-wqy-microhei but it is not going to be installed
           Recommends: winbind but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Regards.
sobrus

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by sobrus »

Are you sure you are running LMDE UP5?
It seems like you are tracking debian testing/sid/exp probably with apt-pinning.
anmys

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by anmys »

sobrus wrote:Are you sure you are running LMDE UP5?
It seems like you are tracking debian testing/sid/exp probably with apt-pinning.
Sorry, I did not mention that. I thought the sources.list was enough :-( I do run lmde on a couple of machines. But, since this issue of wine also interested me, I thought of trying it on a debian machine.

Anyway, does UP5 have some packages not found on main debian repos? I know there are mint specific stuff. I want to know about packages from liquorix which are not installable on debian. I do run the liquorix kernel which is very easy to install via apt-get.

Regards.
zerozero

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by zerozero »

anmys and ammon,
is multiarch enabled in the systems where you are getting those errors?
what's the output of

Code: Select all

dpkg --print-foreign-architectures
anmys

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by anmys »

zerozero wrote: is multiarch enabled in the systems where you are getting those errors?
Sorry, it was not. I enabled it.
what's the output of dpkg --print-foreign-architectures

Code: Select all

# dpkg --print-foreign-architectures
i386
After changing/modifying the sources.list per your earlier post, I did

Code: Select all

# apt-get update
...
# apt-get -t unstable install wine1.5
Reading package lists... Done
Building dependency tree       
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:
 wine1.5 : Depends: wine1.5-i386 (= 1.5.10-1)
E: Unable to correct problems, you have held broken packages.
# dpkg --get-selections | grep hold
acroread					hold
acroread-data				hold
acroread-dictionary-en			hold
acroread-l10n-en				hold
Regards.
zerozero

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by zerozero »

anmys, now i'm a bit confused :lol: about the repos you are tracking.

in this install (debian sid) i can't replicate that issue

Code: Select all

zerozero@debian:~$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb [arch=amd64,i386] http://ftp.debian.org/debian/ unstable main contrib non-free
           deb-src http://ftp.debian.org/debian/ unstable main contrib non-free
           deb [arch=amd64,i386] http://www.deb-multimedia.org/ sid main non-free
           deb-src http://www.deb-multimedia.org/ sid main non-free
           deb http://liquorix.net/debian/ sid main

Code: Select all

zerozero@debian:~$ apt-cache policy wine
wine:
  Installed: 1.4.1-2
  Candidate: 1.5.10-1
  Version table:
     1.5.10-1 0
        500 http://liquorix.net/debian/ sid/main amd64 Packages
 *** 1.4.1-2 0
        500 http://ftp.debian.org/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status

Code: Select all

zerozero@debian:~$ su
Password: 
root@debian:/home/zerozero# apt-get -s install wine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cpp-4.4 dselect fonts-opensymbol fortune-mod g++-4.6 libasprintf0c2:i386
  libavcodec52 libavformat52 libavutil49 libboost-date-time1.42.0
  libboost-thread1.42.0 libcdio10 libcelt0-0 libcroco3:i386 libdvbpsi6
  libebml0 libexo-0.3-0 libgettextpo0:i386 libgmp3c2 libgomp1:i386
  libgraphite3 libgs8 libgsm1:i386 libgtkglext1 libhunspell-1.2-0 libhyphen0
  libicu44 libiso9660-7 libjpeg62 libmatroska0 libmozjs2d libmusicbrainz4c2a
  libmythes-1.2-0 libnl1 libodbc1:i386 libpoppler-glib4 libpoppler-glib6
  libpoppler13 libpoppler5 libpostproc51 libpython2.6 libraptor1 librasqal2
  libreadline5 librecode0 libstdc++6-4.6-dev libswscale0 libsysfs2
  libunistring0:i386 libwine:i386 libwine-alsa:i386 libwine-bin:i386
  libwine-gecko-1.4 libwine-gl:i386 libxcb-atom1 libxcb-aux0 libxcb-event1
  libxcb-render-util0 libxfce4menu-0.1-0 python-iniparse
  syslinux-themes-debian-squeeze ttf-opensymbol wine-bin:i386 xulrunner-1.9.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  amd-opencl-icd:i386 binfmt-support cabextract docbook-xml docbook-xsl
  fonts-horai-umefont fonts-liberation fonts-unfonts-core kate-data katepart
  kde-runtime kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins
  kdoctools libasyncns0:i386 libattica0 libattr1:i386 libavahi-client3:i386
  libavahi-common-data:i386 libavahi-common3:i386 libcap2:i386 libcapi20-3
  libcapi20-3:i386 libclucene0ldbl libcomerr2:i386 libcups2:i386 libdb5.1:i386
  libdbusmenu-qt2 libdlrestrictions1 libexif12:i386 libexiv2-12 libflac8:i386
  libgd2-xpm:i386 libglib2.0-0:i386 libgphoto2-2:i386 libgphoto2-port0:i386
  libgssapi-krb5-2:i386 libgstreamer-plugins-base0.10-0:i386
  libgstreamer0.10-0:i386 libieee1284-3:i386 libilmbase6 libiodbc2
  libjson0:i386 libk5crypto3:i386 libkatepartinterfaces4 libkcmutils4
  libkde3support4 libkdeclarative5 libkdecore5 libkdesu5 libkdeui5
  libkdewebkit5 libkdnssd4 libkemoticons4 libkeyutils1:i386 libkfile4
  libkhtml5 libkidletime4 libkio5 libkjsapi4 libkjsembed4 libkmediaplayer4
  libknewstuff3-4 libknotifyconfig4 libkntlm4 libkparts4 libkpty4
  libkrb5-3:i386 libkrb5support0:i386 libkrosscore4 libktexteditor4
  liblcms1:i386 libldap-2.4-2:i386 libmysqlclient18 libnepomuk4
  libnepomukquery4a libnepomukutils4 libnl-route-3-200 libnss-winbind
  libntrack-qt4-1 libntrack0 libodbc1 libogg0:i386 libopenal1:i386 libopenexr6
  liborc-0.4-0:i386 libpam-winbind libpcre3:i386 libphonon4 libplasma3
  libpolkit-qt-1-1 libpulse0:i386 libqca2 libqt4-declarative libqt4-designer
  libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-sql-mysql
  libqt4-svg libqt4-xmlpatterns libqtwebkit4 libsane:i386 libsane-extras:i386
  libsasl2-2:i386 libsasl2-modules:i386 libselinux1:i386 libsndfile1:i386
  libsolid4 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0
  libthreadweaver4 libusb-0.1-4:i386 libvirtodbc0 libvorbis0a:i386
  libvorbisenc2:i386 libwrap0:i386 libxml2-utils libxpm4:i386 libxt6:i386
  libxtst6:i386 mysql-common ntrack-module-libnl-0 nvidia-libopencl1:i386
  odbcinst odbcinst1debian2 oxygen-icon-theme phonon phonon-backend-vlc
  plasma-scriptengine-javascript sgml-base sgml-data shared-desktop-ontologies
  soprano-daemon ttf-liberation ttf-mscorefonts-installer ttf-umefont
  ttf-unfonts-core ttf-wqy-microhei unixodbc virtuoso-minimal
  virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common winbind wine1.5
  wine1.5-amd64 wine1.5-i386:i386 xml-core
Suggested packages:
  docbook docbook-dsssl docbook-defguide docbook-xsl-doc-html
  docbook-xsl-doc-pdf docbook-xsl-doc-text docbook-xsl-doc libsaxon-java
  libxalan2-java libxslthl-java docbook-xsl-saxon fop xalan dbtoepub
  djvulibre-bin icoutils finger isdnutils-doc isdnutils-doc:i386 exiv2
  libgd-tools:i386 gphoto2:i386 gtkam:i386 krb5-doc:i386 krb5-user:i386
  libvisual-0.4-plugins:i386 gstreamer-codec-install:i386
  gnome-codec-install:i386 gstreamer0.10-tools:i386
  gstreamer0.10-plugins-base:i386 hspell liblcms-utils:i386 libmyodbc
  odbc-postgresql tdsodbc unixodbc-bin libportaudio2:i386 libroar-compat2:i386
  pulseaudio:i386 libqca2-plugin-cyrus-sasl libqca2-plugin-gnupg
  libqca2-plugin-ossl libqt4-declarative-folderlistmodel
  libqt4-declarative-gestures libqt4-declarative-particles
  libqt4-declarative-shaders qt4-qmlviewer libqt4-dev hpoj:i386 hplip:i386
  libsasl2-modules-otp:i386 libsasl2-modules-ldap:i386
  libsasl2-modules-sql:i386 libsasl2-modules-gssapi-mit:i386
  libsasl2-modules-gssapi-heimdal:i386 phonon-backend-gstreamer
  phonon-backend-mplayer sgml-base-doc perlsgml w3-recs opensp dosbox:any
Recommended packages:
  opencl-icd:i386 nvidia-opencl-icd:i386 wine-gecko1.6 gettext:i386
  libgif4:i386 unixodbc:i386 wine-gecko1.6:i386
The following packages will be REMOVED:
  intltool
The following NEW packages will be installed:
  amd-opencl-icd:i386 binfmt-support cabextract docbook-xml docbook-xsl
  fonts-horai-umefont fonts-liberation fonts-unfonts-core kate-data katepart
  kde-runtime kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins
  kdoctools libasyncns0:i386 libattica0 libattr1:i386 libavahi-client3:i386
  libavahi-common-data:i386 libavahi-common3:i386 libcap2:i386 libcapi20-3
  libcapi20-3:i386 libclucene0ldbl libcomerr2:i386 libcups2:i386 libdb5.1:i386
  libdbusmenu-qt2 libdlrestrictions1 libexif12:i386 libexiv2-12 libflac8:i386
  libgd2-xpm:i386 libglib2.0-0:i386 libgphoto2-2:i386 libgphoto2-port0:i386
  libgssapi-krb5-2:i386 libgstreamer-plugins-base0.10-0:i386
  libgstreamer0.10-0:i386 libieee1284-3:i386 libilmbase6 libiodbc2
  libjson0:i386 libk5crypto3:i386 libkatepartinterfaces4 libkcmutils4
  libkde3support4 libkdeclarative5 libkdecore5 libkdesu5 libkdeui5
  libkdewebkit5 libkdnssd4 libkemoticons4 libkeyutils1:i386 libkfile4
  libkhtml5 libkidletime4 libkio5 libkjsapi4 libkjsembed4 libkmediaplayer4
  libknewstuff3-4 libknotifyconfig4 libkntlm4 libkparts4 libkpty4
  libkrb5-3:i386 libkrb5support0:i386 libkrosscore4 libktexteditor4
  liblcms1:i386 libldap-2.4-2:i386 libmysqlclient18 libnepomuk4
  libnepomukquery4a libnepomukutils4 libnl-route-3-200 libnss-winbind
  libntrack-qt4-1 libntrack0 libodbc1 libogg0:i386 libopenal1:i386 libopenexr6
  liborc-0.4-0:i386 libpam-winbind libpcre3:i386 libphonon4 libplasma3
  libpolkit-qt-1-1 libpulse0:i386 libqca2 libqt4-declarative libqt4-designer
  libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-sql-mysql
  libqt4-svg libqt4-xmlpatterns libqtwebkit4 libsane:i386 libsane-extras:i386
  libsasl2-2:i386 libsasl2-modules:i386 libselinux1:i386 libsndfile1:i386
  libsolid4 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0
  libthreadweaver4 libusb-0.1-4:i386 libvirtodbc0 libvorbis0a:i386
  libvorbisenc2:i386 libwrap0:i386 libxml2-utils libxpm4:i386 libxt6:i386
  libxtst6:i386 mysql-common ntrack-module-libnl-0 nvidia-libopencl1:i386
  odbcinst odbcinst1debian2 oxygen-icon-theme phonon phonon-backend-vlc
  plasma-scriptengine-javascript sgml-base sgml-data shared-desktop-ontologies
  soprano-daemon ttf-liberation ttf-mscorefonts-installer ttf-umefont
  ttf-unfonts-core ttf-wqy-microhei unixodbc virtuoso-minimal
  virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common winbind wine1.5
  wine1.5-amd64 wine1.5-i386:i386 xml-core
The following packages will be upgraded:
  wine
1 upgraded, 153 newly installed, 1 to remove and 2 not upgraded.
Remv intltool [0.50.2-2]
the install (simulated) output of the liquorix wine is a complete mess in my system because of this (a recommend on a specific gnome or kde pkg- and all would be fine unless you are running xfce and/or lxde)
anmys

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by anmys »

zerozero wrote: in this install (debian sid) i can't replicate that issue
I manually tried installing wine1.5-i386 as

Code: Select all

# apt-get -s -t unstable install wine1.5-i386 wine1.5
Everything appeared to be ok. But, I am a bit worried about installing the package as it pulls in many i386 packages. What I have right now on my system is dev.carbon site which seems to have lot less dependencies on i386 packages.

Thanks for help.

Regards.
zerozero

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by zerozero »

anmys,
good you found a solution that better suits you, but regarding your concern about i386 depends that is the goal of multiarch: make i386 seamless installable in amd64 systems.
roger64
Level 4
Level 4
Posts: 279
Joined: Wed Jun 01, 2011 5:48 am

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by roger64 »

seppalta wrote:I used the recipe in Section 7 of http://lxlinux.com/debian.html to put Wine on 64-bit LMDE.
Thanks for the link. I succeeded too to upgrade my previous 1.4.1 Wine this way on my 64-bit LMDE.

First, I had to delete using Synaptic everything related to Wine and libwine to make a clean install.
It complained at the end that "libc6-dev-i386" was missing. I installed it which triggered other installs. In the end everything went smoothly.
anmys

Re: LMDE (64bit) -pos UP5- The WINE issue

Post by anmys »

Decided to try installing wine from liquorix on an lmde setup with UP5 installed. Here are the steps I followed:

Code: Select all

# dpkg --add-architecture i386
# sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
# apt-get update
# apt-get dist-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
My sources.list

Code: Select all

# inxi -r -c0
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb [arch=amd64,i386] http://packages.linuxmint.com/ debian main upstream import
           deb [arch=amd64,i386] http://mirror.rts-informatique.fr/linuxmint/debian/latest testing main contrib non-free
           deb [arch=amd64,i386] http://mirror.rts-informatique.fr/linuxmint/debian/latest/security testing/updates main contrib non-free
           deb [arch=amd64,i386] http://mirror.rts-informatique.fr/linuxmint/debian/latest/multimedia testing main non-free
           deb [arch=amd64,i386] http://liquorix.net/debian/ sid main
So far, everything looks fine. Now for the problem part:

Code: Select all

# apt-get install wine1.5
...
The following packages have unmet dependencies:
 wine1.5 : Depends: wine1.5-i386 (= 1.5.12-1)
E: Unable to correct problems, you have held broken packages.
So, I tried as before

Code: Select all

# apt-get install wine1.5 wine1.5-i386
...
The following packages have unmet dependencies:
 wine1.5-i386:i386 : Depends: libpulse0:i386 (>= 0.99.1) but it is not going to be installed
                     Recommends: gettext:i386 but it is not going to be installed
                     Recommends: libgif4:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Any pointers would be helpful.

Regards.
Locked

Return to “LMDE Archive”