Re: Strangeness with recent FC5 update

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

 



Bill Nottingham wrote:
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.

  
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.
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.

  
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.
  
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?
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

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]