1. Home
  2. Cluster Management
  3. How Do I Add a BCM ISO as an APT Repository on BCM Ubuntu Clusters?
  1. Home
  2. Day-to-day Administration
  3. How Do I Add a BCM ISO as an APT Repository on BCM Ubuntu Clusters?
  1. Home
  2. Software Management
  3. How Do I Add a BCM ISO as an APT Repository on BCM Ubuntu Clusters?

How Do I Add a BCM ISO as an APT Repository on BCM Ubuntu Clusters?

First, mount the BCM ISO on the head node. For example:


# mount -o loop,ro bcm-11.0-ubuntu2404.iso /mnt

For installing updates to the head node, you can create a .list file under /etc/apt/sources.list.d/. For example:


# cat /etc/apt/sources.list.d/bcm-dvd.list
deb [trusted=yes] file:///mnt/data/packages/11.25.04/ubuntu/2404/ ./
deb [trusted=yes] file:///mnt/data/packages/dist/ubuntu/2404/ ./

The second line isn’t necessary if you intend to install packages from Ubuntu’s online repository; however, if the cluster is air-gapped or if you only want to install BCM package updates (i.e. not, say, NVIDIA driver or Linux kernel updates) it is a good idea to add the second line for the Ubuntu distribution packages on the BCM ISO so that any dependencies that are required by the BCM packages (e.g. cmdaemon) will be satisfied. If you intend to install only updates from the BCM ISO, then please note that any existing APT repository configuration on the cluster should be disabled, at least temporarily.

For installing updates to a software image or the node-installer, you can copy the above file to the /etc/apt/sources.list.d/ directory within the node-installer or software image and set up a bind mount. For example, for the node-installer:


# cp /etc/apt/sources.list.d/bcm-dvd.list /cm/node-installer/etc/apt/sources.list.d/
# mount -o bind /mnt /cm/node-installer/mnt

For example, for default-image:


# cp /etc/apt/sources.list.d/bcm-dvd.list /cm/images/default-image/etc/apt/sources.list.d/
# mount -o bind /mnt /cm/images/default-image/mnt

The repositories can then be used as follows:


## For the head node ##
# apt clean
# apt update
# apt upgrade

## For the node-installer ##
# cm-chroot-sw-img /cm/node-installer
% apt clean
% apt update
% apt upgrade
## Press Ctrl-D to exit ##

## For a software image (e.g. default-image ##
# cm-chroot-sw-img /cm/images/default-image
% apt clean
% apt update
% apt upgrade
% exit

Updated on May 7, 2025

Related Articles