Upgrade LinHES

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