On Wed, Jun 25, 2003 at 09:46:56AM -0600, Chris Ricker wrote:
> On Wed, 25 Jun 2003, Aaron Hanson wrote:
>
> > Hi All-
> >
> > The rpm manual description of this install option (--aid) is very
> > alluring; but I can't get it to work. I think it is intended to
> > provide something like "Install package X and any other packages that
> > X requires". But how does one specify the 'pool' of other packages?
> > "rpm -i --aid X.rpm" definitely does not work...
>
> I think you're supposed to be able to define the macro
>
> %_solve_pkgsdir /path/to/pool/of/packages
>
> in ~root/.rpmmacros
>
> for it.
>
> In practice, that doesn't seem to work. But
>
> # cd /path/to/pool/of/packages
> # rpm -ivh foo.rpm
I have package universes mounted as /distroversion/arch (e.g. /8.0/i386)
and use the following (for /8.0/i386) in /etc/rpm/macros:
%_solve_dbpath /usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/redhat
%_solve_pkgsdir /8.0/i386/
%_solve_name_fmt
%{?_solve_pkgsdir}%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@... (jbj@...)
Chapel Hill, NC
_______________________________________________
Rpm-list mailing list
Rpm-list@...
https://www.redhat.com/mailman/listinfo/rpm-list