Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
N00bie question, but I was reading this guide for akmod that I cannot find again. In this guide, it explained a way of removing all NVIDIA packages using a combination of Yum and Grep to do it.
I have just upgraded from Fedora 11 to Fedora 12 and wanted to remove some orphaned Fedora 11 packages that didn't get erased. I thought this would be an easy way to do it.
and something that WILL at some point kill a system from a simple typo .
from
Code:
yum list installed | grep fc11
that will give you a list .If it is long or you want a text copy you could do this
" yum list installed | grep fc11 > ~/f11.txt " and you will have a text file in your home folder
then
one at a time remove the fedora 11 rpm's
this is THE SAFEST WAY
"yum erase filename"
I know the "-y" tag gives an automatic yes to everything. I have left the packages for now as I originally thought they were orphans from the upgrade, but they seem to be getting updated automatically from the Repos over time. I assume some apps just weren't packaged in time for F12 to release.
John VV is certainly right. By telling yum to erase all the fc11 packages left over wanted to remove over 200 packages, including "yum" and "rpm". That would have been disastrous for me!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.