Upgrade LinHES

Version 6 (brfransen, 11/18/2016 05:32 pm) → Version 7/11 (brfransen, 11/18/2016 05:32 pm)

h1. Upgrade LinHES

Generally to upgrade LinHES to the latest available version just select "Upgrade LinHES" from the Service Menu or run @sudo pacman -Syu@ from the command line. However, in some cases other methods to upgrade are required. See below for the exceptions.

To check the what version of LinHES you are currently running:

* From the MythTV Main Menu press the menu key (by default menu is mapped to the "M" key) and select "About"

-- OR --
* From xterm @<ctrl> <x>@ enter @cat /etc/LinHES-release@

h2. LinHES R7.1

h3. From LinHES R6.04.00

If you're upgrading from LinHES R6.04.00 do the following:
# Make a [[Backup and Restore#Backup|backup]]
# Make sure @/etc/pacman.conf@ points to the current repos:
@[core]
Server = http://linhes.org/repo/i686/core
[extra]
Server = http://linhes.org/repo/i686/extra@
# @sudo pacman -Sy linhes-scripts@ linhes-scripts
<ctrl><alt><f3>
sudo upgrade_linhes.sh

# The upgrade script must be run from the console or ssh
@<ctrl><alt><f3>@ to open console and log in as root
# @upgrade_linhes.sh@
If run from the console the bootsplash will appear
@<ctrl><alt><f3>@ to return to the console

h3. From LinHES R6.03.00 or older
<ctrl><alt><f3>@

If you're upgrading from a version OLDER than LinHES R6.04.00 upgrade to R6.04.00 first and then upgrade to R7.1:
# Make a [[Backup and Restore#Backup|backup]]
# Make sure @/etc/pacman.conf@ points to the R6 repos:
@[core]
Server = http://linhes.org/repo/i686/R6/core
[extra]
Server = http://linhes.org/repo/i686/R6/extra@
# @sudo pacman -Sy linhes-scripts
sudo upgrade_linhes.sh@
# Upgrade to R7.1 using the instructions above

h2. LinHES R6.03.00

If you're upgrading from a previous version of LinHES do the following:
# Make a [[Backup and Restore#Backup|backup]]
# Exit mythfrontend and open an xterm by pressing Alt-X (not from an ssh session)
# @sudo pacman -Sy linhes-scripts@
# @sudo upgrade_linhes.sh@

h2. LinHES R6.02.00

If you're upgrading from a previous version of LinHES do the following:
# Make a [[Backup and Restore#Backup|backup]]
# Exit mythfrontend and open an xterm by pressing Alt-X
# @sudo pacman -Sy linhes-scripts@
# @sudo upgrade_to_0.22.sh@