Difference between revisions of "Upgrade 1204 to 1404"

From LinuxMCE
Jump to: navigation, search
(Upgrading MDs)
(Upgrading MDs)
 
Line 37: Line 37:
 
  sudo apt-get update
 
  sudo apt-get update
 
If you have vdr:
 
If you have vdr:
 +
sudo mkdir /etc/vdr/conf.d/
 
  apt-get install vdr-plugin-svdrpservice=1.0.0-5~trusty1
 
  apt-get install vdr-plugin-svdrpservice=1.0.0-5~trusty1
  

Latest revision as of 10:34, 10 January 2016

Describes how to upgrade from LinuxMCE 1204 to 1404.

Background

The normal way of upgrading between Ubuntu releases are the 'do-release-upgrade' command.

This does not work for LinuxMCE (most likely because the update tool disables 3rd party sources (like LinuxMCE) and we have to many dependencies to ubuntu packages for the upgrade to complete without breaking spectacular).

How to upgrade

Disclaimer: This is how I did it, but it may not work for you. This may not be the easiest way. This may not be the best way. You are on your own.

Edit /etc/apt/source.list and replace all 'precise' with 'trusty'

Run: (some of the following will result in errors at the end of each command, but continue with the next one anyway)

sudo apt-get update

Then you will have to do some manual upgrades to avoid blowing the whole system away.

sudo mkdir /etc/vdr/conf.d/
sudo apt-get install lmce-md-meta vdr-plugin-iptv pluto-simplephone pluto-storage-devices liblinphone5 libmediastreamer-base3 libupnp6 vlc vlc-nox libsmbclient samba pluto-vdr vdr vdr-plugin-remotetimers vdr-plugin-svdrpservice=1.0.0-5~trusty1
sudo apt-get install lmce-asterisk
sudo apt-get install asterisk=1:11.7.0~dfsg-1ubuntu1 asterisk-modules=1:11.7.0~dfsg-1ubuntu1 asterisk-mysql=1:11.7.0~dfsg-1ubuntu1 asterisk-voicemail=1:11.7.0~dfsg-1ubuntu1

sudo apt-get dist-upgrade
sudo apt-get -f install
sudo apt-get dist-upgrade

If you are not using vdr, then you can drop the vdr-related packages and commands from the above. Most likely the apt-get install commands can be put into one go - as specified in the disclaimer, this is how I did it.

When the above has completed successfully, edit /etc/pluto.conf and change the PK_Distro=20 to PK_Distro=21 And update the PK_Distro on the Core and MD devices as well (can be done from the web-admin or in the database)

Upgrading MDs

Basically the same as the core.

First change the apt/sources.list, then run:

sudo apt-get update

If you have vdr:

sudo mkdir /etc/vdr/conf.d/
apt-get install vdr-plugin-svdrpservice=1.0.0-5~trusty1

Then

sudo apt-get dist-upgrade

Edit /etc/pluto.conf and change PK_Distro to PK_Distro=21

Reboot