Search the web
Sign In
New User? Sign Up
rpm-list · Redhat RPM List

Group Information

  • Members: 146
  • Category: Linux
  • Founded: Aug 7, 1998
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
--aid option   Message List  
Reply Message #22158 of 26827 |
Re: --aid option

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



Wed Jun 25, 2003 4:07 pm

jbj@...
Send Email Send Email

Message #22158 of 26827 |
Expand Messages Author Sort by Date

Hello everybody, I saw the --aid in the rpm man page (redhat 8.0), but I was not able to make it work. For example, if I issue ... # rpm -i --aid...
Werther Chierici
w_chierici@... Send Email
Jan 10, 2003
10:40 am

... Well the use of -i is hardly ever correct, use -U instead. Yes, kernels should be installed with -i. ... No, you need to configure a path where package(s)...
Jeff Johnson
jbj@... Send Email
Jan 10, 2003
2:57 pm

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...
Aaron Hanson
a.hanson@... Send Email
Jun 25, 2003
3:40 pm

... 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...
Chris Ricker
kaboom@... Send Email
Jun 25, 2003
3:51 pm

... 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...
Jeff Johnson
jbj@... Send Email
Jun 25, 2003
4:17 pm

Thanks Chris! Having a somewhat unique token like "_solve_pkgsdir" with which to search provided lots of informative hits on this subject. -Aaron ... ...
Aaron Hanson
a.hanson@... Send Email
Jun 25, 2003
5:06 pm

Thanks Jeff- I just installed rpmdb-redhat. Inspection of the package suggests that it is a copy of /var/lib/rpm from a "kitchen sink" installation. Is that...
Aaron Hanson
a.hanson@... Send Email
Jun 25, 2003
5:41 pm

... Yup, rpmdb-redhat is created from one line rpm exec using --justdb (and like 20+ other options). See the rpmdb-redhat*.src.rpm for details. ... That'll...
Jeff Johnson
jbj@... Send Email
Jun 25, 2003
5:50 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help