Dnf autoremove wants to delete everything along with the kernel
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dnf autoremove wants to delete everything along with the kernel
Please correct me if I'm wrong but after coming from Ubuntu, and reading some other forums, I thought that "dnf autoremove" essentially plays the same role as "sudo-apt autoremove" in Ubuntu.
I have some left files and dependencies that I don't need and are just lying there doing nothing, so I thought I could use "autoremove" for that. Instead, autoremove wants to delete everything I installed, along with the kernel currently in use. Am I doing something wrong? Is there some other command that could do the job?
Once upon a time, in a century long gone, I may have used similar. I may even have forced the issue, disregarding the warning.
Once.
When dnf support was announced for Fedora, I quickly spied the removal of running kernel protection. What a mob of dicks.
I too would recommend you stay well away from autoremove.
which should remove just that package, if it's a package that you want to remove, and rpm won't check dependencies. You need to know what you are doing though.
To remove files, use: rm filename. That's get rid of them for good usually.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.