Page 1 of 1

Wine installs on 64 bit, aptitude wants to remove it SOLVED

Posted: Thu Nov 29, 2012 6:19 pm
by peyrol
I am running Linux Mint Debian, Kernel Linux 3.2.0-3-amd64. When I installed the Wine package with aptitude and ran it, it said:

EDIT: Since my UP6 upgrade, this is no longer the case. I can install a recent enough version of Wine with aptitude's blessing (and automation.)

Code: Select all

david@achernar:~/tarballs/tkman/tkman-2.2$ wine &
[2] 6035
david@achernar:~/tarballs/tkman/tkman-2.2$ This is the wine64-bin helper package, which does not provide wine itself,
but instead exists solely to provide the following information about
enabling multiarch on your system in order to be able to install and run
the 32-bit wine packages.

The following commands should be issued as root or via sudo in order to
enable multiarch (the last command installs 32-bit wine):

# dpkg --add-architecture i386
# sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
# apt-get update
# apt-get install wine-bin:i386

Be very careful as spaces matter above. For kfreebsd systems, replace i386
and amd64 with kfreebsd-i386 and kfreebsd-amd64. Note that this package
(wine64-bin) will be removed in the process. For more information on the
multiarch conversion, see:
http://wiki.debian.org/Multiarch/HOWTO

[2]+ Done wine
See the following session log. I installed Wine as described, without error. I was able to run a Wine app.
Then I ran aptitude again, and it immediately "suggested" in two red lines along the bottom of the screen
that I should remove the files. I pressed e to examine my options, and there were only two, both of which
involved removal of the i386 libraries and stuff. I don't have a record of the specific dependency conflicts
aptitude complained about, but the session log shows what files were removed. I chose the first option
and implemented it. Then when I was returned to aptitude, I pressed g and one more file had to be
removed, which is shown in the log below.

Code: Select all

