How-to: Offline UCS update from version 4.4-4 to 4.4-9

How to:

Here is an small guideline to make an offline update your UCS system from version 4.4-4 to 4.4-9.

Step 1: Install the package univention-debmirror on the system you want to update.

  1. wget https://updates.software-univention.de/4.4/maintained/4.4-0/all/univention-debmirror_10.0.1-1A~4.4.0.201812201642_all.deb

  2. wget https://updates.software-univention.de/4.3/maintained/4.3-4/all/apt-mirror_0.5.4-1A~4.3.0.201901041140_all.deb

  3. dpkg -i univention-debmirror_10.0.1-1A~4.4.0.201812201642_all.deb

  4. dpkg -i apt-mirror_0.5.4-1A~4.3.0.201901041140_all.deb

Step 2: Download the required ISO images.

You have to download boath images, the installation ISO and the update ISO.

  1. wget https://updates.software-univention.de/download/ucs-cds/ucs4.4-4/UCS_4.4-4-amd64.iso

  2. wget https://updates.software-univention.de/download/ucs-cds/ucs4.4-5/UCS_Update_4.4-4_-_4.4-5-amd64.iso

  3. wget https://updates.software-univention.de/download/ucs-cds/ucs4.4-6/UCS_Update_4.4-5_-_4.4-6-amd64.iso

  4. wget https://updates.software-univention.de/download/ucs-cds/ucs4.4-7/UCS_Update_4.4-6_-_4.4-7-amd64.iso

  5. wget https://updates.software-univention.de/download/ucs-cds/ucs4.4-8/UCS_Update_4.4-7_-_4.4-8-amd64.iso

  6. wget https://updates.software-univention.de/download/ucs-cds/ucs4.4-9/UCS_Update_4.4-8_-_4.4-9-amd64.iso

Step 3: Disable signature checking of apt

With the following UCRV you have to disable the signature checking of apt.

ucr set update/secure_apt=no

Step 4: Create local repo

Now we create a local apt repository with the UCS installation ISO image. The program will ask to insert a disk, you just have to press enter and confirm it

univention-repository-create --iso UCS_4.4-4-amd64.iso

Step 5: Populate the repository

After the creation of the repository, we need to populate the repository

  1. univention-repository-update cdrom --iso UCS_Update_4.4-4_-_4.4-5-amd64.iso

  2. univention-repository-update cdrom --iso UCS_Update_4.4-5_-_4.4-6-amd64.iso

  3. univention-repository-update cdrom --iso UCS_Update_4.4-6_-_4.4-7-amd64.iso

  4. univention-repository-update cdrom --iso UCS_Update_4.4-7_-_4.4-8-amd64.iso

  5. univention-repository-update cdrom --iso UCS_Update_4.4-8_-_4.4-9-amd64.iso

Step 6: Update the system

Now you can update the system to 4.4-9 by denying the ask to update the local repository over the internet or a CD-ROM.

univention-upgrade --ignoressh --ignoreterm

1 Like
Mastodon