james@McHavoc-desktop:~$ sudo apt-get --purge remove $(dpkg -l | grep "4:3.97.0" |awk '{print $2}') Reading package lists... Done Building dependency tree Reading state information... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: kde4base: Depends: kdelibs5 but it is not going to be installed Depends: kdepimlibs5 but it is not going to be installed Depends: kdelibs5 (>= 3.93.0-0ubuntu1~ppa1) but it is not going to be installed Depends: kdepimlibs5 (>= 3.93.0-0ubuntu1~ppa1) but it is not going to be installed kde4base-dev: Depends: kdelibs5-dev but it is not going to be installed Depends: kdepimlibs5-dev but it is not going to be installed kdebase-bin: Depends: kdebase-bin-kde3 but it is not going to be installed or kdebase-runtime-bin-kde4 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). james@McHavoc-desktop:~$ 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: gs-esp-x ghostscript-x cmake Use 'apt-get autoremove' to remove them. The following extra packages will be installed: kde-icons-oxygen kdebase-runtime-bin kdebase-runtime-bin-kde4 kdebase-runtime-data Suggested packages: kdebase-kde4 The following NEW packages will be installed: kde-icons-oxygen kdebase-runtime-bin kdebase-runtime-bin-kde4 kdebase-runtime-data 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 29 not fully installed or removed. Need to get 0B/57.8MB of archives. After unpacking, 80.9MB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated! kde-icons-oxygen kdebase-runtime-data kdebase-runtime-bin kdebase-runtime-bin-kde4 Install these packages without verification [y/N]? y (Reading database ... 164313 files and directories currently installed.) Unpacking kde-icons-oxygen (from .../kde-icons-oxygen_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_all.deb) ... dpkg: error processing /var/cache/apt/archives/kde-icons-oxygen_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_all.deb (--unpack): trying to overwrite `/usr/lib/kde4/share/icons/oxygen/128x128/status/user-trash-full.png', which is also in package kde4base-data dpkg-deb: subprocess paste killed by signal (Broken pipe) Unpacking kdebase-runtime-data (from .../kdebase-runtime-data_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_all.deb) ... dpkg: error processing /var/cache/apt/archives/kdebase-runtime-data_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_all.deb (--unpack): trying to overwrite `/usr/lib/kde4/share/sounds/sys.app.error.ogg', which is also in package kde4base-data dpkg-deb: subprocess paste killed by signal (Broken pipe) Unpacking kdebase-runtime-bin (from .../kdebase-runtime-bin_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_i386.deb) ... dpkg: error processing /var/cache/apt/archives/kdebase-runtime-bin_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_i386.deb (--unpack): trying to overwrite `/usr/lib/kde4/lib/libkdeinit4_kuiserver.so', which is also in package kde4base dpkg-deb: subprocess paste killed by signal (Broken pipe) Unpacking kdebase-runtime-bin-kde4 (from .../kdebase-runtime-bin-kde4_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_all.deb) ... dpkg: error processing /var/cache/apt/archives/kdebase-runtime-bin-kde4_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_all.deb (--unpack): trying to overwrite `/usr/lib/kde4/bin/kdebugdialog', which is also in package kde4base Errors were encountered while processing: /var/cache/apt/archives/kde-icons-oxygen_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_all.deb /var/cache/apt/archives/kdebase-runtime-data_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_all.deb /var/cache/apt/archives/kdebase-runtime-bin_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_i386.deb /var/cache/apt/archives/kdebase-runtime-bin-kde4_4%3a3.97.0-1ubuntu3~gutsy1~ppa3_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)