[Yum-devel] update rpms that are not installed

seth vidal skvidal at phy.duke.edu
Tue Feb 1 03:31:04 UTC 2005


On Mon, 2005-01-31 at 19:19 -0800, esammons-lists at hush.com wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Finally got a chance to try it... but no luck...
> 
> # rpm -q yum
> yum-2.1.13-1
> 
> # mkdir -p /tmp/foo
> # rm -f /tmp/foo/*
> 
> # yum --installroot=/tmp/foo list available
> Setting up Repos
> Cannot find a valid baseurl for repo: base
> 
> Hmmm....  Is that what you ment?

well that's just b/c it can't resolve out repo sdtrings with $releasever
in them when you don't have a distroverPkg to resolve out.



> One idea I had was to set up a temp rpm db (barrowed this part..)
> 'rpm --initdb --dbpath ${TMP_D}'

what do you think installroot does?



> Anyone have a better mouse trap?

fix the baseurls I mentioned above.
do the --instalroot and do

yum --installroot=/my/special/crack install \*

and see what happens.

-sv





More information about the Yum-devel mailing list