Summary: | Failure when updating kate | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-ki18n | Reporter: | Martin Flöser <mgraesslin> |
Component: | general | Assignee: | Chusslove Illich <caslav.ilic> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | aleixpol, fmetton, jr, kdelibs-bugs, neon-bugs, orangewinds, sitter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/ki18n/7bce4e8128365de13682b400e4acf5b393e94ab9 | Version Fixed In: |
Description
Martin Flöser
2017-04-23 12:28:22 UTC
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 |