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

Re: --aid not working with freshen



On Fri, Aug 22, 2003 at 07:35:18PM +0200, Leonard den Ottolander wrote:
> Hi,
> 
>  I sort of hoped that --aid would also install dependencies when freshening 
> a system, but this fails (never mind the --root, similar behaviour is seen 
> when freshening the current system):
> 

--aid implements only one of the 2 essential elements of a dependency
solver. The 2 essential elements are
	a) locate a previously uninstalled package that satisfies a
	new dependency.
	b) upgrade an already installed package in order to solve a problem.

> [root@athlon i586]# rpm --root /mnt/tmp -Fv *.rpm --aid
> warning: a2ps-4.13b-29.i386.rpm: V3 DSA signature: NOKEY, key ID 897da07a
> warning: ac-archive-0.5.39-2.noarch.rpm: V3 DSA signature: NOKEY, key ID 
> db42a60e
> error: Failed dependencies:
>         tzdata >= 2003a is needed by glibc-common-2.3.2-71

--aid implements a) but not b), and, afaict, an already installed package
has a problem in your case.

(Otherwise, the package that provides tzdata is missing in wherever you
have configured %_solve_pkgsdir. You did configiure a pointer to a directory
that contains all the packages mentioned in rpmdb-redhat, didnt you?)

> [root@athlon i586]# rpm --root /mnt/tmp -q rpmdb-redhat
> rpmdb-redhat-9.0.93-0.20030718
> [root@athlon i586]# rpm -q rpmdb-redhat
> rpmdb-redhat-9.0.93-0.20030718
> [root@athlon i586]# rpm -q rpm
> rpm-4.2.1-0.30
> 
>  Might this behaviour change in the future? I prefer using freshen over 
> upgrade since this saves me the effort to put the needed rpms in a separate 
> directory. Using freshen I can just maintain a directory containing the 
> latest version of every rpm.

preference is futile, as freshen is just one of many policy driven upgrades,
but I understand your meaning too ;-)

> 
>  By the way this is a Severn system.

Good. Glad to hear that --aid is being used. Bugzilla please, to give
my manglers a clue that, yes, indeedy, a dependency solver on the rpm
CLI is a very good thing.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC




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