Re: What is DNF Check-upgrade Actually Doing

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

 



On Wed, 2024-11-27 at 08:30 +1100, Stephen Morris wrote:
> My main concern was, if I use dnf to install a local rpm and
> afterwards I issue sudo dnf clean all to reclaim space (not that at
> the moment I have a need to be concerned about disk space) does that
> remove knowledge of the rpm having been installed?

No, the RPM database is separate.

Generally speaking, doing "clean all" is unnecessary for the user, and
needlessly increases the workload on the repo servers.  Now, instead of
a user doing a metadata check and carrying on with perfectly fine
cached data, it's fetching it all again.  Multiply that by lots of
users doing the same thing, and it's a huge increase.  It gets even
worse if people start downloading lots of RPMs, stuff something up,
then dump their cache and start over again.

It was always bad advice, and became a bit of a cargo cult mentality.

When you do a dnf/yum update/install your software automatically
handles caching of metadata and downloaded packages.  It updates the
metadata *when* needed, and this means out with the old in with the
new, it's not accumulating more and more.  Also, by default, the RPM
packages it downloads to do these updates and installs are only kept on
your drive until the job is finished, then they're purged.

-- 
 
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 

-- 
_______________________________________________
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