1

I think it's really strange that apt-get update and apt-get upgrade need sudo. But why doesn't using Software Updater need it as welll?

I mean, I can install (almost) all updates without even being sudo, making Software Updater an easier (and maybe more safe) way to update?

kos
  • 41,268
Nori-chan
  • 865

1 Answers1

3

Because you silently authenticate via PolicyKit when running the Software Updater. Part of the 'secret' is in the file

/var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla

more exactly via this entry:

[Update already installed software]
Identity=unix-group:admin;unix-group:sudo
Action=org.debian.apt.upgrade-packages
ResultActive=yes