Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#52786 - Package upgrade priority

Attached to Project: Pacman
Opened by Magissia (Magissia) - Tuesday, 31 January 2017, 09:20 GMT
Last edited by Allan McRae (Allan) - Tuesday, 31 January 2017, 16:09 GMT
Task Type Feature Request
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

pacman should upgrade keyrings and any package authentification oriented packages before attempting to upgrade the system.

Not doing this way force end users to specifically upgrade the keyring before throwing a pacman -Syu as it may generate unknown trust errors if keyring(s) are outdated.

This mechanism could also be used to prioritize other package upgrades if required, for example, keyring could be priority 0, pacman 1 and other priority-less packages, doing a pacman -Syu would upgrade keyring, then pacman, then the rest like it would usually do.

Default config would be to upgrade first anything that may cause upgrade error that could have been easily avoided, like outdated keyring.
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 31 January 2017, 16:09 GMT
Reason for closing:  Won't implement
Comment by Magissia (Magissia) - Tuesday, 31 January 2017, 09:44 GMT
It seems like it existed before as SyncFirst and was removed due to problem it generated, obviously, a package upgrade priority would need to be done properly :

If a prioritized package has dependency, these dependency has to be upgraded if required too, even if not explicitly prioritized.

If this is too much a hassle, then there's at least a need for the keyring, or packages that may block upgrade.

While ArchLinux is supposed to always be up to date, when installed on some old people's computer, they tend to forget to update the rigs, and not updating regularly enough is not a good reason to generate forum post asking for support on this case as it could be avoided if pacman acted a little bit smarter on this part.

Loading...