Difference between revisions of "How to upgrade linuxmce"

From LinuxMCE
Jump to: navigation, search
Line 6: Line 6:
  
 
On your core:
 
On your core:
apt-get update
+
 
apt-get upgrade
+
'''apt-get update'''
 +
 
 +
'''apt-get upgrade'''
 +
 
  
 
Then on each MD (after you've completed the core upgrade)
 
Then on each MD (after you've completed the core upgrade)
apt-get update
+
 
apt-get upgrade
+
'''apt-get update'''
 +
 
 +
'''apt-get upgrade'''
  
 
Sometimes performing an 'apt-get dist-upgrade' is required to install new packages (like new kernels when they are available) but this is rare and you will know when it may affect you because 'apt-get upgrade' will tell you that 'The following packages have been held back'... or something similar.  This is telling you that there are packages that will not be changed with 'apt-get upgrade' and that performing an 'apt-get dist-upgrade' would likely install the new packages.  This can sometimes cause problems so be careful if you do.  Backups can be very handy.
 
Sometimes performing an 'apt-get dist-upgrade' is required to install new packages (like new kernels when they are available) but this is rare and you will know when it may affect you because 'apt-get upgrade' will tell you that 'The following packages have been held back'... or something similar.  This is telling you that there are packages that will not be changed with 'apt-get upgrade' and that performing an 'apt-get dist-upgrade' would likely install the new packages.  This can sometimes cause problems so be careful if you do.  Backups can be very handy.

Revision as of 22:43, 24 January 2010

LinuxMCE updates are not relased on any schedule but usually every week or two there are some updated packages. Usually if your system is working well there is no need to do an upgrade. But there may be bugfixes or new features which affect your system (or your enjoyment of it) that you wish to take advantage of.

When you do a package upgrade you should do it on the core first and then on each or your media directors. If you do not upgrade each of your MDs some functionality can break. (MythTV is an example.)

So.. In most situations you want to do the following:

On your core:

apt-get update

apt-get upgrade


Then on each MD (after you've completed the core upgrade)

apt-get update

apt-get upgrade

Sometimes performing an 'apt-get dist-upgrade' is required to install new packages (like new kernels when they are available) but this is rare and you will know when it may affect you because 'apt-get upgrade' will tell you that 'The following packages have been held back'... or something similar. This is telling you that there are packages that will not be changed with 'apt-get upgrade' and that performing an 'apt-get dist-upgrade' would likely install the new packages. This can sometimes cause problems so be careful if you do. Backups can be very handy.