LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-07-2007, 07:58 AM   #1
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311
Blog Entries: 1

Rep: Reputation: 59
Yum redo needed


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).

Help.

Leslie
 
Old 03-08-2007, 04:19 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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:

http://www.linuxquestions.org/questi...d.php?t=526377

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.
 
Old 03-08-2007, 06:26 PM   #3
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
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.

No such luck.
 
Old 03-08-2007, 07:20 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 03-08-2007, 08:20 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.
 
Old 03-09-2007, 06:03 PM   #6
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
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.

Of course, I may be wrong....
 
Old 03-09-2007, 06:03 PM   #7
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
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.

Of course, I may be wrong....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable logging in yum-updatesd needed nonfatalexec Fedora 9 01-27-2007 03:49 PM
Help needed on how to use YUM Hamill23 Linux - Software 11 11-30-2006 03:50 AM
Yum/Apt whis is better? yum or apt repos needed coolguy_iiit Linux - Newbie 1 07-31-2006 08:48 AM
Yum Repos Needed coolguy_iiit Linux - Newbie 1 07-30-2006 01:51 PM
APT / YUM Help Needed Alucardx Fedora 1 06-14-2004 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration