Upgrade LinHES

Version 9 (brfransen, 11/18/2016 05:32 pm)

1 1
h1. Upgrade LinHES
2 2 brfransen
3 2 brfransen
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.
4 2 brfransen
5 7 brfransen
To check the what version of LinHES you are currently running:
6 7 brfransen
 
7 7 brfransen
*  From the MythTV Main Menu press the menu key (by default menu is mapped to the "M" key) and select "About"
8 7 brfransen
9 7 brfransen
-- OR --
10 7 brfransen
*  From xterm @<ctrl> <x>@ enter @cat /etc/LinHES-release@
11 7 brfransen
12 6 brfransen
h2. LinHES R7.1
13 2 brfransen
14 7 brfransen
h3. From LinHES R6.04.00
15 7 brfransen
16 6 brfransen
If you're upgrading from LinHES R6.04.00 do the following:
17 6 brfransen
#  Make a [[Backup and Restore#Backup|backup]]
18 6 brfransen
#  Make sure @/etc/pacman.conf@ points to the current repos:
19 1
@[core] 
20 1
Server = http://linhes.org/repo/i686/core 
21 1
[extra] 
22 1
Server = http://linhes.org/repo/i686/extra@
23 7 brfransen
#  @sudo pacman -Sy linhes-scripts@
24 7 brfransen
#  The upgrade script must be run from the console or ssh
25 7 brfransen
@<ctrl><alt><f3>@ to open console and log in as root
26 7 brfransen
#  @upgrade_linhes.sh@
27 7 brfransen
If run from the console the bootsplash will appear
28 7 brfransen
@<ctrl><alt><f3>@ to return to the console
29 7 brfransen
30 7 brfransen
h3. From LinHES R6.03.00 or older
31 1
32 9 brfransen
WARNING: When doing the upgrade to 6.04 you MUST run the upgrade script from an xterm on the same system.
33 9 brfransen
This is because the script forces open an xterm to monitor the mythbackend log file and then launches mythfrontend
34 9 brfransen
to complete the database restructuring. 
35 9 brfransen
36 6 brfransen
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:
37 6 brfransen
#  Make a [[Backup and Restore#Backup|backup]]
38 6 brfransen
#  Make sure @/etc/pacman.conf@ points to the R6 repos:
39 6 brfransen
@[core] 
40 6 brfransen
Server = http://linhes.org/repo/i686/R6/core 
41 6 brfransen
[extra] 
42 6 brfransen
Server = http://linhes.org/repo/i686/R6/extra@
43 8 brfransen
#  Exit mythfrontend and open an xterm by pressing Alt-X (not from an ssh session)
44 6 brfransen
#  @sudo pacman -Sy linhes-scripts 
45 6 brfransen
sudo upgrade_linhes.sh@
46 6 brfransen
#  Upgrade to R7.1 using the instructions above
47 3 brfransen
48 6 brfransen
h2. LinHES R6.03.00
49 6 brfransen
50 1
If you're upgrading from a previous version of LinHES do the following:
51 1
#  Make a [[Backup and Restore#Backup|backup]]
52 1
#  Exit mythfrontend and open an xterm by pressing Alt-X (not from an ssh session)
53 1
#  @sudo pacman -Sy linhes-scripts@
54 1
#  @sudo upgrade_linhes.sh@
55 6 brfransen
56 6 brfransen
h2. LinHES R6.02.00
57 6 brfransen
58 6 brfransen
If you're upgrading from a previous version of LinHES do the following:
59 6 brfransen
#  Make a [[Backup and Restore#Backup|backup]]
60 6 brfransen
#  Exit mythfrontend and open an xterm by pressing Alt-X
61 6 brfransen
#  @sudo pacman -Sy linhes-scripts@
62 6 brfransen
#  @sudo upgrade_to_0.22.sh@