Applying myPVR Updates

There are two ways to check for and apply patches on your myPVR. The first uses the normal GUI, the other is for power users who are able to login to myPVR over ssh.

1. Patching Via the GUI.

Step 1 Check for myPVR Updates.

Check for UpdatesFrom the Main Menu select the myPVR menu entry to get the patching options shown to the right. From this screen select “Check for myPVR Updates”.

This will cause a terminal screen to open as it searches on-line for patches. Once this has completed you will be requested to press Enter on your remote control or keyboard

Step 2 Apply the updates

Scheduling OptionsNow that you have updated the patch database via step 1 above, you need to apply any pending updates. Select the menu entry “Apply myPVR Updates”.

Again this will open a terminal window showing the progress of the patching. You will need to press Enter on your remote control when prompted.

There are occasional patches that will require further user input. We will usually include additional information in the patch notification when this is required.

Should the patches contain major driver updates this process might take somewhat longer than usual. Should there be an internet connectivity issue the patch process will usually time out.

2. Patching via an SSH Session

Step 1 Login to myPVR over SSH

You will need an appropriate SSH tool for your computer. For Windows users we highly recommend Putty. Linux and Mac users already have OpenSSH tools as part of their OS. You need to login as the “mythtv” user. The hostname of myPVR will vary depending on your home network configuration, but will usually be called “mythtv”.

Step 2 Check for updates

As the “mythtv” user you will need to type the following two commands. The first will sync the update database, the second will confirm if there are available updated patches.

sudo apt-get update
sudo apt-get -s dist-upgrade

Your output for the second line should be similar to the following. The information will depend on the patches currently available for your system.

mythtv@mythtv:~$ sudo apt-get -s dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be upgraded:
 mypvr-epg-nz mypvr-icons-nz mypvr-icons-sky-nz mypvr-scripts
 mypvr-setup-skynz
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Inst mypvr-epg-nz [0.20.0] (0.20.2 OpenMedia Knoppmyth Repo:3.1/stable)
Inst mypvr-icons-nz [0.20.2] (0.20.5 OpenMedia Knoppmyth Repo:3.1/stable)
Inst mypvr-icons-sky-nz [0.20.1] (0.20.5 OpenMedia Knoppmyth Repo:3.1/stable)
Inst mypvr-scripts [0.0.18] (0.20.3 OpenMedia Knoppmyth Repo:3.1/stable)
Inst mypvr-setup-skynz [0.20.24] (0.20.33 OpenMedia Knoppmyth Repo:3.1/stable)
Conf mypvr-epg-nz (0.20.2 OpenMedia Knoppmyth Repo:3.1/stable)
Conf mypvr-icons-nz (0.20.5 OpenMedia Knoppmyth Repo:3.1/stable)
Conf mypvr-icons-sky-nz (0.20.5 OpenMedia Knoppmyth Repo:3.1/stable)
Conf mypvr-scripts (0.20.3 OpenMedia Knoppmyth Repo:3.1/stable)
Conf mypvr-setup-skynz (0.20.33 OpenMedia Knoppmyth Repo:3.1/stable)

This indicates that there are 5 pending packages awaiting application.

Step 3 Apply the Patches

Stay logged in as the “mythtv” and now type the following command to apply all pending updates..

sudo apt-get -y dist-upgrade

You will then be able to interact with any request for additional input from the patching process. You should also get progress feedback during the download and patch application.

As mentioned in the GUII based patch process, if the update contains a major driver update then the patch process might take quite a long time should you have a slow internet connection.