Changes

From SME Server
Jump to navigationJump to search
117 bytes added ,  23:38, 10 January 2011
m
Line 52: Line 52:  
  rm -rf /var/cache/yum/*
 
  rm -rf /var/cache/yum/*
 
</li><li>Perform the upgrade:
 
</li><li>Perform the upgrade:
  yum --disablerepo=smeextras --enablerepo=smeupdates-testing upgrade
+
  yum --disablerepo '*' \
 +
    --enablerepo smeupdates-testing \
 +
    $(db yum_repositories print | \
 +
      awk -F= '/^sme.*status\|enabled/{ print "--enablerepo " $1 }') \
 +
    upgrade
 
</li><li>Remove outdated rpm database and rebuild it (zeros not O's)
 
</li><li>Remove outdated rpm database and rebuild it (zeros not O's)
 
  rm -f /var/lib/rpm/__db.00*
 
  rm -f /var/lib/rpm/__db.00*
board
414

edits

Navigation menu