  | |  | 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 Will Yardley
Back On Fri, Jul 15, 2005 at 11:32:09AM -0500, Ed Wilts wrote: > On Fri, Jul 15, 2005 at 08:35:22AM -0700, Will Yardley wrote: > > On Fri, Jul 15, 2005 at 05:39:57PM +0530, Truejack wrote:
> > > Is this actually possible? Install the Linux OS without a package > > > manager?
> > Depends what you mean by install. You could easily install RHEL via > > kickstart or system imager without directly using a package manager, > If you use a system imager, then you've already used rpm to install > RHEL.
On one machine... but you could presumably create an image which doesn't have it installed (after installing packages). I can't imagine many circumstances where you would /want/ to do this, of course.
Sounds like the question asked of the OP didn't say that the machine never had a package manager installed... just that it didn't have one now. 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 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.
> > There are Linux distributions which don't use (or require) binary > > packages. > This is a Red Hat list.
Right, which is why I assume the OP meant "RHEL" by "Linux OS". Perhaps I'm being excessively pedantic. I'm not one of those GNU/Linux types, but I do think it's annoying when people think RH == Linux.
> In any case, EVERY Linux distribution requires binaries to start - > there's no way to throw source code at a computer and expect something > to happen unless you've got a compiler in ROM.
And sure. But binary ! = binary package in the sense of the sort of packages used by rpm / dpkg / whatever (I'm excluding a simple tarball / cpio archive, since that doesn't require a "package manager" and doesn't include meta-information about dependencies etc.).
-- )) <> (( forever.
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |