aptosid.com

Upgrade Warnings - [multiarch] libwine:i386 [solved]

GdV87 - 17.09.2012, 21:16
Post subject: [multiarch] libwine:i386 [solved]
I've aptosid xfce 64bit. Last D-U failed with this message:

      Code:

Si sono verificati degli errori nell'elaborazione:
 /var/cache/apt/archives/libwine_1.4.1-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


and after that apt-get is unable to perform any operations, always resulting in the same error:

      Code:

apt-get install -f
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Correzione delle dipendenze... Fatto
I seguenti pacchetti saranno inoltre installati:
  libwine:i386
Pacchetti suggeriti:
  wine-doc:i386 libwine-cms:i386 libwine-sane:i386 libwine-ldap:i386 libwine-print:i386 libwine-openal:i386 libwine-gphoto2:i386
Pacchetti raccomandati:
  libgsm1:i386 ttf-liberation:i386 libwine-gl:i386 libwine-alsa:i386 libwine-oss:i386
I seguenti pacchetti NUOVI saranno installati:
  libwine:i386
0 aggiornati, 1 installati, 0 da rimuovere e 8 non aggiornati.
325 non completamente installati o rimossi.
È necessario scaricare 0 B/17,0 MB di archivi.
Dopo quest'operazione, verranno occupati 81,9 MB di spazio su disco.
Continuare [S/n]?
(Lettura del database... 330891 file e directory attualmente installati.)
Estrazione di libwine (da .../libwine_1.4.1-2_i386.deb)...
dpkg: errore nell'elaborare /var/cache/apt/archives/libwine_1.4.1-2_i386.deb (--unpack):
 tentata sovrascrittura di "/usr/share/man/man1/wineserver.1.gz" presente anche nel pacchetto libwine-unstable:i386 1.5.6-2
Elaborazione dei trigger per man-db...
Si sono verificati degli errori nell'elaborazione:
 /var/cache/apt/archives/libwine_1.4.1-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I'm sorry that my apt-get output is in Italian: how can I put it in English?

Thanks

GdV
slh - 17.09.2012, 21:35
Post subject: RE: [multiarch] libwine:i386
I've taken the liberty to prepend the thread title with [multiarch], because that's its background and an expected behaviour for non-matching versions of Multi-Arch=same packages between different involved architectures.

There are only two solutions for this issue, either waiting for the same package version to appear on all involved architectures (usually happens within a day, however BinNMUs might need manual aid) - or downgrading the involved packages to a common version.

This is technically speaking not a bug, but expected behaviour of the current state of multi-arch integration into the buildd network.
GdV87 - 17.09.2012, 21:46
Post subject: RE: [multiarch] libwine:i386
Thank you slh for your prompt reply.
How can I downgrade this package to a common version?

GdV87
sid.dharta - 18.09.2012, 09:05
Post subject: Re: [multiarch] libwine:i386
      GdV87 wrote:
...
I'm sorry that my apt-get output is in Italian: how can I put it in English?

Tip: try prepending LC_ALL="C" to the command you want the english output, for example:
      Code:
LC_ALL="C" apt-get dist-upgrade

Or type
      Code:
export LC_ALL="C"
in the terminal to have all subsequent output in english.

/Tip

Regards
GdV87 - 18.09.2012, 17:18
Post subject: RE: Re: [multiarch] libwine:i386
Thanks sid.dharta.

Here is the output of apt-get in English:
      Code:

LC_ALL="C" apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libwine:i386
Suggested packages:
  wine-doc:i386 libwine-cms:i386 libwine-sane:i386 libwine-ldap:i386 libwine-print:i386 libwine-openal:i386 libwine-gphoto2:i386
Recommended packages:
  libgsm1:i386 ttf-liberation:i386 libwine-gl:i386 libwine-alsa:i386 libwine-oss:i386
