https://bugzilla.suse.com/show_bug.cgi?id=1225932 https://bugzilla.suse.com/show_bug.cgi?id=1225932#c1 Thorsten Kukuk <kukuk@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kukuk@suse.com --- Comment #1 from Thorsten Kukuk <kukuk@suse.com> --- (In reply to Robert Simai from comment #0)
I'm not sure why refreshing the updates requires sudo as a regular user could successfully run "zypper lu" as well. But if it does, we could at least come up with a clearer message "switch to administrative access first" or such.
"zypper lu" uses the cache, so will show the results from the time when the last refresh did run. "zypper ref" needs write access to the cache, which only root has. Else it cannot store the refreshed data, and maybe even not read necessary passwords to access repositories. So if "zypper lu" should give you current results and not from the cache, it needs to run as root, too. -- You are receiving this mail because: You are on the CC list for the bug.