View Single Post
Posts: 99 | Thanked: 65 times | Joined on Jan 2008 @ Finland
#2
Originally Posted by mr_ian84 View Post
The following NEW packages will be installed:
qt-components-10

Unpacking qt-components-10 (from .../qt-components-10_1.0~git20111014-1+0m5_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/qt-components-10_1.0~git20111014-1+0m5_armel.deb (--unpack):
trying to overwrite `/usr/lib/qt4/imports/Qt/labs/components', which is also in package qt-components
As you probably figured out, the problem is that /usr/lib/qt4/imports/Qt/labs/components is provided by two different packages. Obviously this is not good. I don't know qt-components and qt-components-10 packages so I can't tell if it's safe to force qt-components-10 in. Even if it is, it'll probably break when either of the packages is upgraded again.

If you absolutely need to install qt-components-10, you force dpkg to overwrite files of other packages. NOTE: Think twice before you do this! It may break application that depend on qt-components.

Code:
dpkg --force-overwrite -i /var/cache/apt/archives/qt-components-10_1.0~git20111014-1+0m5_armel.deb
If you just want to get rid of the problem, consider trying to uninstall offending packages, i.e. meecast and it's dependencies.

Code:
dpkg -r meecast qt-components-10