The following NEW packages will be installed:
  libwine:i386
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
325 not fully installed or removed.
Need to get 0 B/17.0 MB of archives.
After this operation, 81.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 330891 files and directories currently installed.)
Unpacking libwine (from .../libwine_1.4.1-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libwine_1.4.1-2_i386.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/wineserver.1.gz', which is also in package libwine-unstable:i386 1.5.6-2
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libwine_1.4.1-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


How can I downgrade this package to a common version?

GdV87
towo - 18.09.2012, 17:38
Post subject: RE: Re: [multiarch] libwine:i386
No need for a downgrade.
purge all wine-unstable packages, it does not make many sense to install wine and wine-unstable.
GdV87 - 18.09.2012, 17:43
Post subject: RE: Re: [multiarch] libwine:i386
It seems like I can't purge them either:

      Code:

LC_ALL="C" apt-get remove --purge wine-unstable*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libwine-unstable' for regex 'wine-unstable*'
Note, selecting 'q4wine-unstable' for regex 'wine-unstable*'
Note, selecting 'wine-unstable' for regex 'wine-unstable*'
Package 'q4wine-unstable' is not installed, so not removed
Package 'libwine-unstable' is not installed, so not removed. Did you mean 'libwine-unstable:i386'?
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 winetricks : Depends: libwine or
                       libwine-unstable but it is not going to be installed or
                       libwine-dbg-unstable but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

LC_ALL="C" apt-get remove --purge libwine-unstable:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libwine-bin-unstable:i386 : Depends: libwine-unstable:i386 (= 1.5.6-2) but it is not going to be installed
 winetricks : Depends: libwine or
                       libwine-unstable but it is not going to be installed or
                       libwine-dbg-unstable but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


What can I do?

GdV87
towo - 18.09.2012, 18:42
Post subject: RE: Re: [multiarch] libwine:i386
dpkg --purge $(dpkg -l | awk '/wine-unstable/{ print $2 }') winetricks && apt-get -f install
GdV87 - 18.09.2012, 23:42
Post subject: RE: Re: [multiarch] libwine:i386
thanks towo but this isn't working either:
      Code:

LC_ALL="C" dpkg --purge $(dpkg -l | awk '/wine-unstable/{ print $2 }') winetricks && apt-get -f install
dpkg: dependency problems prevent removal of libwine-unstable:i386:
 libwine-bin-unstable:i386 depends on libwine-unstable (= 1.5.6-2).

dpkg: error processing libwine-unstable:i386 (--purge):
 dependency problems - not removing
dpkg: warning: ignoring request to remove winetricks which isn't installed
Errors were encountered while processing:
 libwine-unstable:i386


Any other ideas?
Thanks

GdV87
slh - 19.09.2012, 00:19
Post subject: RE: Re: [multiarch] libwine:i386
Keep adding (wine related) packages it complains about (libwine-unstable:i386) to the removal command.
michaaa62 - 19.09.2012, 07:39
Post subject: RE: Re: [multiarch] libwine:i386
This could be one of the few cases to use a graphical package manager like synaptic, search in synaptic for 'i386' and remove all the installed packages.
DonKult - 19.09.2012, 11:56
Post subject: Re: RE: Re: [multiarch] libwine:i386
      michaaa62 wrote:
This could be one of the few cases to use a graphical package manager like synaptic, search in synaptic for 'i386' and remove all the installed packages.

      Code:
apt-get remove .*:i386 -o pkgProblemResolver::FixByInstall=0


(without the -o flag APT will try to install alternatives instead of removing a lot. The problem is just that you want to remove a lot here so APT will run into a problem it can't recover from pretty fast with this usually good heuristic)

Instead of '.*:i386' you could try '.*wine.*:{i386,amd64}' of course. This might or might not work though and might or might not include packages as by-catch (e.g. libkwineffects1a -- library for KDE Windowmanager effects …) so the sledge hammer method (for Germans: suggestion hammer method) might be better.
CaesarTjalbo - 19.09.2012, 13:57
Post subject:
DonKult: your reply looks excellent to me but reinforces previous poster's assertion that a graphical tool will be useful in this case.
GdV87 - 19.09.2012, 17:20
Post subject:
Thank you all: now apt is finally working again!
Greets

GdV87
All times are GMT - 12 Hours
Powered by PNphpBB2 © 2003-2010 The Zafenio Group
Credits