Re: How to fix "dnf autoremove" on my system?

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

 



On 23.12.19 22:52, Samuel Sieb wrote:
Why do you think your package database is corrupted?  If it's because of this autoremove issue, then you don't really have a problem.

What I want to do is to clean up my installed packages. I want to get rid of packages that have been left in the past while upgrading between releases. Especially packages that have been installed as dependency of long gone packages.

That's what I thought "dnf autoremove" could help with.

I think the metadata store is different between yum and dnf, so if you initially installed with yum, then dnf won't have all the right info.

Doesn't this make the whole idea of replacing yum with dnf a pretty bad thing? I thought dnf would start with the last yum database right away or they even share the same databases. Isn't yum just a wrapper for dnf on current Fedora installations?

Why are you trying to do this?  There is no easy way to mark the necessary packages.  It's a very manual process and somewhat specific to the person doing it.  Unless you have a specific concern, it's not worth it.

I want to clean up the system. It runs for several years now (without major problems) but I want to swap the hard drive with an SSD and remove some unused stuff before copying the system to the new drive.

I guess a good start could be to install a fresh Fedora installation in a virtual machine and get a list of explicitly installed packages from that. If I mark all these as explicitly installed on the other machine, I think the "autoremove" list could be way shorter.

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



[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