Praxis Upgrade

The Edoceo Praxis systems are built on-top of Gentoo GNU/Linux, so we can upgrade using the same processes. The examples here are run against and 64bit server profile praxis/silicon, adjust as necessary.

Review /etc/make.conf for the following settings


Confirm the system profile

~ # eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/10.0
  [2]   default/linux/amd64/10.0/selinux
  [3]   default/linux/amd64/10.0/desktop
  [4]   default/linux/amd64/10.0/desktop/gnome
  [5]   default/linux/amd64/10.0/desktop/kde
  [6]   default/linux/amd64/10.0/developer
  [7]   default/linux/amd64/10.0/no-multilib
  [8]   default/linux/amd64/10.0/server
  [9]   hardened/linux/amd64
  [10]  hardened/linux/amd64/selinux
  [11]  hardened/linux/amd64/no-multilib
  [12]  hardened/linux/amd64/no-multilib/selinux
  [13]  edoceo/silicon *
  [14]  edoceo/neon

Now synchronise and then check for updates

~ # emerge --sync
~ # emerge -gavuDN @world

The upgrade command will have loads of spew, review the outputs to be aware of what is being installed or upgraded. Many packages will be installed from the Praxis binary host, other custom installed or those with altered USE flags will be compiled.

Important: Save the outputs from emerge (perhaps use tee?) for later use.

@todo show an upgrade set here, small set

Post Upgrade

If gcc has been upgraded, then we'll need to update the config

~ # gcc-config -l

If the upgrade included perl or libperl then it's necessary to run perl-cleaner

~ # perl-cleaner --reallyall -- -1gav

If the upgrade included python then it's necessary to run python-updater

~ # python-updater --reallyall -- -1gav
~ # etc-update
~ # lsof |grep DEL
~ # emerge --depclean |tee depclean.out

Security Checks

~ # glsa-check --test --verbose all


~ # revdep-rebuild --ignore -av

See Also

Loading Comments from Disqus...