How to upgrade DilOS from APT repo
This method of upgrading is deprecated, versions >= 2.0.2 should start using os-upgrade
Using os-upgrade
$ os-upgrade
===> /usr/bin/apt-get clean
===> /usr/bin/apt-get autoclean
Reading package lists...
Building dependency tree...
Reading state information...
===> /usr/bin/apt-get update
Ign:1 https://apt.dilos.org/dilos dilos2 InRelease
Get:2 https://apt.dilos.org/dilos dilos2 Release [21.7 kB]
Get:3 https://apt.dilos.org/dilos dilos2 Release.gpg [833 B]
Ign:4 https://apt.dilos.org/dilos dilos2/main solaris-i386 Packages
Ign:5 https://apt.dilos.org/dilos dilos2/contrib solaris-i386 Packages
Ign:6 https://apt.dilos.org/dilos dilos2/non-free solaris-i386 Packages
Get:4 https://apt.dilos.org/dilos dilos2/main solaris-i386 Packages [1591 kB]
Get:5 https://apt.dilos.org/dilos dilos2/contrib solaris-i386 Packages [1462 B]
Get:6 https://apt.dilos.org/dilos dilos2/non-free solaris-i386 Packages [3692 B]
Fetched 1618 kB in 6s (234 kB/s)For older versions the upgrade method is the following:
Update /etc/apt/sources.list by new repo - if needed - and run commands below:
$ sudo apt-get updateAfter that you be able to use steps below for upgrade your system to new BE.
Example:
Create new BE:
beadm create newBEMount newBE to temporary directory (for example we will use /a):
beadm mount newBE /aUpdate /a/etc/apt/sources.list by correct APT repos.
We will use dilos-unstable for example and put it on top:
Example of source.list:
deb http://apt.dilos.org/dilos dilos-unstable main contrib non-free
deb http://apt.dilos.org/dilos dilos-testing main contrib non-freeUpdate files list from APT:
apt-get -R /a updateUpgrade system:
apt-get -R /a dist-upgradeUpdate boot archive:
bootadm update-archive -R /aActivate newBE:
beadm activate newBEReboot system to newBE:
reboot -p