On 27/11/24 13:08, Tim via users wrote:
On Wed, 2024-11-27 at 08:38 +1100, Stephen Morris wrote:
Which then begs the question, if I issue the command "sudo dnf clean
all" which cleans out the system state, does it also clean out the
current user's data if it exists as well, or do you have to issue the
command not under sudo as well for that to happen?
There's an old joke:
Patient:  Doctor, doctor, it hurts when I do this.
Doctor:  Well, stop doing that, then.

But serious, try out the command both ways, then stop doing it if it
worries you where it's storing the info.

*Very* old info suggested:

     /var/cache/dnf is when dnf is used with superuser
     /var/tmp/dnf-<your_user_name>-<hash> is when you run it as you

Have a look, see if that's still the case.

I did check this out and as you have suggested there is data in both sets of paths but the data in /var/tmp/dnf-<your_user_name>-<hash> is not maintained by the current dnf package. Looking at /var/cache/dnf begs the question of where is it specified for each repository how many cached copies dnf is going to keep. For the Fedora, Updates, Fedora Cisco, Rpmfusion-Free and Rpmfusion-Nonfree it seems to be keeping 5 copies, but for non-Fedora repos it seems to only be keeping 1 copy?

regards,
Steve


Attachment: OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key

Attachment: 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

Reply via email to