PDA

View Full Version : [ubuntu] error on trying to upgrade xz-utils in synaptic



Packrat73
May 12th, 2009, 01:00 PM
xz-utils replaces lzma so when I try to upgrade it I get.
E: /var/cache/apt/archives/xz-utils_4.999.8beta-1~jaunty1_i386.deb: trying to overwrite `/usr/bin/unlzma', which is also in package lzma

but if I uninstall lzma it also uninstalls a ton of applications that depend on lzma. I dont want to kill something else to upgrade, How do I upgrade to xz-utils from lzma without having to uninstall a bunch of important stuff? Thanks.

Partyboi2
May 12th, 2009, 01:15 PM
Hi, you could use the force overwrite option from a terminal

cd /var/cache/apt/archives


sudo dpkg --force-overwrite --install xz-utils_4.999.8beta-1~jaunty1_i386.deb

Packrat73
May 12th, 2009, 01:23 PM
I think that did the trick. Thanks.