Installation

Log into dev-vm101 as user kvalobs

If an old kvqc2 exists stop the running kvqc2 process by 'kvstop -l' (lower case L), then type the number corresponding to kvqc2

Remove active configuration files (this is to just ensure that when the new kvqc2 version is set running it does not find and use an old configuration file)

For example:

$ cd /etc/kvalobs/Qc2Config
$ mv XXX.cfg XXX.hold
$ mv ProcessUnit.cfg ProcessUnit.hold

( PS NOTE: actually now all the earliy config files have been moved to /etc/kvalobs/Qc2Config/old )

Install the latest version of kvqc2

Log in as a user with sudoer permission

NB one may need to run “apt-get update” first in order to update the package list.

$ sudo apt-get install kvqc2

An alternative is to install the new kvqc2 directly from where the debian package was built on dev-vm101:

i.e. using “sudo dpkg -i kvqc2_1.0.1-1_i386.deb” as illustrated below.

paule@dev-vm101:~/kvqc2-1.0.1$ ls
kvqc2-1.0.1 kvqc2_1.0.1-1_i386.changes kvqc2_1.0.1.orig.tar.gz
kvqc2_1.0.1-1.diff.gz kvqc2_1.0.1-1_i386.deb kvqc2-1.0.1.tar.gz
kvqc2_1.0.1-1.dsc kvqc2_1.0.1-1_i386.upload
paule@dev-vm101:~/kvqc2-1.0.1$ sudo dpkg -i kvqc2_1.0.1-1_i386.deb
(Reading database ... 52403 files and directories currently installed.)
Preparing to replace kvqc2 1.0.0-1 (using kvqc2_1.0.1-1_i386.deb) ...
Unpacking replacement kvqc2 ...
Setting up kvqc2 (1.0.1-1) ...
paule@dev-vm101:~/kvqc2-1.0.1$

Bug Fix and Confirmation of apt-get install

Initial tests illustrated that some data was written back to thedatabase at too high a precision. This is fixed in revision 1782: https://svn.met.no/viewvc/kvoss?view=rev&revision=1782 and led to a kvqc2-1.0.2 revision. This also provided the opportunity to check that the install from apt-get install works, i.e.:

paule@dev-vm101:~$ sudo apt-get install kvqc2
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
kvqc2
1 upgraded, 0 newly installed, 0 to remove and 78 not upgraded.
Need to get 288kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://repo.met.no etch/main kvqc2 1.0.2-1 [288kB]
Fetched 288kB in 0s (12.7MB/s)
(Reading database ... 52403 files and directories currently installed.)
Preparing to replace kvqc2 1.0.1-1 (using .../kvqc2_1.0.2-1_i386.deb) ...
Unpacking replacement kvqc2 ...
Setting up kvqc2 (1.0.2-1) ...
paule@dev-vm101:~$

Even then, there are surprises in store when building kvQc2:

requires netcdf

requires the GNU Scientific Library

utilises a number of other boost libraries (ITEMIZE) TBD

.... more will appear here in time ...