Bug 61372 - It's difficult to reinstall a corrupted package.
Summary: It's difficult to reinstall a corrupted package.
Keywords:
Status: CLOSED DUPLICATE of bug 61373
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-18 18:45 UTC by Max TenEyck Woodbury
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-03-18 18:45:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Max TenEyck Woodbury 2002-03-18 18:45:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en] (WinNT; I)

Description of problem:
For any of a number of reasons, a package instilation may need to be redone. In particular, some files in a package may have been deleted or corrupted. (The 
notorious 'rm -rR /' is a good example of this.) Assuming the RPM database has survived and you have
access to a package distribution, it
should be fairly easy to verify which files are missing or corrupt and reinstall them. The current implementation makes locating the missing/corrupted file possible, but 
it 
is NOT easy to do the update. Either add a 'fixit' option to 'verify' mode, or add a seperate 'fixit' mode. Interactive confirmation and batch mode would be useful 
options. 
On the other hand, if this already exists, I couldn't find anything on the subject in the documentation.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.rm -fR /
2.^C (quickly!)
3.rpm -Va (or whatever...)
  Now what do you do?
	

Actual Results:  You're SOL and probably out on the street looking for a new job.

Expected Results:  4.mount /mnt/cdrom
5./mnt/cdrom/.../rpm -Va --fixit -interactive

Additional info:

This would be useful wien a machine has had a security compromise.

Comment 1 Jeff Johnson 2002-03-18 20:41:33 UTC

*** This bug has been marked as a duplicate of 61373 ***

Comment 2 Max TenEyck Woodbury 2002-03-19 05:17:16 UTC
Sorry, browser trouble...

Comment 3 Jeff Johnson 2002-03-19 15:14:33 UTC
Happens to me all the time, bugzilla has
some (ahem) confusing deficiencies :-)


Note You need to log in before you can comment on or make changes to this bug.