david@achernar:~/tarballs/tkman/tkman-2.2$ sudo dpkg --add-architecture i386
[sudo] password for david:
david@achernar:~/tarballs/tkman/tkman-2.2$ sudo sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
david@achernar:~/tarballs/tkman/tkman-2.2$ sudo apt-get update
Hit http://lmde-mirror.gwendallebihan.net testing InRelease
Hit http://lmde-mirror.gwendallebihan.net testing/updates InRelease
Ign http://lmde-mirror.gwendallebihan.net testing InRelease
Hit http://lmde-mirror.gwendallebihan.net testing/main amd64 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/contrib amd64 Packages/DiffIndex
Ign http://packages.linuxmint.com debian InRelease
Hit http://lmde-mirror.gwendallebihan.net testing/non-free amd64 Packages/DiffIndex
Get:1 http://packages.linuxmint.com debian Release.gpg [197 B]
Get:2 http://lmde-mirror.gwendallebihan.net testing/main i386 Packages [5,968 kB]
Get:3 http://packages.linuxmint.com debian Release [15.6 kB]
Get:4 http://packages.linuxmint.com debian/main amd64 Packages [17.1 kB]
Get:5 http://packages.linuxmint.com debian/upstream amd64 Packages [5,387 B]
Get:6 http://packages.linuxmint.com debian/import amd64 Packages [63.7 kB]
Get:7 http://packages.linuxmint.com debian/main i386 Packages [17.1 kB]
Get:8 http://packages.linuxmint.com debian/upstream i386 Packages [5,383 B]
Get:9 http://packages.linuxmint.com debian/import i386 Packages [63.3 kB]
Get:10 http://lmde-mirror.gwendallebihan.net testing/contrib i386 Packages [44.4 kB]
Get:11 http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages [76.0 kB]
Ign http://packages.linuxmint.com debian/import Translation-en_US
Hit http://lmde-mirror.gwendallebihan.net testing/contrib Translation-en/DiffIndex
Ign http://packages.linuxmint.com debian/import Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/main Translation-en/DiffIndex
Ign http://packages.linuxmint.com debian/main Translation-en_US
Hit http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en/DiffIndex
Ign http://packages.linuxmint.com debian/main Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/updates/main amd64 Packages
Ign http://packages.linuxmint.com debian/upstream Translation-en_US
Hit http://lmde-mirror.gwendallebihan.net testing/updates/contrib amd64 Packages
Ign http://packages.linuxmint.com debian/upstream Translation-en
Hit http://lmde-mirror.gwendallebihan.net testing/updates/non-free amd64 Packages
Get:12 http://lmde-mirror.gwendallebihan.net testing/updates/main i386 Packages [14 B]
Get:13 http://lmde-mirror.gwendallebihan.net testing/updates/contrib i386 Packages [14 B]
Get:14 http://lmde-mirror.gwendallebihan.net testing/updates/non-free i386 Packages [14 B]
Hit http://lmde-mirror.gwendallebihan.net testing Release.gpg
Hit http://lmde-mirror.gwendallebihan.net testing Release
Hit http://lmde-mirror.gwendallebihan.net testing/main amd64 Packages/DiffIndex
Hit http://lmde-mirror.gwendallebihan.net testing/non-free amd64 Packages/DiffIndex
Get:15 http://lmde-mirror.gwendallebihan.net testing/main i386 Packages [93.0 kB]
Get:16 http://lmde-mirror.gwendallebihan.net testing/non-free i386 Packages [5,638 B]
Ign http://lmde-mirror.gwendallebihan.net testing/updates/contrib Translation-en_US
Ign http://lmde-mirror.gwendallebihan.net testing/updates/contrib Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/updates/main Translation-en_US
Ign http://lmde-mirror.gwendallebihan.net testing/updates/main Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/updates/non-free Translation-en_US
Ign http://lmde-mirror.gwendallebihan.net testing/updates/non-free Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-en_US
Ign http://lmde-mirror.gwendallebihan.net testing/main Translation-en
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en_US
Ign http://lmde-mirror.gwendallebihan.net testing/non-free Translation-en
Fetched 6,375 kB in 2min 14s (47.4 kB/s)
Reading package lists... Done
david@achernar:~/tarballs/tkman/tkman-2.2$ 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
Get:1 http://lmde-mirror.gwendallebihan.net/latest/ testing/main gcc-4.7-base i386 4.7.1-2 [141 kB]
Get:2 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libgcc1 i386 1:4.7.1-2 [53.3 kB]
Get:3 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libc6 i386 2.13-33 [3,921 kB]
Get:4 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libtinfo5 i386 5.9-10 [269 kB]
Get:5 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libncurses5 i386 5.9-10 [117 kB]
Get:6 http://lmde-mirror.gwendallebihan.net/latest/ testing/main zlib1g i386 1:1.2.7.dfsg-13 [91.0 kB]
Get:7 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libfreetype6 i386 2.4.9-1 [453 kB]
Get:8 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libice6 i386 2:1.0.8-2 [61.7 kB]
Get:9 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libjpeg8 i386 8d-1 [132 kB]
Get:10 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libmpg123-0 i386 1.14.2+svn20120622-1 [153 kB]
Get:11 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libpng12-0 i386 1.2.49-1 [192 kB]
Get:12 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libuuid1 i386 2.20.1-5.1 [57.6 kB]
Get:13 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libsm6 i386 2:1.2.1-2 [33.7 kB]
Get:14 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libssl1.0.0 i386 1.0.1c-3 [3,022 kB]
Get:15 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxau6 i386 1:1.0.7-1 [18.6 kB]
Get:16 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxdmcp6 i386 1:1.1.1-1 [27.0 kB]
Get:17 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxcb1 i386 1.8.1-1 [53.8 kB]
Get:18 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libx11-6 i386 2:1.5.0-1 [907 kB]
Get:19 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxfixes3 i386 1:5.0-4 [21.2 kB]
Get:20 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxrender1 i386 1:0.9.7-1 [32.0 kB]
Get:21 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxcursor1 i386 1:1.1.13-1 [27.3 kB]
Get:22 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxext6 i386 2:1.3.1-2 [55.2 kB]
Get:23 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxi6 i386 2:1.6.1-1 [75.5 kB]
Get:24 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxinerama1 i386 2:1.1.2-1 [16.7 kB]
Get:25 http://lmde-mirror.gwendallebihan.net/latest/ testing/main liblzma5 i386 5.1.1alpha+20120614-1 [207 kB]
Get:26 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxml2 i386 2.8.0+dfsg1-4 [892 kB]
Get:27 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxrandr2 i386 2:1.3.2-2 [33.2 kB]
Get:28 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libwine i386 1.4.1-1 [17.0 MB]
Get:29 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libwine-bin i386 1.4.1-1 [2,898 kB]
Get:30 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libwine-gecko-1.4 all 1.4+dfsg-2 [29.8 MB]
Get:31 http://lmde-mirror.gwendallebihan.net/latest/ testing/main wine-bin i386 1.4.1-1 [47.8 kB]
Get:32 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libstdc++6 i386 4.7.1-2 [346 kB]
Get:33 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libgpm2 i386 1.20.4-6 [35.9 kB]
Get:34 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libasound2 i386 1.0.25-3 [463 kB]
Get:35 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libdrm2 i386 2.4.33-3 [445 kB]
Get:36 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libpciaccess0 i386 0.13.1-2 [48.1 kB]
Get:37 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libdrm-intel1 i386 2.4.33-3 [478 kB]
Get:38 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libdrm-nouveau1a i386 2.4.33-3 [433 kB]
Get:39 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libdrm-radeon1 i386 2.4.33-3 [440 kB]
Get:40 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libexpat1 i386 2.1.0-1 [140 kB]
Get:41 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libffi5 i386 3.0.10-3 [21.0 kB]
Get:42 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libglapi-mesa i386 8.0.3-1 [57.0 kB]
Get:43 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libx11-xcb1 i386 2:1.5.0-1 [139 kB]
Get:44 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxcb-glx0 i386 1.8.1-1 [34.1 kB]
Get:45 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxdamage1 i386 1:1.1.3-2 [14.1 kB]
Get:46 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxxf86vm1 i386 1:1.1.2-1 [19.3 kB]
Get:47 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libgl1-mesa-glx i386 8.0.3-1 [166 kB]
Get:48 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libglu1-mesa i386 8.0.3-1 [229 kB]
Get:49 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libgsm1 i386 1.0.13-4 [30.0 kB]
Get:50 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libxcomposite1 i386 1:0.4.3-2 [16.6 kB]
Get:51 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libc6-i686 i386 2.13-33 [1,243 kB]
Get:52 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libgl1-mesa-dri i386 8.0.3-1 [33.9 MB]
Get:53 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libwine-alsa i386 1.4.1-1 [48.8 kB]
Get:54 http://lmde-mirror.gwendallebihan.net/latest/ testing/main libwine-gl i386 1.4.1-1 [778 kB]
Fetched 100 MB in 19min 36s (85.3 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package gcc-4.7-base:i386.
(Reading database ... 465174 files and directories currently installed.)
Unpacking gcc-4.7-base:i386 (from .../gcc-4.7-base_4.7.1-2_i386.deb) ...
Selecting previously unselected package libgcc1:i386.
Unpacking libgcc1:i386 (from .../libgcc1_1%3a4.7.1-2_i386.deb) ...
Selecting previously unselected package libc6:i386.
Unpacking libc6:i386 (from .../libc6_2.13-33_i386.deb) ...
Replacing files in old package libc6-i386 ...
Selecting previously unselected package libtinfo5:i386.
Unpacking libtinfo5:i386 (from .../libtinfo5_5.9-10_i386.deb) ...
Setting up gcc-4.7-base:i386 (4.7.1-2) ...
Setting up libgcc1:i386 (1:4.7.1-2) ...
Setting up libc6:i386 (2.13-33) ...
Setting up libtinfo5:i386 (5.9-10) ...
Selecting previously unselected package libncurses5:i386.
(Reading database ... 465478 files and directories currently installed.)
Unpacking libncurses5:i386 (from .../libncurses5_5.9-10_i386.deb) ...
Selecting previously unselected package zlib1g:i386.
Unpacking zlib1g:i386 (from .../zlib1g_1%3a1.2.7.dfsg-13_i386.deb) ...
Selecting previously unselected package libfreetype6:i386.
Unpacking libfreetype6:i386 (from .../libfreetype6_2.4.9-1_i386.deb) ...
Selecting previously unselected package libice6:i386.
Unpacking libice6:i386 (from .../libice6_2%3a1.0.8-2_i386.deb) ...
Selecting previously unselected package libjpeg8:i386.
Unpacking libjpeg8:i386 (from .../libjpeg8_8d-1_i386.deb) ...
Selecting previously unselected package libmpg123-0:i386.
Unpacking libmpg123-0:i386 (from .../libmpg123-0_1.14.2+svn20120622-1_i386.deb) ...
Selecting previously unselected package libpng12-0:i386.
Unpacking libpng12-0:i386 (from .../libpng12-0_1.2.49-1_i386.deb) ...
Selecting previously unselected package libuuid1:i386.
Unpacking libuuid1:i386 (from .../libuuid1_2.20.1-5.1_i386.deb) ...
Selecting previously unselected package libsm6:i386.
Unpacking libsm6:i386 (from .../libsm6_2%3a1.2.1-2_i386.deb) ...
Selecting previously unselected package libssl1.0.0:i386.
Unpacking libssl1.0.0:i386 (from .../libssl1.0.0_1.0.1c-3_i386.deb) ...
Selecting previously unselected package libxau6:i386.
Unpacking libxau6:i386 (from .../libxau6_1%3a1.0.7-1_i386.deb) ...
Selecting previously unselected package libxdmcp6:i386.
Unpacking libxdmcp6:i386 (from .../libxdmcp6_1%3a1.1.1-1_i386.deb) ...
Selecting previously unselected package libxcb1:i386.
Unpacking libxcb1:i386 (from .../libxcb1_1.8.1-1_i386.deb) ...
Selecting previously unselected package libx11-6:i386.
Unpacking libx11-6:i386 (from .../libx11-6_2%3a1.5.0-1_i386.deb) ...
Selecting previously unselected package libxfixes3:i386.
Unpacking libxfixes3:i386 (from .../libxfixes3_1%3a5.0-4_i386.deb) ...
Selecting previously unselected package libxrender1:i386.
Unpacking libxrender1:i386 (from .../libxrender1_1%3a0.9.7-1_i386.deb) ...
Selecting previously unselected package libxcursor1:i386.
Unpacking libxcursor1:i386 (from .../libxcursor1_1%3a1.1.13-1_i386.deb) ...
Selecting previously unselected package libxext6:i386.
Unpacking libxext6:i386 (from .../libxext6_2%3a1.3.1-2_i386.deb) ...
Selecting previously unselected package libxi6:i386.
Unpacking libxi6:i386 (from .../libxi6_2%3a1.6.1-1_i386.deb) ...
Selecting previously unselected package libxinerama1:i386.
Unpacking libxinerama1:i386 (from .../libxinerama1_2%3a1.1.2-1_i386.deb) ...
Selecting previously unselected package liblzma5:i386.
Unpacking liblzma5:i386 (from .../liblzma5_5.1.1alpha+20120614-1_i386.deb) ...
Selecting previously unselected package libxml2:i386.
Unpacking libxml2:i386 (from .../libxml2_2.8.0+dfsg1-4_i386.deb) ...
Selecting previously unselected package libxrandr2:i386.
Unpacking libxrandr2:i386 (from .../libxrandr2_2%3a1.3.2-2_i386.deb) ...
Selecting previously unselected package libwine.
Unpacking libwine (from .../libwine_1.4.1-1_i386.deb) ...
Selecting previously unselected package libwine-bin:i386.
Unpacking libwine-bin:i386 (from .../libwine-bin_1.4.1-1_i386.deb) ...
Selecting previously unselected package libwine-gecko-1.4.
Unpacking libwine-gecko-1.4 (from .../libwine-gecko-1.4_1.4+dfsg-2_all.deb) ...
Processing triggers for doc-base ...
Processing triggers for man-db ...
dpkg: wine64-bin: dependency problems, but removing anyway as you requested:
wine depends on wine-bin (>= 1.4.1-1) | wine64-bin (>= 1.4.1-1); however:
Package wine-bin is not installed.
Package wine64-bin is to be removed.
(Reading database ... 466488 files and directories currently installed.)
Removing wine64-bin ...
Selecting previously unselected package wine-bin.
(Reading database ... 466487 files and directories currently installed.)
Unpacking wine-bin (from .../wine-bin_1.4.1-1_i386.deb) ...
Processing triggers for mime-support ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Setting up libncurses5:i386 (5.9-10) ...
Setting up zlib1g:i386 (1:1.2.7.dfsg-13) ...
Setting up libfreetype6:i386 (2.4.9-1) ...
Setting up libice6:i386 (2:1.0.8-2) ...
Setting up libjpeg8:i386 (8d-1) ...
Setting up libmpg123-0:i386 (1.14.2+svn20120622-1) ...
Setting up libpng12-0:i386 (1.2.49-1) ...
Setting up libuuid1:i386 (2.20.1-5.1) ...
Setting up libsm6:i386 (2:1.2.1-2) ...
Setting up libssl1.0.0:i386 (1.0.1c-3) ...
Setting up libxau6:i386 (1:1.0.7-1) ...
Setting up libxdmcp6:i386 (1:1.1.1-1) ...
Setting up libxcb1:i386 (1.8.1-1) ...
Setting up libx11-6:i386 (2:1.5.0-1) ...
Setting up libxfixes3:i386 (1:5.0-4) ...
Setting up libxrender1:i386 (1:0.9.7-1) ...
Setting up libxcursor1:i386 (1:1.1.13-1) ...
Setting up libxext6:i386 (2:1.3.1-2) ...
Setting up libxi6:i386 (2:1.6.1-1) ...
Setting up libxinerama1:i386 (2:1.1.2-1) ...
Setting up liblzma5:i386 (5.1.1alpha+20120614-1) ...
Setting up libxml2:i386 (2.8.0+dfsg1-4) ...
Setting up libxrandr2:i386 (2:1.3.2-2) ...
Setting up libwine (1.4.1-1) ...
Setting up libwine-bin:i386 (1.4.1-1) ...
Setting up libwine-gecko-1.4 (1.4+dfsg-2) ...
Setting up wine-bin (1.4.1-1) ...
update-binfmts: warning: /usr/share/binfmts/wine: no executable /usr/bin/wine-auto found, but continuing anyway as you request
update-alternatives: using /usr/bin/wine32 to provide /usr/bin/wine (wine) in auto mode.
update-alternatives: warning: skip creation of /usr/share/man/fr.UTF-8/man1/wine.1.gz because associated file /usr/share/man/fr.UTF-8/man1/wine32.1.gz (of link group wine) doesn't exist.
update-alternatives: warning: skip creation of /usr/share/man/de.UTF-8/man1/wine.1.gz because associated file /usr/share/man/de.UTF-8/man1/wine32.1.gz (of link group wine) doesn't exist.
update-alternatives: warning: skip creation of /usr/share/man/pl.UTF-8/man1/wine.1.gz because associated file /usr/share/man/pl.UTF-8/man1/wine32.1.gz (of link group wine) doesn't exist.
Selecting previously unselected package libstdc++6:i386.
(Reading database ... 466523 files and directories currently installed.)
Unpacking libstdc++6:i386 (from .../libstdc++6_4.7.1-2_i386.deb) ...
Selecting previously unselected package libgpm2:i386.
Unpacking libgpm2:i386 (from .../libgpm2_1.20.4-6_i386.deb) ...
Selecting previously unselected package libasound2:i386.
Unpacking libasound2:i386 (from .../libasound2_1.0.25-3_i386.deb) ...
Selecting previously unselected package libdrm2:i386.
Unpacking libdrm2:i386 (from .../libdrm2_2.4.33-3_i386.deb) ...
Selecting previously unselected package libpciaccess0:i386.
Unpacking libpciaccess0:i386 (from .../libpciaccess0_0.13.1-2_i386.deb) ...
Selecting previously unselected package libdrm-intel1:i386.
Unpacking libdrm-intel1:i386 (from .../libdrm-intel1_2.4.33-3_i386.deb) ...
Selecting previously unselected package libdrm-nouveau1a:i386.
Unpacking libdrm-nouveau1a:i386 (from .../libdrm-nouveau1a_2.4.33-3_i386.deb) ...
Selecting previously unselected package libdrm-radeon1:i386.
Unpacking libdrm-radeon1:i386 (from .../libdrm-radeon1_2.4.33-3_i386.deb) ...
Selecting previously unselected package libexpat1:i386.
Unpacking libexpat1:i386 (from .../libexpat1_2.1.0-1_i386.deb) ...
Selecting previously unselected package libffi5:i386.
Unpacking libffi5:i386 (from .../libffi5_3.0.10-3_i386.deb) ...
Selecting previously unselected package libglapi-mesa:i386.
Unpacking libglapi-mesa:i386 (from .../libglapi-mesa_8.0.3-1_i386.deb) ...
Selecting previously unselected package libx11-xcb1:i386.
Unpacking libx11-xcb1:i386 (from .../libx11-xcb1_2%3a1.5.0-1_i386.deb) ...
Selecting previously unselected package libxcb-glx0:i386.
Unpacking libxcb-glx0:i386 (from .../libxcb-glx0_1.8.1-1_i386.deb) ...
Selecting previously unselected package libxdamage1:i386.
Unpacking libxdamage1:i386 (from .../libxdamage1_1%3a1.1.3-2_i386.deb) ...
Selecting previously unselected package libxxf86vm1:i386.
Unpacking libxxf86vm1:i386 (from .../libxxf86vm1_1%3a1.1.2-1_i386.deb) ...
Selecting previously unselected package libgl1-mesa-glx:i386.
Unpacking libgl1-mesa-glx:i386 (from .../libgl1-mesa-glx_8.0.3-1_i386.deb) ...
Selecting previously unselected package libglu1-mesa:i386.
Unpacking libglu1-mesa:i386 (from .../libglu1-mesa_8.0.3-1_i386.deb) ...
Selecting previously unselected package libgsm1:i386.
Unpacking libgsm1:i386 (from .../libgsm1_1.0.13-4_i386.deb) ...
Selecting previously unselected package libxcomposite1:i386.
Unpacking libxcomposite1:i386 (from .../libxcomposite1_1%3a0.4.3-2_i386.deb) ...
Selecting previously unselected package libc6-i686:i386.
Unpacking libc6-i686:i386 (from .../libc6-i686_2.13-33_i386.deb) ...
Selecting previously unselected package libgl1-mesa-dri:i386.
Unpacking libgl1-mesa-dri:i386 (from .../libgl1-mesa-dri_8.0.3-1_i386.deb) ...
Selecting previously unselected package libwine-alsa:i386.
Unpacking libwine-alsa:i386 (from .../libwine-alsa_1.4.1-1_i386.deb) ...
Selecting previously unselected package libwine-gl:i386.
Unpacking libwine-gl:i386 (from .../libwine-gl_1.4.1-1_i386.deb) ...
Setting up libstdc++6:i386 (4.7.1-2) ...
Setting up libgpm2:i386 (1.20.4-6) ...
Setting up libasound2:i386 (1.0.25-3) ...
Setting up libdrm2:i386 (2.4.33-3) ...
Setting up libpciaccess0:i386 (0.13.1-2) ...
Setting up libdrm-intel1:i386 (2.4.33-3) ...
Setting up libdrm-nouveau1a:i386 (2.4.33-3) ...
Setting up libdrm-radeon1:i386 (2.4.33-3) ...
Setting up libexpat1:i386 (2.1.0-1) ...
Setting up libffi5:i386 (3.0.10-3) ...
Setting up libglapi-mesa:i386 (8.0.3-1) ...
Setting up libx11-xcb1:i386 (2:1.5.0-1) ...
Setting up libxcb-glx0:i386 (1.8.1-1) ...
Setting up libxdamage1:i386 (1:1.1.3-2) ...
Setting up libxxf86vm1:i386 (1:1.1.2-1) ...
Setting up libgl1-mesa-glx:i386 (8.0.3-1) ...
Setting up libglu1-mesa:i386 (8.0.3-1) ...
Setting up libgsm1:i386 (1.0.13-4) ...
Setting up libxcomposite1:i386 (1:0.4.3-2) ...
Setting up libc6-i686:i386 (2.13-33) ...
Setting up libgl1-mesa-dri:i386 (8.0.3-1) ...
Setting up libwine-alsa:i386 (1.4.1-1) ...
Setting up libwine-gl:i386 (1.4.1-1) ...
david@achernar:~/tarballs/tkman/tkman-2.2$ sudo aptitude
[sudo] password for david:
david@achernar:~/tarballs/tkman/tkman-2.2$ sudo aptitude
(Reading database ... 466685 files and directories currently installed.)
Removing libwine-alsa:i386 ...
Removing libasound2:i386 ...
Removing libwine-gl:i386 ...
dpkg: wine-bin: dependency problems, but removing anyway as you requested:
wine depends on wine-bin (>= 1.4.1-1) | wine64-bin (>= 1.4.1-1); however:
Package wine-bin is to be removed.
Package wine64-bin is not installed.
Removing wine-bin ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for mime-support ...
Selecting previously unselected package wine64-bin.
(Reading database ... 466586 files and directories currently installed.)
Unpacking wine64-bin (from .../wine64-bin_1.4.1-1_amd64.deb) ...
Setting up wine64-bin (1.4.1-1) ...
(Reading database ... 466587 files and directories currently installed.)
Removing libwine-bin:i386 ...
Removing libwine ...
Removing libssl1.0.0:i386 ...
Removing libxml2:i386 ...
Removing libpng12-0:i386 ...
Removing libgl1-mesa-dri:i386 ...
Removing libdrm-intel1:i386 ...
Removing libpciaccess0:i386 ...
Removing libfreetype6:i386 ...
Removing zlib1g:i386 ...
Removing liblzma5:i386 ...
Removing libsm6:i386 ...
Removing libuuid1:i386 ...
Removing libncurses5:i386 ...
Removing libtinfo5:i386 ...
Removing libmpg123-0:i386 ...
Removing libglu1-mesa:i386 ...
Removing libgl1-mesa-glx:i386 ...
Removing libglapi-mesa:i386 ...
Removing libxxf86vm1:i386 ...
Removing libxrandr2:i386 ...
Removing libxcursor1:i386 ...
Removing libxrender1:i386 ...
Removing libxinerama1:i386 ...
Removing libxi6:i386 ...
Removing libxdamage1:i386 ...
Removing libxfixes3:i386 ...
Removing libxext6:i386 ...
Removing libxcb-glx0:i386 ...
Removing libxcomposite1:i386 ...
Removing libx11-xcb1:i386 ...
Removing libx11-6:i386 ...
Removing libxcb1:i386 ...
Removing libxdmcp6:i386 ...
Removing libxau6:i386 ...
Removing libjpeg8:i386 ...
Removing libice6:i386 ...
Removing libgsm1:i386 ...
Removing libffi5:i386 ...
Removing libdrm-radeon1:i386 ...
Removing libdrm-nouveau1a:i386 ...
Removing libdrm2:i386 ...
Removing libgpm2:i386 ...
Removing libstdc++6:i386 ...
Removing libexpat1:i386 ...
Removing libc6-i686:i386 ...
Removing lzma ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode.
Removing libc6:i386 ...
Removing libgcc1:i386 ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Press Return to continue.

(Reading database ... 465175 files and directories currently installed.)
Removing libwine-gecko-1.4 ...
Press Return to continue.

david@achernar:~/tarballs/tkman/tkman-2.2$

Of course, Wine did not work after that. Unfortunately, neither did aptitude!
Here is what happened when I tried to reinstall Wine:

Code: Select all

david@achernar:~/tarball extraction/tkman/tkman-2.2$ sudo dpkg --add-architecture i386
[sudo] password for david:
david@achernar:~/tarball extraction/tkman/tkman-2.2$ sudo sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
david@achernar:~/tarball extraction/tkman/tkman-2.2$ sudo apt-get update
E: Malformed line 1 in source list /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
david@achernar:~/tarball extraction/tkman/tkman-2.2$
I get the same error now when I invoke aptitude. Here is sources.list:

Code: Select all

deb [arch=amd64,i386] [arch=amd64,i386] http://packages.linuxmint.com/ debian main upstream import
deb [arch=amd64,i386] [arch=amd64,i386] http://lmde-mirror.gwendallebihan.net/latest testing main contrib non-free
deb [arch=amd64,i386] [arch=amd64,i386] http://lmde-mirror.gwendallebihan.net/latest/security testing/updates main contrib non-free
deb [arch=amd64,i386] [arch=amd64,i386] http://lmde-mirror.gwendallebihan.net/latest/multimedia testing main non-free
I don't know what sources.list looked like before I did any of this.
I removed all 8 instances of the ",i386" string from the file, but that did not fix the problem.

Any clue would be appreciated.

Re: Wine installs on 64 bit, then aptitude wants to remove i

Posted: Thu Nov 29, 2012 7:32 pm
by zerozero
hi peyrol :wink:
welcome to the forums and lmde
we have here a few issues :lol: let's see if i can go through them all

1.
we only convert to multiarch once; this >>

Code: Select all

# dpkg --add-architecture i386
# sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
# apt-get update
your sources.list should look like this after the multiarch conversion

Code: Select all

deb [arch=amd64,i386] http://packages.linuxmint.com/ debian main upstream import
deb [arch=amd64,i386] http://lmde-mirror.gwendallebihan.net/latest testing main contrib non-free
deb [arch=amd64,i386] http://lmde-mirror.gwendallebihan.net/latest/security testing/updates main contrib non-free
deb [arch=amd64,i386] http://lmde-mirror.gwendallebihan.net/latest/multimedia testing main non-free
(only one set of arch; each time you run the command above you are adding another set and breaking the sources.list)

2.
wine installs fine this way but as soon as you run aptitude it goes away, right?
- first you shouldn't be mixing apt and aptitude; it's one or the other; they use different algorithms and don't know what the other package manager installed/uninstalled (this is specially dangerous when using aptitude because is more aggressive -as you saw)
- if you need/want/have to use apt for something and then aptitude run as first command always

Code: Select all

#aptitude keep-all 
now aptitude won't uninstall half your system in a simple update :lol:

this topic might be interesting http://forums.linuxmint.com/viewtopic.p ... 0&t=111026


(just a small meta-question: please use code tags with terminal outputs)

Re: Wine installs on 64 bit, then aptitude wants to remove i

Posted: Thu Nov 29, 2012 11:23 pm
by peyrol
Thanks for your patience. I find it amazing that I went to all the trouble to edit out 8 instances of ",i386" AND put them back again, but did not see anything unusual with two copies of arch on each line. So now aptitude seems to behave itself again. Oh, and thanks for the clue about using the Code button.

I will try your option 3, to build and install the latest Wine tarball from source, for the following reason: That one Windows app which I was able to run so far exhibited some strange behavior which I suspect is due to a memory leakage problem. I would like to ask about this in the WineHQ forum, but I'm sure they will say "You aren't using the latest upgrade? Gee that's too bad." I see your link to andrez's excellent tutorial on installing this. It appears the latest official Wine source package is 1.3.13. but I have a couple questions.

The source is an rpm package. Should I use alien to convert it to Debian?

Just to make sure, There is no 64 bit source code package for Wine, right?

Thanks again!

Re: Wine installs on 64 bit, then aptitude wants to remove i

Posted: Fri Nov 30, 2012 7:13 am
by zerozero
peyrol wrote:Just to make sure, There is no 64 bit source code package for Wine, right?
not as far as i know (unfortunately may i say)
peyrol wrote: It appears the latest official Wine source package is 1.3.13
if you browse to the middle (more or less) of this page http://sourceforge.net/projects/wine/files/Source/ you'll see wine-1.5.18.tar.bz2 that's the latest source code.
you're welcome :)