Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#73100 - [packagekit] Doesn't support versioned replaces
Attached to Project:
Arch Linux
Opened by Philip Müller (philm) - Monday, 20 December 2021, 23:06 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 25 December 2021, 12:37 GMT
Opened by Philip Müller (philm) - Monday, 20 December 2021, 23:06 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 25 December 2021, 12:37 GMT
|
DetailsDescription:
Updating an older install from March 2021 via KDE Discover will fail with Additional info: * package version(s): libcanberra-pulse 0.30+2+gc0620e4-3 and libcanberra 0.30+2+gc0620e4-3 * commit introducing the issue: https://github.com/archlinux/svntogit-packages/commit/3abc581a57e7378f4dbe00f406cfcaa6db49940d Steps to reproduce: Try to update an older Plasma install from March 2021 via KDE Discover Solution: Add the following to the PKGBUILD provides=('libcanberra-pulse') conflicts=("libcanberra-pulse<0.30+2+gc0620e4-4") |
This task depends upon
Closed by Antonio Rojas (arojas)
Saturday, 25 December 2021, 12:37 GMT
Reason for closing: Fixed
Additional comments about closing: packagekit 1.2.4-3
Saturday, 25 December 2021, 12:37 GMT
Reason for closing: Fixed
Additional comments about closing: packagekit 1.2.4-3
the issue is not with pacman, rather packagekit/alpm combo from back then in March 2021. We produced a factory image for the Pinephone which hold Plasma 5.21.2 and older packagekit. Attached you may find the pacman output which updates just fine. However the user should be able to update also with Discover, which was reported by Distrowatch last review: https://distrowatch.com/weekly.php?issue=20211220#pinephone. Hence I provide a solution which solved the problem on our end: https://gitlab.manjaro.org/manjaro-arm/packages/community/pinephone/pinephone-manjaro-tweaks/-/commit/90352f1c8479e146001b6f273b0e8392f31b55b1
As I see it: if at least conflicts is not given Discover via packagekit/alpm is not able to update and fails with: Dependency resolution failed: libcanberra=0.30+2+gc0620e4-3
So I suggest to add those two lines, which don't hurt, so users, which may have similar issues of outdated systems can also update graphically.
[1] https://github.com/PackageKit/PackageKit/blob/main/backends/alpm/pk-alpm-update.c#L340
https://github.com/PackageKit/PackageKit/pull/523
https://github.com/PackageKit/PackageKit/pull/524