ClearFoundation Tracker - ClearOS
View Issue Details
0002279ClearOSapp-software-updates - Software Updatespublic2015-03-25 07:422015-09-10 20:58
bchambers 
user2 
normalminorhave not tried
closedfixed 
7.1.0 Beta 2 
7.1.0 RC17.1.0 RC1 
0002279: yum upgrade can somtimes fail
Helped a user with a server that had not done an update in over 6 months.

Asked them what the yum upgrade output was (thinking dependency issue), but before that, run 'yum clean all' just to start fresh.

'clean all' fixed whatever issue yum was having and the following yum upgrade downloaded and installed 180MB of updates without a problem.

Perhaps we should add a weekly cron job that runs 'clean all' just in case it ends up helping someone...or, automatic software updates should run that before each upgrade command...can't hurt???
No tags attached.
related to 0001562closed user2 Yum cache is still problematic 
Issue History
2015-03-25 07:42bchambersNew Issue
2015-03-25 08:02user2Relationship addedrelated to 0001562
2015-03-25 08:04user2Note Added: 0001399
2015-03-25 08:04user2Statusnew => confirmed
2015-04-01 05:13user2Product Version7.1.0 Beta 1 => 7.1.0 Beta 2
2015-04-01 05:13user2Target Version7.1.0 Beta 1 => 7.1.0 Beta 2
2015-05-25 04:55user2Target Version7.1.0 Beta 2 => 7.1.0 Beta 3
2015-07-12 11:26user2Target Version7.1.0 Beta 3 => 7.1.0 RC1
2015-08-28 11:32user2Categoryapp-base - Base System => app-software-updates - Software Updates
2015-08-28 11:32user2Note Added: 0001892
2015-08-28 12:06user2Statusconfirmed => resolved
2015-08-28 12:06user2Fixed in Version => 7.1.0 RC1
2015-08-28 12:06user2Resolutionopen => fixed
2015-08-28 12:06user2Assigned To => user2
2015-09-10 20:58user2Statusresolved => closed

Notes
(0001399)
user2   
2015-03-25 08:04   
That's easy to duplicate with clock skew. Fix for 0001562 fixed the situation for installing new apps, but there's no "yum clean metadata" for upgrades (Yum->run_upgrade()).
(0001892)
user2   
2015-08-28 11:32   
Two changes were made:

1) The automatic updates now does a yum clean before proceeding.

2) A cron job was added to clean out the metadata every night.