Installation of wine1.6 fails because of duplicate wine64-preloader

Bug #1191276 reported by Michael Tänzer
232
This bug affects 48 people
Affects Status Importance Assigned to Milestone
wine (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When trying to upgrade or install Wine1.6 from the official Wine PPA it gives the following error (also tried to completely remove wine1.5 first):

Selecting previously unselected package wine1.6-amd64.
(Reading database ... 541390 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)

I'm on Ubuntu 12.04.2

Revision history for this message
Antonis Farangitakis (afarazit) wrote :

I confirm this one.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wine (Ubuntu):
status: New → Confirmed
Revision history for this message
Milodovi'c (miloud-rashid) wrote :

this bug affects me too

Revision history for this message
Abel Atkinson (jetforce2) wrote :

I am being affected by this bug as well. I can rid of the problem by having synaptic package manager take care of it, but when I try and reinstall wine the same problem occurs.

Revision history for this message
LaunchpadUser (lpusr) wrote :

Me too:

----------------
$ sudo apt-get install wine
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
wine ist schon die neueste Version.
Probieren Sie »apt-get -f install«, um dies zu korrigieren:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 wine : Hängt ab von: wine1.6 soll aber nicht installiert werden
 wine1.6-amd64 : Hängt ab von: wine1.6:any (= 1.6~rc2-0ubuntu1~ppa1)
 wine1.6-i386:i386 : Hängt ab von: wine1.6:any:i386 (= 1.6~rc2-0ubuntu1~ppa1)
E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt-get -f install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).
...$ sudo apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Abhängigkeiten werden korrigiert... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  wine1.6
Vorgeschlagene Pakete:
  dosbox:any
