J'utilise ppa:ubuntu-wine/ppa
dans 12.04. Aujourd'hui, lorsque je mets à jour le système, il supprime mon ancien vin 1.5 mais la version 1.6 ne peut pas être installée.
Et vous ? Merci
Edit: J'utilise 'apt-get dist-upgrade' pour mettre à jour le système.
Maintenant, je retire d’abord le vin 1.5 et m’installe 1.6.
$ Sudo apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ttf-umefont libipc-run-Perl libnet-ip-Perl diffstat libnet-dns-Perl
libclone-Perl libsbsms10 libportsmf0 language-pack-kde-zh-hans-base
libio-pty-Perl wine-gecko1.4 wine-gecko1.4:i386 wine-gecko1.9
wine-gecko1.9:i386 audacity-data language-pack-kde-en kde-l10n-engb
libnet-domain-tld-Perl language-pack-kde-zh-hant-base libemail-valid-Perl
ttf-unfonts-core libvamp-hostsdk3 kde-l10n-zhcn language-pack-kde-zh-hans
language-pack-kde-zh-hant kde-l10n-zhtw language-pack-kde-en-base
libdigest-hmac-Perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
wine1.6 wine1.6-AMD64 wine1.6-i386:i386
Suggested packages:
dosbox:any
The following NEW packages will be installed:
wine wine1.6 wine1.6-AMD64 wine1.6-i386:i386
0 upgraded, 4 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/50.2 MB of archives.
After this operation, 246 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously unselected package wine1.6-AMD64.
(Reading database ... 397044 files and directories currently installed.)
Unpacking wine1.6-AMD64 (from .../wine1.6-AMD64_1.6~rc2-0ubuntu1~ppa1_AMD64.deb) ...
Selecting previously unselected package wine1.6-i386:i386.
Unpacking wine1.6-i386:i386 (from .../wine1.6-i386_1.6~rc2-0ubuntu1~ppa1_i386.deb) ...
Unpacking wine1.6 (from .../wine1.6_1.6~rc2-0ubuntu1~ppa1_AMD64.deb) ...
dpkg: error processing /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_AMD64.deb (--unpack):
trying to overwrite '/usr/bin/wine64-preloader', which is also in package wine1.6-AMD64 1.6~rc2-0ubuntu1~ppa1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package wine.
Unpacking wine (from .../wine_1.6~rc2-0ubuntu1~ppa1_AMD64.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Le message de stemberk sur ubuntuforums.org propose une solution à ceux qui ont tenté l'installation:
Sudo apt-get -o Dpkg::Options::="--force-overwrite" -f install
Cette commande forcera la reprise de l'installation défaillante de wine, en ignorant tout conflit. Selon launchpad.net le correctif est en cours. J'espère qu'ils vont le réparer bientôt ...
EDIT: Il semble que le paquet corrigé soit publié, mais si vous avez déjà installé wine1.6 en utilisant des solutions de contournement, je vous recommande de désinstaller wine à au moins une fois (Sudo apt-get remove wine1.6
), puis installez-le nominalement (Sudo apt-get install wine1.6
), sinon toute nouvelle tentative de mise à niveau de wine échouera.
J'ai rencontré le même problème:/usr/bin/wine64 et/usr/bin/wine64-preloader sont dans les paquets wine1.6 et wine1.6-AMD64.
En guise de solution temporaire (j'espère), j'ai émis les commandes suivantes:
Sudo dpkg-divert --package wine1.6-AMD64 --add /usr/bin/wine64
Sudo dpkg-divert --package wine1.6-AMD64 --add /usr/bin/wine64-preloader
Cela indique à dpkg de mettre de côté chaque version de ces fichiers, à l’exception de celle du paquet wine1.6-AMD64.