Upgrade LinHES

Version 7 (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 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:
33 6 brfransen
#  Make a [[Backup and Restore#Backup|backup]]
34 6 brfransen
#  Make sure @/etc/pacman.conf@ points to the R6 repos:
35 6 brfransen
@[core] 
36 6 brfransen
Server = http://linhes.org/repo/i686/R6/core 
37 6 brfransen
[extra] 
38 6 brfransen
Server = http://linhes.org/repo/i686/R6/extra@
39 6 brfransen
#  @sudo pacman -Sy linhes-scripts 
40 6 brfransen
sudo upgrade_linhes.sh@
41 6 brfransen
#  Upgrade to R7.1 using the instructions above
42 3 brfransen
43 6 brfransen
h2. LinHES R6.03.00
44 6 brfransen
45 1
If you're upgrading from a previous version of LinHES do the following:
46 1
#  Make a [[Backup and Restore#Backup|backup]]
47 1
#  Exit mythfrontend and open an xterm by pressing Alt-X (not from an ssh session)
48 1
#  @sudo pacman -Sy linhes-scripts@
49 1
#  @sudo upgrade_linhes.sh@
50 6 brfransen
51 6 brfransen
h2. LinHES R6.02.00
52 6 brfransen
53 6 brfransen
If you're upgrading from a previous version of LinHES do the following:
54 6 brfransen
#  Make a [[Backup and Restore#Backup|backup]]
55 6 brfransen
#  Exit mythfrontend and open an xterm by pressing Alt-X
56 6 brfransen
#  @sudo pacman -Sy linhes-scripts@
57 6 brfransen
#  @sudo upgrade_to_0.22.sh@