On 25/11/24 18:42, Samuel Sieb wrote:
I'm not explicitly doing it, it's just that sometimes I forget to use sudo and dnf then goes off and does whatever it does for this command instead of prompting that it needs sudo to function, like some other software does.On 11/24/24 2:04 PM, Stephen Morris wrote:I have to questions around what that command is doing.1). Why is it producing the messages "Updating and loading repositories:"and "Repositories loaded." with nothing between them which means that it didn't do anything? This functionality is independent of whether the command is issued under sudo or not.If it hasn't been long enough since the last time it checked the repos, then it just loads the cached data. You can override that with the refresh option to force it to check.2). When it does list repositories between the two messages, what is it actually doing when the command is not issued under sudo, particularly when issuing the command lists the two updates repositories and then issuing it again immediately after produces nothing between the two messages?If you don't use sudo, then it saves the cached data somewhere that your user has access to. I don't know where that is, but why would you want to do that anyway?
regards, Steve
OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue