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

LinHES R8.x

The Release Notes for each LinHES R8.x version contain specific upgrade instructions.

LinHES R7.3

http://forum.linhes.org/viewtopic.php?f=20&t=22664

LinHES R7.1

From LinHES R6.04.00

If you're upgrading from LinHES R6.04.00 do the following:
  1. Make a backup
  2. 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
  3. sudo pacman -Sy linhes-scripts
  4. The upgrade script must be run from the console or ssh
    <ctrl><alt><f3> to open console and log in as root
  5. upgrade_linhes.sh
    If run from the console the bootsplash will appear
    <ctrl><alt><f3> to return to the console

From LinHES R6.03.00 or older

WARNING: When doing the upgrade to 6.04 you MUST run the upgrade script from an xterm on the same system.
This is because the script forces open an xterm to monitor the mythbackend log file and then launches mythfrontend
to complete the database restructuring.

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:
  1. Make a backup
  2. 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
  3. Exit mythfrontend and open an xterm by pressing Alt-X (not from an ssh session)
  4. sudo pacman -Sy linhes-scripts
    sudo upgrade_linhes.sh
  5. Upgrade to R7.1 using the instructions above

LinHES R6.03.00

If you're upgrading from a previous version of LinHES do the following:
  1. Make a backup
  2. Exit mythfrontend and open an xterm by pressing Alt-X (not from an ssh session)
  3. sudo pacman -Sy linhes-scripts
  4. sudo upgrade_linhes.sh

LinHES R6.02.00

If you're upgrading from a previous version of LinHES do the following:
  1. Make a backup
  2. Exit mythfrontend and open an xterm by pressing Alt-X
  3. sudo pacman -Sy linhes-scripts
  4. sudo upgrade_to_0.22.sh