Thanks guys,

Will give this a shot and give it a go

From: [email protected] 
[mailto:[email protected]] On Behalf Of James Whittington
Sent: 03 December 2009 17:06
To: Opsview Users
Subject: Re: [opsview-users] errors upgrading from 3.04 to 3.5

Matt there was recent discussion on this..
Here is what Duncan said:

"This is because some of the images we use have moved from one package to 
another (base to core).  Deb packages do not like one file being owned by two 
packages (whereas rpm and pkg files allow it).



The problem in this case is that the new opsview-core deb is being installed 
before the old opsview-base deb is removed, showing up this conflict."



Here is what Duncan suggested as a temporary workaround:



"Of the various methods i tried (dpkg-divert, etc) the easiest way I found was 
to..



   dpkg -r --force-all opsview-base

   aptitude install opsview



   Duncs"



You should be able to search the recent archives to get a complete listing but 
essentially they moved images between packages and Debian based systems don't 
like that.



James Whittington

VC3, Inc.




From: [email protected] 
[mailto:[email protected]] On Behalf Of Matt White
Sent: Thursday, December 03, 2009 11:03 AM
To: opsview-users
Subject: [opsview-users] errors upgrading from 3.04 to 3.5

Just trying to update an old Ubuntu 8.04 server running Opsview 3.04

Below is the output after running apt-get upgrade:

mwh...@wvx-hq-mon1:~$ sudo apt-get upgrade
[sudo] password for mwhite:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  linux-image-server linux-server
The following packages will be upgraded:
  cron dhcp3-client dhcp3-common installation-report libapache2-mod-php5
  libcupsys2 libcurl3-gnutls libdbus-1-3 libglib2.0-0 libglib2.0-data
  libhtml-parser-perl libnewt0.52 libparted1.7-1 libtiff4 lsb-release opsview
  opsview-base opsview-core opsview-web parted php5 php5-cli php5-common
  php5-gd php5-mysql php5-snmp phpmyadmin samba samba-common smbclient wget
  whiptail
32 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
41 not fully installed or removed.
Need to get 0B/30.9MB of archives.
After this operation, 3146kB disk space will be freed.
Do you want to continue [Y/n]? y
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up tzdata (2009s~repack-0ubuntu0.8.04) ...

Current default timezone: 'Europe/London'
Local time is now:      Thu Dec  3 15:58:35 GMT 2009.
Universal Time is now:  Thu Dec  3 15:58:35 UTC 2009.
Run 'dpkg-reconfigure tzdata' if you wish to change it.


