FS#75565 - [networkmanager-l2tp] split package won't upgrade to latest version 1.20.4-4
Attached to Project:
Community Packages
Opened by Paul Kasemir (pkasemir) - Tuesday, 09 August 2022, 15:38 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 12 August 2022, 18:10 GMT
Opened by Paul Kasemir (pkasemir) - Tuesday, 09 August 2022, 15:38 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 12 August 2022, 18:10 GMT
|
Details
Description:
Recent changes from 1.20.4-2 split this package and later in 1.20.4-4 it was unsplit The problem is if you had installed one of the split packages and then run a system upgrade, it won't update to the newer unsplit package. This can probably be fixed by making a new version 1.20.4-5 that replaces=(networkmanager-l2tp-gtk3 networkmanager-l2tp-gtk4) Additional info: * package version: 1.20.4-3 -> 1.20.4-4 * Console log [paul@archlinuxtest l2tp]$ date Tue Aug 9 09:22:45 AM MDT 2022 [paul@archlinuxtest l2tp]$ pacman -Q networkmanager-l2tp networkmanager-l2tp-gtk3 1.20.4-3 [paul@archlinuxtest l2tp]$ sudo pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date community is up to date :: Starting full system upgrade... there is nothing to do [paul@archlinuxtest l2tp]$ Steps to reproduce: * have one of the split packages installed (e.g. networkmanager-l2tp-gtk3) * since packages don't exist anymore need to build it directly from * https://github.com/archlinux/svntogit-community/commit/04dc6b8c754c8a24ae655f71f520489120cfb1f8 * upgrade system (doesn't move to version 1.20.4-4) wget https://raw.githubusercontent.com/archlinux/svntogit-community/04dc6b8c754c8a24ae655f71f520489120cfb1f8/trunk/PKGBUILD makepkg -s pacman -U networkmanager-l2tp-gtk3-1.20.4-3-x86_64.pkg.tar.zst pacman -Syu |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 12 August 2022, 18:10 GMT
Reason for closing: Fixed
Friday, 12 August 2022, 18:10 GMT
Reason for closing: Fixed
For example https://forum.garudalinux.org/t/garuda-update-networkmanager-l2tp-gtk3-and-networkmanager-l2tp-gtk4-are-in-conflict/21259
And unless you expect all those folks who did upgrade to it to automagically know that their upgrade path has hit a dead end, it should be fixed.
Anyone who upgraded to it will never know their package is out-of-date unless they manually checked, which seems unlikely. And AFAIK archlinux is supposed to be a rolling release model and this split package having those dead end packages breaks that model....
Besides, I've tested it for you and it works using my local repository. So it really isn't that much effort. All that needs to be done is bump pkgrel and add the following line:
replaces=(networkmanager-l2tp-gtk3 networkmanager-l2tp-gtk4)