You are not logged in.
Pages: 1
Hi guys,
Apologies in advance if this is a silly question!
If i run the following Pacaur command i get this output -
➜ ~ sudo pacaur -Syu
[sudo] password for stephen:
:: you cannot perform this operation as root
➜ ~
Without sudo -
➜ ~ pacaur -Syu
[sudo] password for stephen:
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
infinality-bundle is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (22) ca-certificates-mozilla-3.18-3 cinnamon-2.4.7-1
cinnamon-control-center-2.4.2-3 cinnamon-screensaver-2.4.2-1
cinnamon-translations-2.4.4-1 cjs-2.4.2-1 dhcpcd-6.8.1-1
firefox-37.0-1 freetype2-infinality-ultimate-2.5.5-4
git-2.3.5-1 gnupg-2.1.2-3 i3-wm-4.10.1-1 i3status-2.9-1
iptables-1.4.21-3 mesa-10.5.2-1 mesa-libgl-10.5.2-1
muffin-2.4.5-1 nss-3.18-3 p11-kit-0.23.1-2 procps-ng-3.3.10-2
sudo-1.8.13-1 which-2.21-1
Total Download Size: 62.95 MiB
Total Installed Size: 209.57 MiB
Net Upgrade Size: 4.76 MiB
:: Proceed with installation? [Y/n]
Standard Pacman (no sudo) -
➜ ~ pacman -Syu
error: you cannot perform this operation unless you are root.
➜ ~
Standard Pacman (with sudo) -
➜ ~ sudo pacman -Syu
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
infinality-bundle is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (22) ca-certificates-mozilla-3.18-3 cinnamon-2.4.7-1
cinnamon-control-center-2.4.2-3 cinnamon-screensaver-2.4.2-1
cinnamon-translations-2.4.4-1 cjs-2.4.2-1 dhcpcd-6.8.1-1
firefox-37.0-1 freetype2-infinality-ultimate-2.5.5-4
git-2.3.5-1 gnupg-2.1.2-3 i3-wm-4.10.1-1 i3status-2.9-1
iptables-1.4.21-3 mesa-10.5.2-1 mesa-libgl-10.5.2-1
muffin-2.4.5-1 nss-3.18-3 p11-kit-0.23.1-2 procps-ng-3.3.10-2
sudo-1.8.13-1 which-2.21-1
Total Download Size: 62.95 MiB
Total Installed Size: 209.57 MiB
Net Upgrade Size: 4.76 MiB
:: Proceed with installation? [Y/n]
Can someone explain why Pacaur prompts for sudo *AFTER* the command is returned?
I've always thought when running a command as root the syntax is:
sudo [command]
Not a massive issue but im wondering if i have a configuration screwed up somewhere?
Any help is appreciated
Offline
Sorry forgot to include sudo configuration -
➜ ~ sudo -ll
[sudo] password for stephen:
User stephen may run the following commands on Archey:
Sudoers entry:
RunAsUsers: ALL
Commands:
ALL
➜ ~
Offline
Because it calls sudo for you, only when it needs to.
Offline
Offline
Pages: 1