Re: automatic dependencies and relocatabel package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jun 19, 2006, at 12:38 PM, Frank Cusack wrote:

On June 19, 2006 3:33:51 PM +0200 Andrei Kazarov <Andrei.Kazarov@xxxxxxx> wrote:
 > rpm -i --dbpath /home/akazarov/releases/testRPMinst/RPMDB
--prefix=/home/akazarov/releases/testRPMinst /usr/src/redhat/RPMS/ i386/LCG-43a-0.i386.rpm
error: Failed dependencies:
        /bin/sh is needed by LCG-43a-0
    Suggested resolutions:
        bash-2.05b-41.4.i386.rpm

What version of rpm provides suggested resolutions, and where does it
get this information from?


Like rpm-4.2, been there quite awhile, I fergit.

The suggestions are from the rpmdb-vendor package, which also drops in the
3 macros necessary to configure suggestions and --aid.

/etc/rpm/macros.solve is the conventional name that Fedora used to use.

Here's what I am currently using, custom hackery to work around my machine peculierness:

#       The path to the dependency universe database. The default value
#       is the rpmdb-vendor location. The macro is usually defined in
#       /etc/rpm/macros.solve, installed with the rpmdb-vendor package.
%_solve_dbpath  /var/lib/solvedb

#       The path to the dependency universe packages. This should
#       be a path to the packages contained in the solve database.
%_solve_pkgsdir /var/cache/yum/development/packages/

# The output binary package file name template used when suggesting # binary packages that solve a dependency. The macro is usually defined # in /etc/rpm/macros.solve, installed with the rpmdb-vendor package.
#
# XXX   Note: escaped %% for use in headerSprintf()
%_solve_name_fmt %{?_solve_pkgsdir}%%{NAME}-%%{VERSION}-%% {RELEASE}.%%{ARCH}.rpm

73 de Jeff

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux