Open cy6erGn0m opened 2 years ago
If a regular user is unable to update meta, then it shouldn't even try and search quickly using existing data with a warning.
+1 Is this a good idea to implement in 2022?
There is a manual workaround from command line to use "zypper --no-refresh search XXX". maybe --no-refresh should be made the default option on non-root usage?
I agree the slowdown is real, it takes almost a second to do something that changes nothing, when you're actively waiting. on stuff.
If zypper search executed from a regular user and the metadata is not exactly fresh (even few hours after refreshing), it simply hangs for long time, prints message "Repository main is outdated. Run zypper refresh as root" and then gets stuck.
If a regular user is unable to update meta, then it shouldn't even try and search quickly using existing data with a warning. May be it could treat it as error, but for sure it shouldn't hang for so long time.
The other issue is that the client does something with no output so I can't know, if it actually working or stuck