error on wine updates.

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
User avatar
anti_user
Level 1
Level 1
Posts: 4
Joined: Fri Dec 09, 2011 9:16 pm
Location: Greece, Athens

error on wine updates.

Post by anti_user »

i'm a newbie and after trying to update through console with some parameters i still get an error.
this is what i get:
----------------------------------------------------------------------------
Do you want to continue [Y/n]? y
Get:1 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main wine1.6 i386 1.6~rc2-0ubuntu1~ppa3 [1,155 kB]
Get:2 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main wine1.6-i386 i386 1.6~rc2-0ubuntu1~ppa3 [24.4 MB]
Fetched 25.5 MB in 2min 3s (206 kB/s)
(Reading database ... 172836 files and directories currently installed.)
Unpacking wine1.6-i386 (from .../wine1.6-i386_1.6~rc2-0ubuntu1~ppa3_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/wine1.6-i386_1.6~rc2-0ubuntu1~ppa3_i386.deb (--unpack):
trying to overwrite '/usr/bin/wine-preloader', which is also in package wine1.6 1.6~rc2-0ubuntu1~ppa1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/wine1.6-i386_1.6~rc2-0ubuntu1~ppa3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------------------
i would like some help if possible.
thanks in advance.
Chrisnz
Level 2
Level 2
Posts: 66
Joined: Sun May 20, 2012 6:08 am
Location: New Zealand

Re: error on wine updates.

Post by Chrisnz »

After you get that error, try apt-get -f install to force an install of the files that didn't get loaded because of the error. Then try apt-get upgrade again, apt-get -f install back and forth until only the package that has the error is left.
Post Reply

Return to “Other topics”