Below is output of 'apt upgrade' --- ❯ sudo apt upgrade [06:04:40] 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: libkf5purpose-bin : Breaks: libkf5purpose5 (< 1.1+p16.04+git20160930.1710-0~ciBuild) but 1.1+p16.04+git20160823.1857-0 is installed E: Unmet dependencies. Try using -f. --- ❯ sudo apt upgrade -f [06:04:42] Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies...Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Done Entering ResolveByKeep 10% Dependencies are not satisfied for libkwinxrenderutils9 [ amd64 ] < none -> 4:5.8.0+p16.04+git20161005.0343-0 > ( libs ) Keeping package libkwinxrenderutils9:amd64 Dependencies are not satisfied for kwin-x11 [ amd64 ] < 4:5.7.4+p16.04+git20160830.1227-0 -> 4:5.8.0+p16.04+git20161005.0343-0 > ( kde ) Keeping package kwin-x11:amd64 Dependencies are not satisfied for kwin-x11 [ amd64 ] < 4:5.7.4+p16.04+git20160830.1227-0 -> 4:5.8.0+p16.04+git20161005.0343-0 > ( kde ) Package kwin-x11:amd64 kwin-x11:amd64 Depends on kwin-common [ amd64 ] < 4:5.7.4+p16.04+git20160830.1227-0 -> 4:5.8.0+p16.04+git20161005.0343-0 > ( kde ) (= 4:5.7.4+p16.04+git20160830.1227-0) Keeping Package kwin-common:amd64 due to Depends Dependencies are not satisfied for libkwinglutils9 [ amd64 ] < none -> 4:5.8.0+p16.04+git20161005.0343-0 > ( libs ) Keeping package libkwinglutils9:amd64 Dependencies are not satisfied for kwin-common [ amd64 ] < 4:5.7.4+p16.04+git20160830.1227-0 -> 4:5.8.0+p16.04+git20161005.0343-0 > ( kde ) Keeping package kwin-common:amd64 Dependencies are not satisfied for kwin-common [ amd64 ] < 4:5.7.4+p16.04+git20160830.1227-0 -> 4:5.8.0+p16.04+git20161005.0343-0 > ( kde ) Package kwin-common:amd64 kwin-common:amd64 Depends on kwin-data [ amd64 ] < 4:5.7.4+p16.04+git20160830.1227-0 -> 4:5.8.0+p16.04+git20161005.0343-0 > ( kde ) (= 4:5.7.4+p16.04+git20160830.1227-0) Keeping Package kwin-data:amd64 due to Depends Dependencies are not satisfied for libkwineffects9 [ amd64 ] < none -> 4:5.8.0+p16.04+git20161005.0343-0 > ( libs ) Keeping package libkwineffects9:amd64 Dependencies are not satisfied for libkwin4-effect-builtins1 [ amd64 ] < 4:5.7.4+p16.04+git20160830.1227-0 -> 4:5.8.0+p16.04+git20161005.0343-0 > ( libs ) Keeping package libkwin4-effect-builtins1:amd64 Calculating upgrade... Done The following packages were automatically installed and are no longer required: libappstream3 libkf5purposewidgets5 liblegacytaskmanager5 libphp-adodb libprotobuf9v5 php-letodms-core php-letodms-lucene qml-modules-org-kde-purpose Use 'sudo apt autoremove' to remove them. The following packages have been kept back: kwin-common kwin-data kwin-x11 libkwin4-effect-builtins1 The following packages will be upgraded: libkf5purpose5 1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 416 not fully installed or removed. Need to get 0 B/35.8 kB of archives. After this operation, 585 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 374272 files and directories currently installed.) Preparing to unpack .../libkf5purpose5_1.1+p16.04+git20160930.1710-0_amd64.deb ... Unpacking libkf5purpose5:amd64 (1.1+p16.04+git20160930.1710-0) over (1.1+p16.04+git20160823.1857-0) ... dpkg: error processing archive /var/cache/apt/archives/libkf5purpose5_1.1+p16.04+git20160930.1710-0_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libKF5PurposeWidgets.so.5', which is also in package libkf5purposewidgets5:amd64 1.1+p16.04+git20160823.1857-0 Processing triggers for libc-bin (2.23-0ubuntu3) ... Errors were encountered while processing: /var/cache/apt/archives/libkf5purpose5_1.1+p16.04+git20160930.1710-0_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) >>> elapsed time 1m8s Reproducible: Always Steps to Reproduce: 1. apt upgrade 2. apt upgrade -f 3. apt install -f Actual Results: Unpacking libkf5purpose5:amd64 (1.1+p16.04+git20160930.1710-0) over (1.1+p16.04+git20160823.1857-0) ... dpkg: error processing archive /var/cache/apt/archives/libkf5purpose5_1.1+p16.04+git20160930.1710-0_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libKF5PurposeWidgets.so.5', which is also in package libkf5purposewidgets5:amd64 1.1+p16.04+git20160823.1857-0 Processing triggers for libc-bin (2.23-0ubuntu3) ... Errors were encountered while processing: /var/cache/apt/archives/libkf5purpose5_1.1+p16.04+git20160930.1710-0_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Expected Results: upgrade completes with no errors pidgin (chat client) has no icons. "broken image" icon displayed instead
This is a distribution's packaging bug. Please ask your distro.
Distro is "Neon" ❯ cat /etc/os-release [08:47:43] NAME="KDE neon" VERSION="5.8" ID=neon ID_LIKE="ubuntu debian" PRETTY_NAME="KDE neon User Edition 5.8" VERSION_ID="16.04" HOME_URL="http://neon.kde.org/" SUPPORT_URL="http://neon.kde.org/" BUG_REPORT_URL="http://bugs.kde.org/" VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial
I also encountered this problem. In your log see the lines: "The following packages were automatically installed and are no longer required: libappstream3 libkf5purposewidgets5 liblegacytaskmanager5 libphp-adodb libprotobuf9v5 php-letodms-core php-letodms-lucene qml-modules-org-kde-purpose" Just do "sudo apt autoremove" to delete the offending libkf5purposewidgets5 package. Setting status to RESOLVED. But if it still doesn't work for you for some reason, write a comment.
Thanks for looking into this, thus far. I'm unable to remove/install/upgrade (at all) because of the unresolved issue: *** The following packages have unmet dependencies: libkf5purpose-bin : Breaks: libkf5purpose5 (< 1.1+p16.04+git20160930.1710-0~ciBuild) but 1.1+p16.04+git20160823.1857-0 is to be installed *** Removing the "offending package" does not complete: --- ❯ sudo apt remove -f libkf5purposewidgets5 [11:34:57] 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: libkf5purpose-bin : Breaks: libkf5purpose5 (< 1.1+p16.04+git20160930.1710-0~ciBuild) but 1.1+p16.04+git20160823.1857-0 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). Below is the attempt to run auto-remove --- ❯ sudo apt autoremove [11:33:12] [sudo] password for mike: 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: libkf5purpose-bin : Breaks: libkf5purpose5 (< 1.1+p16.04+git20160930.1710-0~ciBuild) but 1.1+p16.04+git20160823.1857-0 is installed E: Unmet dependencies. Try using -f. ❯ sudo apt-get -f install [11:33:25] Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies...Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Done Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following packages were automatically installed and are no longer required: libappstream3 libkf5purposewidgets5 liblegacytaskmanager5 libphp-adodb libprotobuf9v5 php-letodms-core php-letodms-lucene qml-modules-org-kde-purpose Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libkf5purpose5 Suggested packages: kde-telepathy-send-file The following packages will be upgraded: libkf5purpose5 1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. 419 not fully installed or removed. Need to get 0 B/35.8 kB of archives. After this operation, 585 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 374287 files and directories currently installed.) Preparing to unpack .../libkf5purpose5_1.1+p16.04+git20160930.1710-0_amd64.deb ... Unpacking libkf5purpose5:amd64 (1.1+p16.04+git20160930.1710-0) over (1.1+p16.04+git20160823.1857-0) ... dpkg: error processing archive /var/cache/apt/archives/libkf5purpose5_1.1+p16.04+git20160930.1710-0_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libKF5PurposeWidgets.so.5', which is also in package libkf5purposewidgets5:amd64 1.1+p16.04+git20160823.1857-0 Processing triggers for libc-bin (2.23-0ubuntu3) ... Errors were encountered while processing: /var/cache/apt/archives/libkf5purpose5_1.1+p16.04+git20160930.1710-0_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Ok, sorry. Forgot the most important part. Remove the offending package without dependency check: sudo dpkg -r --force-depends libkf5purposewidgets5
Since it didn't work the first time, can you add a comment if it now worked for you?
thank you again for assisting... I was out of town for the weekend and unable to test. Removing the problematic package (forcefully) resolved the issue and I've completed further upgrades. As it is still running while I write this, we're way past resolving the package. I hope this helped resolve any (if at all) package issues for Neon upgrades to 5.8. thanks again