FS#11557 - Pacman "alter" operation

Attached to Project: Pacman
Opened by Xyne (Xyne) - Monday, 22 September 2008, 17:54 GMT
Last edited by Dan McGee (toofishes) - Monday, 22 December 2008, 18:22 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Changing a package's install reason currently requires re-installing the package, e.g.
pacman -S --asdeps <pkg>

The suggestion is to add a new operation, "alter", invoked with "--alter" or "-A", that would be able to alter package details without re-installation, e.g.
pacman -A --asexplicit <pkg>

Looking ahead, this might be useful for dealing with optdepends in order to dynamically link them to target packages to avoid overpopulating the pacman -Qdt list.
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 22 December 2008, 18:22 GMT
Reason for closing:  Won't implement
Comment by Dan McGee (toofishes) - Monday, 22 September 2008, 19:36 GMT
1) vim /var/lib/pacman/local/<pkgfolder>/depends
2) change 1 to 0 under %REASON% header to mark it as explicitly installed
OR
add the following to mark it as installed as a dependency

%REASON%
1

3) :w

The -A option is still too close to the old usage of --add (it has only been gone one pacman version), so we can't use that, and I just don't see the need for excessive proliferation of options.

Loading...