I attempted to update wine from my existing 1.5 by installing 1.7 through apt-get but apparently it only partially succeeded. Now it looks like I'm trapped in a catch-22: When I try to install 1.7 it fails because 1.5 is already installed and is using some of the same files. I apparently can't remove either 1.5 or the installed portion of 1.7 because of the unmet dependency.
Running apt-get -f install
makes it try to install wine1.7-i386
but this fails:
Unpacking wine1.7-i386:i386 (from .../wine1.7-i386_1%3a1.7.11-0ubuntu1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/wine1.7-i386_1%3a1.7.11-0ubuntu1_i386.deb (--unpack):
trying to overwrite '/usr/bin/wine', which is also in package wine1.5 1.5.5-0ubuntu1~ppa1~oneiric1+pulse17
Errors were encountered while processing:
/var/cache/apt/archives/wine1.7-i386_1%3a1.7.11-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Running apt-get autoclean after that removes wine1.7-i386 but either way I can't seem to get beyond that. Also, Ubuntu Update Manager crashes on load, obviously due to the same error.
Any advice will be appreciated. Thanks.
sudo apt-get remove wine1.5
? – user.dz Jan 24 '14 at 14:08The following packages have unmet dependencies: wine1.7 : Depends: wine1.7-i386 (= 1:1.7.11-0ubuntu1) E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
– Gary Kleppe Jan 24 '14 at 22:55I'm trying to do a
– Gary Kleppe Jan 24 '14 at 23:31dpkg -r
on wine 1.7. Let's see if that works.sudo dpkg --purge --force-all wine1.7
thensudo dpkg --remove --force-all wine1.5
– user.dz Jan 24 '14 at 23:34