[Yum] Download unstable?

Ian Burrell ian at znark.com
Thu Jan 29 03:14:18 UTC 2004


Karsten Jeppesen wrote:
> Yes - I know it is a builtin-shell statement.
> But if you use YDL you would now (if you have a briQ at least) be 
> updating from 1.xxx to 2.0.4
> That would mean that the hash table is wrong.
> If you put "hash -r" in the %post section then it will be executed after 
> the rpm has installed. And thereby reset bash for new path search.
> 

That won't help.  The postun script will reset the cached path for the 
shell run by rpm.  It won't touch the cache in the parent shell that is 
running rpm.

I think it is a bug in bash that it gives an error when the entry in the 
cache is wrong.  It should redo the path search.

  - Ian

-- 
ian at znark.com
http://www.znark.com/



More information about the Yum mailing list