Introduction


Your Bamboo Systems B1000N is delivered with a base Ubuntu 20.04 image which is preconfigured to use http://ppa.bamboosystems.io in addition to all standard Ubuntu PPA update servers. Bamboo Systems release package, image and kernel updates on a regular basis. These packages can be selected, applied or blocked through the below methods.  


1.1 Default Behaviour 


By default your Bamboo Systems B1000N solution will attempt to update all available software, image and kernel from both the standard Ubuntu and Bamboo Systems PPA servers. This is achieved via the standard apt commands. Examples below - 


Update the listing of available packages. NOTE: this will NOT update any software, packages or kernel modules but instead search for a list of what updates are available 

$sudo apt update

View a list of all available updates 

$sudo apt list --upgradable

Install all available upgrades

$sudo apt upgrade



1.2 Selecting Specific Versions


In certain scenario's you may find it necessary to install a specific version of a software or kernel package. This usually applies when software has specific dependencies or your organisation has a specific policy (security or otherwise) surrounding a package or application. Selecting a specific version can be achieved with the below method


Use the below command view all upgradable packages

$sudo apt list --upgradeable

Now check the available versions of the package in question 

$sudo apt policy <package name>


Finally select the version you require and install it 

$sudo apt install <package name=<package version>



1.3 Blocking Certain Updates


Certain organisations may find it necessary to block specific package or kernel updates to meet security or company policy. To achieve this the below method can be followed. Note: in this example all kernel updates are blocked but all software package updates continue

$sudo apt-mark hold <package name>

example to block all kernel updates - 

$sudo apt-mark hold linux-image-*


to reverse this process and allow kernel updates the below can be used

$sudo apt-mark unhold <package name>