Die folgenden NEUEN Pakete werden installiert:
  wine1.6
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
12 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 1.206 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 6.235 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? J
(Lese Datenbank ... 736563 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacken von wine1.6 (aus .../wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb) ...
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb (--unpack):
 Versuch, »/usr/bin/wine64-preloader« zu überschreiben, welches auch in Paket wine1.6-amd64 1.6~rc2-0ubuntu1~ppa1 ist
dpkg-deb: Fehler: Unterprozess einfügen wurde durch Signal (Datenübergabe unterbrochen (broken pipe)) getötet
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
--------------------------------

Revision history for this message
Alexander B (ale-bychuk) wrote :

fix it please..
I confirm this one too

Changed in wine (Ubuntu):
assignee: nobody → Alexander B (ale-bychuk)
Revision history for this message
Marko Friedemann (mfr-bc) wrote :

The package
 wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb

contains two files
 /usr/bin/wine64-preloader
 /usr/bin/wine64

that are also present in
 wine1.6-amd64_1.6~rc2-0ubuntu1~ppa1_amd64.deb

I deleted them from the generic package and can confirm that it can be installed and works fine afterwards.

Revision history for this message
Alexander B (ale-bychuk) wrote : Re: [Bug 1191276] Re: Installation of wine1.6 fails because of duplicate wine64-preloader

Please tell me how I can fix problem on my ubuntu
15.06.2013 20:30 пользователь "Marko Friedemann" <email address hidden>
написал:

> The package
> wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb
>
> contains two files
> /usr/bin/wine64-preloader
> /usr/bin/wine64
>
> that are also present in
> wine1.6-amd64_1.6~rc2-0ubuntu1~ppa1_amd64.deb
>
> I deleted them from the generic package and can confirm that it can be
> installed and works fine afterwards.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1191276
>
> Title:
> Installation of wine1.6 fails because of duplicate wine64-preloader
>
> Status in "wine" package in Ubuntu:
> Confirmed
>
> Bug description:
> When trying to upgrade or install Wine1.6 from the official Wine PPA
> it gives the following error (also tried to completely remove wine1.5
> first):
>
> Selecting previously unselected package wine1.6-amd64.
> (Reading database ... 541390 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)
>
>
> I'm on Ubuntu 12.04.2
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/wine/+bug/1191276/+subscriptions
>

Revision history for this message
LaunchpadUser (lpusr) wrote :

Still makes problems:

E: /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb: Versuch, »/usr/bin/wine64-preloader« zu überschreiben, welches auch in Paket wine1.6-amd64 1.6~rc2-0ubuntu1~ppa1 ist

Revision history for this message
trytip (trytip) wrote :

i have run into the same problem

Selecting previously unselected package wine1.6-amd64.
(Reading database ... 365641 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
No apport report written because MaxReports is reached already
                                                              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
Some new locales have appeared on your system:

ach cgg co kmr md tet

They will not be touched until you reconfigure localepurge
with the following command:

    dpkg-reconfigure localepurge

localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

W: Waited for dpkg --assert-multi-arch but it wasn't there - dpkgGo (10: No child processes)
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of wine1.6-i386:i386:
 wine1.6-i386:i386 depends on wine1.6:any (= 1.6~rc2-0ubuntu1~ppa1).
dpkg: error processing wine1.6-i386:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine:
 wine depends on wine1.6; however:
  Package wine1.6 is not installed.
dpkg: error processing wine (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.6-amd64:
 wine1.6-amd64 depends on wine1.6:any (= 1.6~rc2-0ubuntu1~ppa1).
dpkg: error processing wine1.6-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 wine1.6-i386:i386
 wine
 wine1.6-amd64

Revision history for this message
Mark Howell (markjhowell) wrote :

FWIW I modified my wine deb package as described by Marko Friedemann above and got wine 1.6 to install. This requires modest hacking confidence, I don't have exact command lines for you here.

The original wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb will likely be in /var/cache/apt/archives.

I copied that file to my home dir, gave myself permission to edit, and then unpacked, removed /usr/bin/wine64 and /usr/bin/wine64-preloader, and rebuilt the deb with a new name, then installed it with 'dpkg -i (new-wine-pkg).deb'. That install failed, but then after doing 'apt-get -f install', the wine install completed using the modified package, and wine is now working.

Instructions for unpacking/editing/repacking a deb file: https://geekwentfreak-raviteja.rhcloud.com/2012/10/modify-dependencies-addremove-files-of-debian-deb-package/

Hope this helps anyone who is stuck until the proper fix shows up.

Revision history for this message
Josh Robinson (jmr59) wrote :

I've also modified the wine deb package, and am simply providing command lines for anyone with less hacking confidence.

~$ cp /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb /tmp/wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb
~$ cd /tmp
~$ mkdir wine-deb
~$ dpkg-deb -x wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb wine-deb
~$ dpkg-deb --control wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb wine-deb/DEBIAN
~$ rm deb/usr/bin/wine64
~$ rm deb/usr/bin/wine64-preloader
~$ dpkg -b deb wine1.6-new.deb
~$ sudo dpkg -i wine1.6-new.deb
~$ sudo apt-get -f install

Alexander B (ale-bychuk)
Changed in wine (Ubuntu):
assignee: Alexander B (ale-bychuk) → nobody
Revision history for this message
Eugene Romanenko (eros2) wrote :

Same problem on i386, see Bug #1191472.

Revision history for this message
moh10ly (moh10ly) wrote :

Me too I have the same problem on PinGuyOS 64x distro

Revision history for this message
moh10ly (moh10ly) wrote :

By the way guys, if you want to fix this error temporarily until the bug has been fixed you need to do the following

sudo dpkg -i --force-overwrite /var/cache/apt/archives/wine1.6-amd64_1.6~rc2-0ubuntu1~ppa1_amd64.deb
Then type

sudo apt-get autoremove

then
sudo apt-get update

hope this helps

Revision history for this message
mccurly (mzcl-mn) wrote :

I also had this bug.

Hacking away (almost) as outlined by Josh Robinson (jmr59) got it installed.

Just a small tip:

~$ rm deb/usr/bin/wine64
~$ rm deb/usr/bin/wine64-preloader
~$ dpkg -b deb wine1.6-new.deb

should be preceded by something like:

~$ mv -i wine-deb/ deb/

And thank you very much to him, Mark Howell for "paving the way" for this "temporary" solution.

Revision history for this message
Josh Robinson (jmr59) wrote :

Sorry: I documented the commands using different directory names from the ones I used, and managed to miss three of the changes.

Here's the (I think corrected and complete) list of commands for anyone who still needs it:

~$ cp /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb /tmp/wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb
~$ cd /tmp
~$ mkdir wine-deb
~$ dpkg-deb -x wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb wine-deb
~$ dpkg-deb --control wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb wine-deb/DEBIAN
~$ rm wine-deb/usr/bin/wine64
~$ rm wine-deb/usr/bin/wine64-preloader
~$ dpkg -b wine-deb wine1.6-new.deb
~$ sudo dpkg -i wine1.6-new.deb
~$ sudo apt-get -f install

Revision history for this message
trytip (trytip) wrote :

i confirm that the above temp/fix comment #17 by Josh Robinson did in fact repair my wine 1.6 and i'm a novice.
thanx for the info.

Revision history for this message
indigocat (indigocat) wrote :

Confirmed, wine1.6 up & runing according to #17.

Revision history for this message
Kenneth (krcabrer) wrote :

Thank you, it worked for me too. #17.

Revision history for this message
Ingo Drescher (ingodrescher) wrote :

Hello, I am not an expert regarding apt-get and dpkg and therefore I would like to know if I can use the commands of #17 without worrying that future wine releases will not be installed automatically anymore. Will it somehow break the the package sources and installing programs via apt-get and Ubuntu Software-Center?

Revision history for this message
Jose M. (jose-i) wrote :

Thank you #17. It worked for me in on i386. I have upload the modified .deb for i386 at http://s1.redeswifi.com/wine1.6/

Revision history for this message
Brett Hatton (transienttuna) wrote :

Thanks #17, fix works for me.

Revision history for this message
LaunchpadUser (lpusr) wrote :

#17 doesn't work by default: I hade to rename "deb" with "wine-deb":

---------------------------------------------------
$ cd /tmp
$ cp /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb /tmp/wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb
$ mkdir wine-deb
$ dpkg-deb -x wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb wine-deb
$ dpkg-deb --control wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb wine-deb/DEBIAN
$ rm deb/usr/bin/wine64
rm: das Entfernen von »deb/usr/bin/wine64“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
$ rm wine-deb/usr/bin/wine64
$ rm deb/usr/bin/wine64-preloader
rm: das Entfernen von »deb/usr/bin/wine64-preloader“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
$ rm wine-deb/usr/bin/wine64-preloader
$ dpkg -b deb wine1.6-new.deb
dpkg-deb: Fehler: Öffnen der Paket-Infodatei »deb/DEBIAN/control« zum Lesen fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
$ dpkg -b wine-deb wine1.6-new.deb
dpkg-deb: Paket »wine1.6« wird in »wine1.6-new.deb« gebaut.
$ sudo dpkg -i wine1.6-new.deb
(Lese Datenbank ... 567137 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacken von wine1.6 (aus wine1.6-new.deb) ...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von wine1.6:
 wine1.6 hängt ab von wine1.6-amd64 (= 1.6~rc2-0ubuntu1~ppa1); aber:
  Paket wine1.6-amd64 ist noch nicht konfiguriert.
 wine1.6 hängt ab von wine1.6-i386 (= 1.6~rc2-0ubuntu1~ppa1); aber:
  Paket wine1.6-i386 ist nicht installiert.
  Paket wine1.6-i386:i386 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von wine1.6 (--install):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für man-db werden verarbeitet ...
Trigger für bamfdaemon werden verarbeitet ...
Rebuilding /usr/share/applications/bamf.index...
Trigger für desktop-file-utils werden verarbeitet ...
Trigger für gnome-menus werden verarbeitet ...
Trigger für hicolor-icon-theme werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
 wine1.6
$ sudo apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
4 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
wine1.6-amd64 (1.6~rc2-0ubuntu1~ppa1) wird eingerichtet ...
wine1.6 (1.6~rc2-0ubuntu1~ppa1) wird eingerichtet ...
wine1.6-i386:i386 (1.6~rc2-0ubuntu1~ppa1) wird eingerichtet ...
wine (1.6~rc2-0ubuntu1~ppa1) wird eingerichtet ...
Trigger für libc-bin werden verarbeitet ...
ldconfig deferred processing now taking place
-----------------------------------------------------------------

Revision history for this message
LaunchpadUser (lpusr) wrote :

When will this be fixed? I already got other Ubuntu updaters telling about wine 1.5 to replace by 1.6 ... with this error still occuring!

Revision history for this message
K1773R (k1773r) wrote :

this is a simple fix, wake up idiots!

Revision history for this message
Scott Ritchie (scottritchie) wrote :

I fixed it yesterday, unfortunately I was gone for the weekend after the bad upload. Unfortunately you have to do:

sudo apt-get update
sudo apt-get -f install

There doesn't seem to be any UI way to attempt that operation once package state is broken.

Changed in wine (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Gregor Möllring (gregormo) wrote :

Still doesn't work here (Linux Mint 13).

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 wine1.6 : Hängt ab von: wine1.6-i386 (= 1.6~rc2-0ubuntu1~ppa3) aber 1.6~rc2-0ubuntu1~ppa1 soll installiert werden
 wine1.6-i386 : Hängt ab von: wine1.6 (= 1.6~rc2-0ubuntu1~ppa1) aber 1.6~rc2-0ubuntu1~ppa3 soll installiert werden
E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt-get -f install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Try again (with 1.6~rc2-0ubuntu1~ppa4), there was a collision with that fix and a concurrent fix by Maarten, both should be applied now.

Revision history for this message
Joshua Kugler (jkugler) wrote :

I did this:

sudo apt-get remove wine1.6-amd64 wine1.6 wine1.6-i386:i386

and

sudo apt-get install wine1.6-amd64 wine1.6 wine1.6-i386:i386

And all worked. Just trying to do 'apt-get install -f' didn't resolve the problem.

Revision history for this message
tmuller (t-moi-larsson+launchpad) wrote :

I also fixed it.

if you have below in /var/cache/apt/archives
wine1.6-amd64_1.6~rc2-0ubuntu1~ppa1_amd64.deb
wine1.6-amd64_1.6~rc2-0ubuntu1~ppa4_amd64.deb
wine1.6-i386_1.6~rc2-0ubuntu1~ppa1_i386.deb
wine1.6-i386_1.6~rc2-0ubuntu1~ppa4_i386.deb
wine1.6_1.6~rc2-0ubuntu1~ppa1_amd64.deb
wine1.6_1.6~rc2-0ubuntu1~ppa4_amd64.deb

I did this:
# dpkg -i --force-overwrite /var/cache/apt/archives/wine1.6*
# sudo apt-get install -f

That's all

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.