Difference between revisions of "Upgrade 1204 to 1404"

From LinuxMCE
Jump to: navigation, search
(How to upgrade)
Line 21: Line 21:
 
  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 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
  
If you are not using vdr, then you can drop the vdr-related packages from the above command.
+
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.
 
+
sudo apt-get upgrade
+
 
+
mb@dcerouter:/mnt/device/87/1204/var/lmce-build/git/linuxmce/src/Advanced_IP_Camera$ sudo apt-get dist-upgrade
+
Reading package lists... Done
+
Building dependency tree
+
Reading state information... Done
+
Calculating upgrade... Done
+
 
+
The following packages will be REMOVED:
+
  apache2.2-common asterisk asterisk-modules asterisk-mysql asterisk-prompt-de asterisk-voicemail foomatic-filters ghostscript-cups
+
  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
+
  libkdgantt2 libmuonprivate1 libpackagekit-glib2-14 libpackagekit-qt2-2 libperl5.14 libplasmaclock4abi3 librpm2 libsane-hpaio
+
  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
+
  xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-chips xserver-xorg-video-i128 xserver-xorg-video-i740
+
  xserver-xorg-video-rendition xserver-xorg-video-s3virge xserver-xorg-video-tseng xserver-xorg-video-voodoo xz-lzma
+
+
...
+
+
The following packages have been kept back:
+
  libsnmp-base vdr vdr-plugin-iptv vdr-plugin-remotetimers vdr-plugin-streamdev-client vdr-plugin-streamdev-server
+
  xineliboutput-sxfe
+
 
+
More to come.
+
 
+
Preliminary report:
+
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 ...
+

Revision as of 12:07, 9 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:

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

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.