heena@heena-Aspire-5750:~/kde/kdelibs/build$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libxmlrpc-core-c3 qt4-demos Use 'apt-get autoremove' to remove them. The following extra packages will be installed: qtchooser Suggested packages: qt4-default qt5-default The following NEW packages will be installed: qtchooser 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded. 2 not fully installed or removed. Need to get 0 B/15.2 kB of archives. After this operation, 72.7 kB of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 207787 files and directories currently installed.) Unpacking qtchooser (from .../qtchooser_0.0.1~git20121229.g8f08405-0ubuntu1~precise1~test7_i386.deb) ... dpkg: error processing /var/cache/apt/archives/qtchooser_0.0.1~git20121229.g8f08405-0ubuntu1~precise1~test7_i386.deb (--unpack): trying to overwrite '/usr/bin/qdbusviewer', which is also in package qt4-dev-tools 4:4.8.2+dfsg-2ubuntu1~precise1~ppa3 Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/qtchooser_0.0.1~git20121229.g8f08405-0ubuntu1~precise1~test7_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)