Bill Nottingham wrote:
When viewing the rpms with mc you see two files, one is named *UPDATE and another is called *INSTALL. I figured they were scripts since I have clicked on one or the other to install or update in both rpm and deb formats before to upgrade or install.Jim Cornette (fct-cornette@xxxxxxxxxxxxxx) 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. Since you mentioned that they were not scripts, I viewed them with mcedit and only "run this script if updating" and the same words except "installing" included in the other. This is my confusion on the assumption that they were scripts. Thanks, I'll pay closer attention to the remove listing in yum transactions. So update should be listed and there should be no remove action in ordinary upgrades with the kernel being an exception for the older kernel versions?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 -- I think my career is ruined! |
-- fedora-test-list mailing list fedora-test-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list