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.
I have a need, after doing a yum install of a package, to discover that I needed to do it again. Trying the uninstall and then a reinstall is not feasable.
Did I miss something in checking the yum documentation where there is a parameter for yum to allow it to do a reinstall?
I would like the reinstall to do it in a safe way. (Not to do it if there are new conflicts, but do replace co-requisites, and some earlier prerequisites).
What exactly did you install that gave you errors?, and what are the errors?
Posting them will definitely help, Fedora does have it's dependency issues, but I usually can find a way around them. For some examples, read my posts in this thread:
The last post I mentioned how I had three updates after installing Amarok that gave me a big list of these conflict errors. I had to remove Amarok and all it's long list of dependencies, then apply the update packages via command line using their full package name before re-installing Amarok to circumvent the errors.
One can always do stupid things at times. I had a file system full, so I decided to delete some unused programs... And I did.. as well as some large log files.
Then I thought, I would like to use rpm to uninstall the application to which the programs belonged, but when I ran rpm, it failed, because some of the programs are no longer there.
Then I thought, if I can force a reinstall, it will overwrite the same stuff again, and replace the deleted stuff. When nothing would be missing I could then use rpm to uninstall cleanly, and to remove the invalid entry from the rpm repository.
One sometimes feels like pointing that out, but one also tends to be careful not to insult another.
At this point you can do one of two things:
1: Read "man rpm" , you can query the package to see what it all depends on, then query which packages (depends) are installed and which are missing. You may be able to fix it by yum installing the missing packages, or by yum removing what's left so you can start from scratch.
2: Re-install
EDIT: You can more than likely query with yum also, may be advantageous to read man yum also.
Last edited by Junior Hacker; 03-08-2007 at 07:23 PM.
Look at the smart package manager. It does have a “reinstall” option.
You can get it via a yum install smart from the extras repository. You should also get the smart configuration file for Fedora, since configuring repositories in smart is a real pain. The command for that is yum install fedora-package-config-smart.
<edit>
Oh, if you like GUI applications, smart has a GUI, too: yum install smart-gui, which you can start by smart --gui.
Note also that, like yum, you need to be running as root to run smart.
</edit>
Last edited by PTrenholme; 03-08-2007 at 08:24 PM.
Have downloaded and configured same. Interesting. I have not tried to do a refresh with it. It seems to do what yum or yumex does. Nothing more or less.
Have downloaded and configured same. Interesting. I have not tried to do a refresh with it. It seems to do what yum or yumex does. Nothing more or less.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.