ClearFoundation Tracker - ClearOS
View Issue Details
0000405ClearOSapp-software-updates - Software Updatespublic2011-12-13 10:112013-01-29 21:00
timb80 
user2 
normalminoralways
closedfixed 
5.2-SP1 
6.2.0 
0000405: Software Updates report packages that need updating, but are actually older than installed packages.
(This should be filed with app-software-updates but this category doesn't exist)

The software updates page reports that packages need updating, even though they are installed and possibly newer. This is confirmed by running 'yum clean all && yum upgrade' from the command line with no remaining updates.

This appears to be issues with the NVR comparison of RPM's. It occurs in instances where the version is the same, but the release or build has changed

The webconfig API (SoftwareUpdates.class.php) appears to do a numerical comparison ( a > b ) on the whole release string, however could be improved to compare each 'segment' or dist tag.

e.g. el5_7 is newer than el5_6
http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,37/func,view/id,35479/ [^]
http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,38/func,view/id,35106/ [^]
No tags attached.
Issue History
2011-12-13 10:11timb80New Issue
2011-12-13 10:12timb80Description Updated
2011-12-13 10:15timb80Description Updated
2011-12-14 11:20user2Statusnew => confirmed
2012-11-02 08:58user2Categorywebconfig-php => app-software-updates - Software Updates
2013-01-29 21:00user2Note Added: 0000661
2013-01-29 21:00user2Statusconfirmed => resolved
2013-01-29 21:00user2Fixed in Version => 6.2.0
2013-01-29 21:00user2Resolutionopen => fixed
2013-01-29 21:00user2Assigned To => user2
2013-01-29 21:00user2Statusresolved => closed

Notes
(0000661)
user2   
2013-01-29 21:00   
Methodology changed in ClearOS 6, so this is no longer an issue.