LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Calculate (http://www.linuxquestions.org/questions/calculate-89/)
-   -   Update Calculate Linux (http://www.linuxquestions.org/questions/calculate-89/update-calculate-linux-859852/)

Lautre 01-31-2011 04:02 PM

Update Calculate Linux
 
Calculate Linux is constantly developing, acquiring its own characteristics. In 11.0 there awaited binary repository. This means that you can now change the methods of updating the system.

As you can see, the Calculate Linux by default, now uses a binary profile. The obvious advantages of a binary repository, add one more. To update the binaries are now not necessarily every time to update the Portage tree, enough to have the most recent changes overlay Calculate. Since all profiles Calculate Linux inherit Profile Gentoo, it is desirable to also update.

Here I show you an example of such an upgrade. In three parts: update profile, update packages and update configuration files.

Update profile

You can update your profile "calculate" and excluding the gentoo portage tree update. To do this, change the variable PORTAGE_RSYNC_OPTS, excluding a directory tree:
Quote:

echo 'PORTAGE_RSYNC_OPTS="--include=/profiles --include=/eclass --include=/licenses \
${PORTAGE_RSYNC_OPTS} --exclude=/*"' > /etc/portage/make.conf
eix-sync
rm /etc/portage/make.conf
Notice in the example I delete the file /etc/portage/make.conf on completion. As a rule, all settings are stored in /etc/make.conf. Nevertheless, make sure you do not use this file.

Update packages

Updating packages with the removal of unused libraries or replaced packages.
Quote:

emerge -uDN world
emerge @preserved-rebuild
emerge -c
Add option "-a", if you run a manual update.

Update configuration files

If you want to use a fully automatic update. Auto change the configuration files can be done by setting the file /etc/calculate/calculate2.env variable cl_autoupdate_set:
Quote:

[main]
cl_autoupdate_set = on
Or by running:
Quote:

dispatch-conf
P.S. Regularly follow the steps you'll always keep your system up to date, using the latest stable version.

EricTRA 02-15-2011 01:27 AM

Hi,

Thank you for sharing and thanks for a great distro. Looking in to using CDS in a production environment and loving it.

Kind regards,

Eric


All times are GMT -5. The time now is 10:56 AM.