FS#64328 - [pacman-contrib] checkupdates should not use sudo when run as root
Attached to Project:
Community Packages
Opened by nl6720 (nl6720) - Wednesday, 30 October 2019, 12:53 GMT
Last edited by Daniel M. Capella (polyzen) - Friday, 11 December 2020, 20:08 GMT
Opened by nl6720 (nl6720) - Wednesday, 30 October 2019, 12:53 GMT
Last edited by Daniel M. Capella (polyzen) - Friday, 11 December 2020, 20:08 GMT
|
Details
Description:
`checkupdates --download` runs pacman with sudo even if checkupdates is executed as root. root doesn't need to elevate privileges and it creates an unnecessary dependency on sudo. If sudo in not installed, the following error is shown: /usr/bin/checkupdates: line 287: sudo: command not found Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any pacman-contrib 1.2.0-3 Steps to reproduce: On a systemd without sudo, run checkupdates -d |
This task depends upon
Closed by Daniel M. Capella (polyzen)
Friday, 11 December 2020, 20:08 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman-contrib .git/commit/?id=ca89bb69b702222da7f699dd a3ac61ae98c01d6b
Friday, 11 December 2020, 20:08 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman-contrib .git/commit/?id=ca89bb69b702222da7f699dd a3ac61ae98c01d6b
Comment by
Daniel M. Capella (polyzen) -
Thursday, 03 September 2020, 01:37 GMT
https://lists.archlinux.org/pipermail/pacman-contrib/2020-September/000315.html