Desktop

Installing Desktop Updates

Desktop

Warning

  • It is crucial to install admin before updating desktop.
  • Installing Mini? Follow this guide.
Understanding Versioning Requirements

When updating to a new version of our Desktop certain previous versions are required to be installed. Here’s how it works:

  • Minor Updates (e.g., 20.0.1): - You need the base version (e.g., 20.0.0) installed.
  • Feature Updates (e.g., 20.1.0): - You need the base version (e.g., 20.0.0) installed.
  • Patch Updates (e.g., 20.1.2): - You need the base version (e.g., 20.0.0) and the most recent feature update (e.g., 20.1.0) installed.

If the necessary versions are already installed, no need to download them again.

Confirm the update is avialable

tl-comp-latest desktop

Unpack the update

tl-img-unpack

Install the update

tl-img-restore

Reboot to use the new system

Minis

The -mini desktop versions are for computers with less than 32gb drive.

Warning

  • You can only do this by booting from your USB drive.
  • Your drive needs to have at least 10gb of free space for unpacking
  • delete the other desktop versions

Prerequisites

Download the update(s)

If you haven’t already

  1. Pick a working computer with admin installed
  2. Follow this to download -mini and admin updates to your desktop if you haven’t already

Copy the downloaded file to the USB drive

# Mount usb drive
sudo mount /dev/sdx4 /mnt


# Copy the downloaded files (repace ver with the version number)
rsync -avP /srv/desktop/ver-mini.* /mnt/desktop
rsync -avP /srv/admin/ver.* /mnt/admin

# Unmount the USB drive
sudo umount /mnt

Boot the USB drive

Boot the usb drive on the target computer ESC for chromebooks

Updating using the new admin

You need admin version 0.11.15+ to do this

Update admin in the installer

tl-archive-install admin

Update or Prepare the system

Run the update or prepare the system using the STAGE environment variable pointing to the unpack directory

# Run this if Techlit System is already installed
tl-hw-update-desktop /dev/mmcblk0

# if TechLit system isn't installed or the other command failed
tl-hw-prepare /dev/sdX tl-xxxx

Reboot

Legacy method

Create an unpack directory

On the USB drive, create an unpack directory:

mkdir -p /srv/unpack

Update the system

Run the update or prepare the system using the STAGE environment variable pointing to the unpack directory

STAGE=/srv/unpack tl-hw-prepare /dev/sdX tl-xxxx

Clear

You can delete the newly unpacked subvolumes with

sudo rm -rf /srv/unpack/tmp-*

Reboot

Reboot your system to complete the update reboot.