Bug 244224
Summary: | Add 'reinstall' option for yum | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Filip Miletic <filmil> |
Component: | yum | Assignee: | James Antill <james.antill> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7 | CC: | grahamdixon, hellandbarrenjoy, katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-04 21:24:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Filip Miletic
2007-06-14 16:08:31 UTC
I agree with Filip's request. Sometimes you just mess things up and the best and simple way to get around is to remove the package and o install it again. Unfortunately sometimes this solution reveals itself to be more of a problem than the original one with yum removing half of your software because of dependencies. actually, there's a --repackage option with rpm. you can set a flag in yum.conf so when you remove a package, the old package will be placed in /var/spool. however, i believe you use rpm and a specified time to restore the old package. what would be nice is if there was a yum switch/option(s) that you can use to roll back individual packages by name from a source directory without having to use rpm and a date range. this may already be possible from just using rpm and up2date but having it centralized and efficient in yum would be nice. wow. this is 7 months old. never mind. i'll just write a script. okay I just checked this code into yum upstream yum reinstall pkg should do the right thing (within reason) I'd highly recommend being as specific as possible with the pkg specification so you don't end up adding too much. |