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.
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.
FS#5641 - Pacman (makepkg): Support for -I (--install with sudo)
Attached to Project:
Pacman
Opened by Brett Andrew Goulder (predatorfreak) - Sunday, 22 October 2006, 06:46 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 08 December 2006, 23:06 GMT
Opened by Brett Andrew Goulder (predatorfreak) - Sunday, 22 October 2006, 06:46 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 08 December 2006, 23:06 GMT
|
DetailsI found the lack of this feature slightly annoying, as there is -S, allowing dependencies to be installed via sudo without sacrificing fakeroot, but not support for installing them in the same fashion. I tried to stick to the coding and indentation style I saw in the code, the only thing I couldn't preserve was the exit $? part, exiting with pacman's status.
Attached is a patch against 2.9.8, complete with a manpage update for the new option. |
This task depends upon
Closed by Dan McGee (toofishes)
Sunday, 11 February 2007, 21:49 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in CVS, did sufficient testing but could always use more.
Sunday, 11 February 2007, 21:49 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented in CVS, did sufficient testing but could always use more.
pacman-2.9.8-installsudo.patch
Perhaps -S should changed to just "use sudo" so -Si, -Sr, and -Ss will be the sudo counterparts of the lowercase options.
Opinions?