Re: What is DNF Check-upgrade Actually Doing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux