Jump to content

Upgrade 1204 to 1404: Difference between revisions

From LinuxMCE
 
(12 intermediate revisions by the same user not shown)
Line 7: Line 7:


== How to upgrade ==
== 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'
Edit /etc/apt/source.list and replace all 'precise' with 'trusty'


Run:
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
  sudo apt-get update
sudo apt-get upgrade


  mb@dcerouter:/mnt/device/87/1204/var/lmce-build/git/linuxmce/src/Advanced_IP_Camera$ sudo apt-get dist-upgrade
Then you will have to do some manual upgrades to avoid blowing the whole system away.
  Reading package lists... Done
  sudo mkdir /etc/vdr/conf.d/
  Building dependency tree
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
  Reading state information... Done
sudo apt-get install lmce-asterisk
  Calculating upgrade... Done
  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


The following packages will be REMOVED:
If you are not using vdr, then you can drop the vdr-related packages and commands from the above.
  apache2.2-common asterisk asterisk-modules asterisk-mysql asterisk-prompt-de asterisk-voicemail foomatic-filters ghostscript-cups
Most likely the apt-get install commands can be put into one go - as specified in the disclaimer, this is how I did it.
  hpijs hpijs-ppds hplip jockey-common jockey-kde kcm-touchpad kde-config-touchpad kdelibs5 kdepimlibs5 language-pack-kde-en-base
 
  language-selector-kde language-selector-qt libdbd-anydata-perl libextractor-plugins libextractor1c2a libexttextcat0 libhpmud0
When the above has completed successfully, edit /etc/pluto.conf and change the PK_Distro=20 to PK_Distro=21
  libkdgantt2 libmuonprivate1 libpackagekit-glib2-14 libpackagekit-qt2-2 libperl5.14 libplasmaclock4abi3 librpm2 libsane-hpaio
And update the PK_Distro on the Core and MD devices as well (can be done from the web-admin or in the database)
  libsnmp15 libtaskmanager4abi3 libupnp3 libvlccore5 lmce-asterisk lmce-core packagekit-backend-apt pluto-asterisk pluto-vdr
 
  printer-driver-hpcups printer-driver-hpijs printer-driver-postscript-hp smbfs tasks-icons vdr-plugin-xineliboutput
== Upgrading MDs ==
  xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-chips xserver-xorg-video-i128 xserver-xorg-video-i740
Basically the same as the core.
  xserver-xorg-video-rendition xserver-xorg-video-s3virge xserver-xorg-video-tseng xserver-xorg-video-voodoo xz-lzma
 
First change the apt/sources.list, then run:
...
  sudo apt-get update
   
If you have vdr:
The following packages have been kept back:
sudo mkdir /etc/vdr/conf.d/
  libsnmp-base vdr vdr-plugin-iptv vdr-plugin-remotetimers vdr-plugin-streamdev-client vdr-plugin-streamdev-server
apt-get install vdr-plugin-svdrpservice=1.0.0-5~trusty1
  xineliboutput-sxfe
 
Then
sudo apt-get dist-upgrade


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


Preliminary report:
Reboot
tried do-release-upgrade - didn't succeed. Instead renamed all precise sources to trusty and ran apt-get upgrade, followed by apt-get dist-upgrade - and whole bunch of manual removal and reinstall ...

Latest revision as of 09: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