Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

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

...

This method of upgrading is deprecated, versions >= 2.0.2 should start using os-upgrade


Code Block
languagebash
titleUsing 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:


Code Block
languagebash
titleUpdate /etc/apt/sources.list by new repo - if needed

...

 

Code Block
- and run commands below:
$ sudo apt-get update
$ sudo apt-get install apt dpkg

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

Example:

Create new BE:

Code Block
beadm create newBE

...

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

Code Block
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:

Code Block
titleExample 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:

Code Block
apt-get -R /a update

...

Upgrade system:

Code Block
apt-get -R /a dist-upgrade

...

Update boot archive:

Code Block
bootadm update-archive -R /a

...

Activate newBE:

Code Block
beadm activate newBE

...

Reboot system to newBE:

Code Block
reboot -p