Productive Linux


 Subscribe via Feedburner in a reader

Enter your email address:

Delivered by FeedBurner


Don't have an account?
Sign up to
Forgot your password?

dpkg error: trying to overwrite A which is also in B
4 February 2010 @ 21:14 GMT
by Paul

Trying to upgrade TeX I got this error:

dpkg: error processing /var/cache/apt/archives/texlive-binaries_2009-5_i386.deb (--unpack):
 trying to overwrite `/usr/share/man/man1/dviselect.1.gz', which is also in package dviutils

The fix was to force the overwrite like this:

sudo dpkg -i --force-overwrite /var/cache/apt/archives/texlive-binaries_2009-5_i386.deb

And then:

sudo apt-get -f install

Hopefully that won't cause problems in the future.

Comments disabled