/
How to upgrade DilOS from APT repo
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 update
After that you be able to use steps below for upgrade your system to new BE.
Example:
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:
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-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
Related content
How to do mirror of apt repo and ISOs
How to do mirror of apt repo and ISOs
Read with this
Как построить DEB пакет на уровне пользователя (dilos-userland)
Как построить DEB пакет на уровне пользователя (dilos-userland)
More like this
How to install DilOS
How to install DilOS
Read with this
DilOS platform Home
DilOS platform Home
More like this
src packages list for du4fastjar
src packages list for du4fastjar
Read with this
How to build dilos-illumos
How to build dilos-illumos
More like this