sudo apt full-upgrade 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: kate : Depends: kate5-data (>= 4:17.04.0+p16.04+git20170423.0131-0) but 4:17.04.0+p16.04+git20170421.0347-0 is installed E: Unmet dependencies. Try using -f. sudo apt-get -f install 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 additional packages will be installed: kate5-data The following packages will be upgraded: kate5-data 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 43 not fully installed or removed. Need to get 0 B/1.210 kB of archives. After this operation, 12,3 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 323185 files and directories currently installed.) Preparing to unpack .../kate5-data_4%3a17.04.0+p16.04+git20170423.0131-0_all.deb ... Unpacking kate5-data (4:17.04.0+p16.04+git20170423.0131-0) over (4:17.04.0+p16.04+git20170421.0347-0) ... dpkg: error processing archive /var/cache/apt/archives/kate5-data_4%3a17.04.0+p16.04+git20170423.0131-0_all.deb (--unpack): trying to overwrite '/usr/share/locale/nb/LC_MESSAGES/plasma_applet_org.mo', which is also in package kdeplasma-addons-data 4:5.9.4+p16.04+git20170422.0314-0 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/kate5-data_4%3a17.04.0+p16.04+git20170423.0131-0_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
I think something broke in ki18n there. CCing Aleix as he's done some changes in the area. Note that both packages install `/usr/share/locale/nb/LC_MESSAGES/plasma_applet_org.mo`. The original po in kate's case was named `plasma_applet_org.kde.plasma.katesessions.po`, so it appears a regex is doing a poor job of handling points in the file name, losing everything after the first which naturally leads to file clashes.
I'm confused what this has to do with ki18n, surely if the neon dev packages are including the wrong .po file that's a problem made by neon's scripts for working out what .po files to include? The released Kate includes the correct one. (To workaround this run sudo dpkg --install --force-overwrite /var/cache/apt/archives/kate5-data_4%3a17.04.0+p16.04+git20170423.0131-0_all.deb )
*** Bug 379156 has been marked as a duplicate of this bug. ***
Probably related okular build issue http://build.neon.kde.org/job/xenial_stable_applications_okular_bin_amd64/59/console includes org.mo translation
I am experiencing same error, different package: Unpacking marble-data (4:17.04.0+p16.04+git20170424.1330-0) over (4:16.12.3+p16.04+git20170418.0322-0) ... dpkg: error processing archive /var/cache/apt/archives/marble-data_4%3a17.04.0+p16.04+git20170424.1330-0_all.deb (--unpack): trying to overwrite '/usr/share/locale/nl/LC_MESSAGES/plasma_applet_org.mo', which is also in package kscreen 4:5.9.4+p16.04+git20170424.0157-0 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) I am running NEON dev/stable branch. fresh as of 10 minutes previous to this posting :)
Git commit 7bce4e8128365de13682b400e4acf5b393e94ab9 by Harald Sitter. Committed on 25/04/2017 at 08:30. Pushed by sitter into branch 'master'. fix basename handling of po files Summary: get_filename_component(... ... NAME_WE) gets the name without the *longest* extension. in case of 'org.kde.plasma.kittens.po' that would leave us with 'org' as name. Use a regular expression to grab the basename without the short extension (e.g. 'org.kde.plasma.kittens') to prevent broken file names. add a test to assert that this works in the future Reviewers: apol, ilic Reviewed By: apol Subscribers: #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D5557 M +13 -0 autotests/CMakeLists.txt A +6 -0 autotests/ki18n_install/CMakeLists.txt A +20 -0 autotests/ki18n_install/po/de/plasma_applet_org.kde.plasma.katesessions.po A +5 -0 autotests/ki18n_install/test.cmake M +6 -1 cmake/build-pofiles.cmake https://commits.kde.org/ki18n/7bce4e8128365de13682b400e4acf5b393e94ab9
builds retried, the situation should pretty much auto-resolve. do note that you will likely encounter the problem again when that happens simply force an overwrite. None of the debs are correct so it doesn't matter which one you force. Once all affected packages were updated once it'll be fixed for good. sudo dpkg --install --force-overwrite /var/cache/apt/archives/foo.deb $ ./jenkins_retry.rb -b '^xenial_(unstable|stable)_[^_]+_(marble|kate|kscreen|plasma-workspace|kdeplasma-addons|plasma-desktop)+$' I, [2017-04-25T10:37:58.453217 #12931] INFO -- retry: /^xenial_(unstable|stable)_[^_]+_(marble|kate|kscreen|plasma-workspace|kdeplasma-addons|plasma-desktop)+$/ I, [2017-04-25T10:37:59.153385 #12931] INFO -- retry: Setting system into maintenance mode. I, [2017-04-25T10:38:00.292468 #12931] INFO -- retry: xenial_stable_plasma_kscreen | status - success | queued - false I, [2017-04-25T10:38:00.494518 #12931] INFO -- retry: xenial_unstable_plasma_kscreen | status - success | queued - false I, [2017-04-25T10:38:00.570096 #12931] INFO -- retry: xenial_stable_plasma_plasma-desktop | status - unstable | queued - false I, [2017-04-25T10:38:00.582361 #12931] INFO -- retry: xenial_unstable_applications_kate | status - success | queued - false I, [2017-04-25T10:38:00.605418 #12931] INFO -- retry: xenial_unstable_plasma_plasma-desktop | status - failure | queued - false W, [2017-04-25T10:38:00.886758 #12931] WARN -- retry: xenial_unstable_plasma_kscreen --> build W, [2017-04-25T10:38:01.039269 #12931] WARN -- retry: xenial_stable_plasma_plasma-desktop --> build W, [2017-04-25T10:38:01.063465 #12931] WARN -- retry: xenial_unstable_applications_kate --> build I, [2017-04-25T10:38:01.077934 #12931] INFO -- retry: xenial_unstable_plasma_kdeplasma-addons | status - failure | queued - false I, [2017-04-25T10:38:01.456546 #12931] INFO -- retry: xenial_stable_applications_kate | status - success | queued - false I, [2017-04-25T10:38:01.552402 #12931] INFO -- retry: xenial_stable_applications_marble | status - failure | queued - false W, [2017-04-25T10:38:01.870864 #12931] WARN -- retry: xenial_unstable_plasma_kdeplasma-addons --> build W, [2017-04-25T10:38:02.191068 #12931] WARN -- retry: xenial_stable_applications_kate --> build W, [2017-04-25T10:38:02.299011 #12931] WARN -- retry: xenial_stable_applications_marble --> build I, [2017-04-25T10:38:05.609966 #12931] INFO -- retry: xenial_stable_plasma_plasma-workspace | status - unstable | queued - false I, [2017-04-25T10:38:05.628753 #12931] INFO -- retry: xenial_unstable_plasma_plasma-workspace | status - unstable | queued - false I, [2017-04-25T10:38:05.702539 #12931] INFO -- retry: xenial_unstable_applications_marble | status - failure | queued - false I, [2017-04-25T10:38:05.724345 #12931] INFO -- retry: xenial_stable_plasma_kdeplasma-addons | status - unstable | queued - false W, [2017-04-25T10:38:06.173275 #12931] WARN -- retry: xenial_unstable_plasma_plasma-desktop --> build W, [2017-04-25T10:38:06.257982 #12931] WARN -- retry: xenial_stable_plasma_kscreen --> build W, [2017-04-25T10:38:06.427483 #12931] WARN -- retry: xenial_unstable_plasma_plasma-workspace --> build W, [2017-04-25T10:38:06.582744 #12931] WARN -- retry: xenial_unstable_applications_marble --> build W, [2017-04-25T10:38:06.719650 #12931] WARN -- retry: xenial_stable_plasma_kdeplasma-addons --> build W, [2017-04-25T10:38:11.484999 #12931] WARN -- retry: xenial_stable_plasma_plasma-workspace --> build