Upgrade LinHES

Version 11 (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 11 brfransen
h2. LinHES R8.x
13 11 brfransen
14 11 brfransen
The [[Release Notes]] for each LinHES R8.x version contain specific upgrade instructions. 
15 11 brfransen
16 10 brfransen
h2. LinHES R7.3
17 11 brfransen
18 10 brfransen
http://forum.linhes.org/viewtopic.php?f=20&t=22664
19 10 brfransen
20 6 brfransen
h2. LinHES R7.1
21 2 brfransen
22 7 brfransen
h3. From LinHES R6.04.00
23 7 brfransen
24 6 brfransen
If you're upgrading from LinHES R6.04.00 do the following:
25 6 brfransen
#  Make a [[Backup and Restore#Backup|backup]]
26 6 brfransen
#  Make sure @/etc/pacman.conf@ points to the current repos:
27 1
@[core] 
28 1
Server = http://linhes.org/repo/i686/core 
29 1
[extra] 
30 1
Server = http://linhes.org/repo/i686/extra@
31 7 brfransen
#  @sudo pacman -Sy linhes-scripts@
32 7 brfransen
#  The upgrade script must be run from the console or ssh
33 7 brfransen
@<ctrl><alt><f3>@ to open console and log in as root
34 7 brfransen
#  @upgrade_linhes.sh@
35 7 brfransen
If run from the console the bootsplash will appear
36 7 brfransen
@<ctrl><alt><f3>@ to return to the console
37 7 brfransen
38 7 brfransen
h3. From LinHES R6.03.00 or older
39 1
40 9 brfransen
WARNING: When doing the upgrade to 6.04 you MUST run the upgrade script from an xterm on the same system.
41 9 brfransen
This is because the script forces open an xterm to monitor the mythbackend log file and then launches mythfrontend
42 9 brfransen
to complete the database restructuring. 
43 9 brfransen
44 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:
45 6 brfransen
#  Make a [[Backup and Restore#Backup|backup]]
46 6 brfransen
#  Make sure @/etc/pacman.conf@ points to the R6 repos:
47 6 brfransen
@[core] 
48 6 brfransen
Server = http://linhes.org/repo/i686/R6/core 
49 6 brfransen
[extra] 
50 6 brfransen
Server = http://linhes.org/repo/i686/R6/extra@
51 8 brfransen
#  Exit mythfrontend and open an xterm by pressing Alt-X (not from an ssh session)
52 6 brfransen
#  @sudo pacman -Sy linhes-scripts 
53 6 brfransen
sudo upgrade_linhes.sh@
54 6 brfransen
#  Upgrade to R7.1 using the instructions above
55 3 brfransen
56 6 brfransen
h2. LinHES R6.03.00
57 6 brfransen
58 1
If you're upgrading from a previous version of LinHES do the following:
59 1
#  Make a [[Backup and Restore#Backup|backup]]
60 1
#  Exit mythfrontend and open an xterm by pressing Alt-X (not from an ssh session)
61 1
#  @sudo pacman -Sy linhes-scripts@
62 1
#  @sudo upgrade_linhes.sh@
63 6 brfransen
64 6 brfransen
h2. LinHES R6.02.00
65 6 brfransen
66 6 brfransen
If you're upgrading from a previous version of LinHES do the following:
67 6 brfransen
#  Make a [[Backup and Restore#Backup|backup]]
68 6 brfransen
#  Exit mythfrontend and open an xterm by pressing Alt-X
69 6 brfransen
#  @sudo pacman -Sy linhes-scripts@
70 6 brfransen
#  @sudo upgrade_to_0.22.sh@