[Yum] Download unstable?

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

 



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@xxxxxxxxx
http://www.znark.com/

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux