If you are sure of yourself, you have to tell dpkg to force overwritting files. Code: dpkg --force-overwrite -i packagename.deb This is a very common error. Another way to do it, directly from apt-get: Code: apt-get -o DPkg::Options::="--force-overwrite" install packagename Removing the conflicting file doesn't help because the list of files is stored somewhere.
dpkg --force-overwrite -i packagename.deb
apt-get -o DPkg::Options::="--force-overwrite" install packagename