ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000405ClearOSapp-software-updates - Software Updatespublic2011-12-13 10:112013-01-29 21:00
Reportertimb80 
Assigned Touser2 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.2-SP1 
Target VersionFixed in Version6.2.0 
Summary0000405: Software Updates report packages that need updating, but are actually older than installed packages.
Description(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
Additional Informationhttp://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/ [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000661)
user2
2013-01-29 21:00

Methodology changed in ClearOS 6, so this is no longer an issue.

- Issue History
Date Modified Username Field Change
2011-12-13 10:11 timb80 New Issue
2011-12-13 10:12 timb80 Description Updated
2011-12-13 10:15 timb80 Description Updated
2011-12-14 11:20 user2 Status new => confirmed
2012-11-02 08:58 user2 Category webconfig-php => app-software-updates - Software Updates
2013-01-29 21:00 user2 Note Added: 0000661
2013-01-29 21:00 user2 Status confirmed => resolved
2013-01-29 21:00 user2 Fixed in Version => 6.2.0
2013-01-29 21:00 user2 Resolution open => fixed
2013-01-29 21:00 user2 Assigned To => user2
2013-01-29 21:00 user2 Status resolved => closed