(Reading database ... 39098 files and directories currently installed.)
Preparing to replace opsview-core 3.0.4.2486-1hardy1 (using 
.../opsview-core_3.5.0.3643-1hardy1_all.deb) ...
Stopping opsview... done
Stopping opsview-agent opsview-agent
Unpacking replacement opsview-core ...
dpkg: error processing 
/var/cache/apt/archives/opsview-core_3.5.0.3643-1hardy1_all.deb (--unpack):
 trying to overwrite `/usr/local/nagios/share/images/info.png', which is also 
in package opsview-base
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Starting opsview... done
Starting opsview-agent opsview-agent
dpkg: regarding .../opsview-base_3.5.0.3643-1hardy1_i386.deb containing 
opsview-base:
 opsview-base conflicts with opsview-core (<< 3.2)
  opsview-core (version 3.0.4.2486-1hardy1) is present and installed.
dpkg: error processing 
/var/cache/apt/archives/opsview-base_3.5.0.3643-1hardy1_i386.deb (--unpack):
 conflicting packages - not installing opsview-base
Preparing to replace cron 3.0pl1-100ubuntu2 (using 
.../cron_3.0pl1-100ubuntu2.1_i386.deb) ...
 * Stopping periodic command scheduler crond                                    
                                                                      [ OK ]
Unpacking replacement cron ...
Preparing to replace dhcp3-client 3.0.6.dfsg-1ubuntu9 (using 
.../dhcp3-client_3.0.6.dfsg-1ubuntu9.1_i386.deb) ...
Unpacking replacement dhcp3-client ...
Preparing to replace dhcp3-common 3.0.6.dfsg-1ubuntu9 (using 
.../dhcp3-common_3.0.6.dfsg-1ubuntu9.1_i386.deb) ...
Unpacking replacement dhcp3-common ...
Preparing to replace libnewt0.52 0.52.2-11.2ubuntu1 (using 
.../libnewt0.52_0.52.2-11.2ubuntu1.1_i386.deb) ...
Unpacking replacement libnewt0.52 ...
Preparing to replace lsb-release 3.2-4ubuntu1 (using 
.../lsb-release_4.0-0ubuntu0.8.04.1_all.deb) ...
Unpacking replacement lsb-release ...
Preparing to replace wget 1.10.2-3ubuntu1 (using 
.../wget_1.10.2-3ubuntu1.1_i386.deb) ...
Unpacking replacement wget ...
Preparing to replace whiptail 0.52.2-11.2ubuntu1 (using 
.../whiptail_0.52.2-11.2ubuntu1.1_i386.deb) ...
Unpacking replacement whiptail ...
Preparing to replace libparted1.7-1 1.7.1-5.1ubuntu9.1 (using 
.../libparted1.7-1_1.7.1-5.1ubuntu9.2_i386.deb) ...
Unpacking replacement libparted1.7-1 ...
Preparing to replace parted 1.7.1-5.1ubuntu9.1 (using 
.../parted_1.7.1-5.1ubuntu9.2_i386.deb) ...
Unpacking replacement parted ...
Preparing to replace installation-report 2.31ubuntu1 (using 
.../installation-report_2.31ubuntu2_all.deb) ...
Unpacking replacement installation-report ...
Preparing to replace php5-cli 5.2.4-2ubuntu5.6 (using 
.../php5-cli_5.2.4-2ubuntu5.9_i386.deb) ...
Unpacking replacement php5-cli ...
Preparing to replace php5-mysql 5.2.4-2ubuntu5.6 (using 
.../php5-mysql_5.2.4-2ubuntu5.9_i386.deb) ...
Unpacking replacement php5-mysql ...
Preparing to replace php5-snmp 5.2.4-2ubuntu5.6 (using 
.../php5-snmp_5.2.4-2ubuntu5.9_i386.deb) ...
Unpacking replacement php5-snmp ...
Preparing to replace php5-gd 5.2.4-2ubuntu5.6 (using 
.../php5-gd_5.2.4-2ubuntu5.9_i386.deb) ...
Unpacking replacement php5-gd ...
Preparing to replace libapache2-mod-php5 5.2.4-2ubuntu5.6 (using 
.../libapache2-mod-php5_5.2.4-2ubuntu5.9_i386.deb) ...
Unpacking replacement libapache2-mod-php5 ...
Preparing to replace php5-common 5.2.4-2ubuntu5.6 (using 
.../php5-common_5.2.4-2ubuntu5.9_i386.deb) ...
Unpacking replacement php5-common ...
Preparing to replace libcupsys2 1.3.7-1ubuntu3.4 (using 
.../libcupsys2_1.3.7-1ubuntu3.6_i386.deb) ...
Unpacking replacement libcupsys2 ...
Preparing to replace libcurl3-gnutls 7.18.0-1ubuntu2.1 (using 
.../libcurl3-gnutls_7.18.0-1ubuntu2.2_i386.deb) ...
Unpacking replacement libcurl3-gnutls ...
Preparing to replace libdbus-1-3 1.1.20-1ubuntu3.2 (using 
.../libdbus-1-3_1.1.20-1ubuntu3.3_i386.deb) ...
Unpacking replacement libdbus-1-3 ...
Preparing to replace libglib2.0-0 2.16.6-0ubuntu1.1 (using 
.../libglib2.0-0_2.16.6-0ubuntu1.2_i386.deb) ...
Unpacking replacement libglib2.0-0 ...
Preparing to replace libglib2.0-data 2.16.6-0ubuntu1.1 (using 
.../libglib2.0-data_2.16.6-0ubuntu1.2_all.deb) ...
Unpacking replacement libglib2.0-data ...
Preparing to replace libhtml-parser-perl 3.56-1 (using 
.../libhtml-parser-perl_3.56-1ubuntu0.1_i386.deb) ...
Unpacking replacement libhtml-parser-perl ...
Preparing to replace libtiff4 3.8.2-7ubuntu3.1 (using 
.../libtiff4_3.8.2-7ubuntu3.4_i386.deb) ...
Unpacking replacement libtiff4 ...
Preparing to replace opsview-web 3.0.4.2486-1hardy1 (using 
.../opsview-web_3.5.0.3643-1hardy1_all.deb) ...
Stopping opsview-web: done
Unpacking replacement opsview-web ...
Preparing to replace opsview 3.0.4.2486-1hardy1 (using 
.../opsview_3.5.0.3643-1hardy1_all.deb) ...
Unpacking replacement opsview ...
Preparing to replace php5 5.2.4-2ubuntu5.6 (using 
.../php5_5.2.4-2ubuntu5.9_all.deb) ...
Unpacking replacement php5 ...
Preparing to replace smbclient 3.0.28a-1ubuntu4.7 (using 
.../smbclient_3.0.28a-1ubuntu4.9_i386.deb) ...
Unpacking replacement smbclient ...
Preparing to replace samba 3.0.28a-1ubuntu4.7 (using 
.../samba_3.0.28a-1ubuntu4.9_i386.deb) ...
 * Stopping Samba daemons                                                       
                                                                      [ OK ]
Unpacking replacement samba ...
Preparing to replace samba-common 3.0.28a-1ubuntu4.7 (using 
.../samba-common_3.0.28a-1ubuntu4.9_i386.deb) ...
Unpacking replacement samba-common ...
Preparing to replace phpmyadmin 4:2.11.3-1ubuntu1.1 (using 
.../phpmyadmin_4%3a2.11.3-1ubuntu1.3_all.deb) ...
Unpacking replacement phpmyadmin ...
Errors were encountered while processing:
 /var/cache/apt/archives/opsview-core_3.5.0.3643-1hardy1_all.deb
 /var/cache/apt/archives/opsview-base_3.5.0.3643-1hardy1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Has anyone seen this before or know a way i can upgrade this without removing 
the install (if this is the only solution then i can possibly arrange for the 
config to be moved and removed but would like to avoid it if possible)

Kind regards,
Matt
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to