  | |  | How to query the package owning the file? (no package manger installed) | How to query the package owning the file? (no package manger installed) 2005-07-15 - By Ed Wilts
Back On Fri, Jul 15, 2005 at 10:00:46AM -0700, Will Yardley wrote: > I don't know how hard it is to use rpm or similar to uninstall > itself, but seems like there must be some way (you can always remove the > binaries directly if rpm won't let you uninstall itself, and surely you > can force-remove it somehow -- I'm not going to test it out, though).
I haven't tried it recently, but you can rpm -e rpm. I had to do it once when I had a corrupted rpm binary. Back then, rpm was statically linked and I just copied the rpm binary from another system and did an rpm -i again. This is not something I want to test on a production system :-)
> I think the question was intended to test the applicant's knowledge of > how the system itself works, and her / his ability to deal with less > than optimal / unexpected circumstances. Sure - maybe that particular > scenario is unlikely, but I have definitely seen cases where a package > management system of one sort or another fails, either because the > program is messed up, system got rooted, the package db is corrupt, etc. > etc.
My personal guess is that they were looking for more information surrounding the management of tarball-installed packages. We'll never know unless the OP gets the job and talks to the interviewer again.
-- Ed Wilts, RHCE Mounds View, MN, USA mailto:ewilts@(protected) Member #1, Red Hat Community Ambassador Program
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |