[Yum] Download unstable?

Eric V. Smith eric at trueblade.com
Wed Jan 28 22:08:24 UTC 2004


seth vidal said:
> On Wed, 2004-01-28 at 16:41, 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.
>>
>
> it doesn't work for all shells - only if you're using bash.

Also, it wouldn't work for your current interactive shell, it would be for
the shell fired up by rpm to process %post.  So even if it were a good
idea (it isn't), it wouldn't work anyway.







More information about the Yum mailing list