Clone wiki

dilos-userland / how_to_upgrade_DilOS

How to upgrade DilOS from APT repo

(This instruction for DilOS:

Before upgrade your system try to upgrade 'apt' & 'dpkg' first:

update /etc/apt/sources.list by new repo - if needed
apt-get update
apt-get install apt dpkg

After that you be able to use steps below for upgrade your system to new BE.


Create new BE:

beadm create newBE

Mount newBE to temporary directory (for example we will use /a):

beadm mount newBE /a

Update /a/etc/apt/sources.list by correct APT repos.
We will use dilos-unstable for example and put it on top:

deb dilos-unstable main contrib non-free
deb dilos-testing main contrib non-free

Update files list from APT:

apt-get -R /a update

Upgrade system:

apt-get -R /a dist-upgrade

Update boot archive:

bootadm update-archive -R /a

Activate newBE:

beadm activate newBE

Reboot system to newBE:

reboot -p