Lan Barnes wrote:
On Sat, Dec 10, 2005 at 10:14:08AM -0800, Ralph Shumaker wrote:
David Looney wrote:
using rpm with --root <directory>
will install all files using the given directory as root, and the
database within root (i.e. not your system database).
By your terms "directory as root" and "within root", I assume you mean
"directory as /" and "within /" respectively.
If I'm understanding correctly, "rpm --root <directory> -i
some-package.rpm" causes the rpm install of some-package.rpm to consider
<directory> to be / as far as it is concerned and all install operations
take place within that root jail. And that includes creating a new rpm
database within that jail. (It's not that I'm trying to be obtuse.
Sometimes stupid details that seem so obvious to some are not so obvious
to me. I /think/ I understand this. But with the chance of completely
mucking up "rpm" itself on my system, I want to be completely sure
before proceeding. The file I need (librpm.so.0) is only found within
older versions of the rpm package itself. The "apt" rpm fails for that
dependency.)
I think this is right.
I just tried it. But "apt" still fails dependencies:
I thought the point of the exercise was to recover one file from the
install? Use --nodeps.
It *was* the point I was after. But it was only to clear the path for my
goal.
To any and all, to whom it may concern:
What percentage of failed dependencies do you resort to "--nodeps"? If
you have an rpm that you want to install but it fails for a dependency,
do you jump to "--nodeps"? Are you reluctant to go there? Are you even
cautious about it?
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list