Strangeness with recent FC5 update

Bill Nottingham notting at redhat.com
Tue Jul 11 15:50:05 UTC 2006


Jim Cornette (fct-cornette at insight.rr.com) said: 
> Does yum update work differently than rpm -Uvh does?

Generally, no. (In this specific case, it appears to be.)

> If you use the update option to rpm and it is not installed, does it use 
> the install script vs. the update script?

There's no such thing as an 'install' or 'update' scripts; there is
just %post, %postun, etc.

> What happens if a package is removed by yum, then updated via the update 
> script? Do some routines get skipped, like adding the files which were 
> saved by the package removal previously, which do not exist, but were 
> saved as the remove routine?

If it's in the transaction as 'remove', then 'update', something odd
will happen.

Bill




More information about the fedora-test-list mailing list