Skip to content

Instantly share code, notes, and snippets.

@dkrizic
Created April 25, 2014 16:51
Show Gist options
  • Save dkrizic/11296011 to your computer and use it in GitHub Desktop.
Save dkrizic/11296011 to your computer and use it in GitHub Desktop.
root@icinga:~# apt-get update && apt-get dist-upgrade
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--> debmon registriert
root@icinga:~# cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb http://debmon.org/debmon debmon-wheezy main
root@icinga:~# apt-get update
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release
Hit http://mirrordirector.raspbian.org wheezy Release
Get:1 http://debmon.org debmon-wheezy Release.gpg [490 B]
Hit http://archive.raspberrypi.org wheezy Release
Get:2 http://debmon.org debmon-wheezy Release [17.2 kB]
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Get:3 http://debmon.org debmon-wheezy/main armhf Packages [13.8 kB]
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://debmon.org debmon-wheezy/main Translation-en_GB
Ign http://debmon.org debmon-wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 31.5 kB in 2s (14.3 kB/s)
Reading package lists... Done
root@icinga:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
icinga icinga-cgi icinga-core icinga-idoutils
The following packages will be upgraded:
icinga-common icinga-doc
2 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 13.9 MB/14.1 MB of archives.
After this operation, 2,049 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://debmon.org/debmon/ debmon-wheezy/main icinga-doc all 1.11.1-1~debmon70+1 [13.9 MB]
Fetched 13.9 MB in 18s (772 kB/s)
Preconfiguring packages ...
(Reading database ... 84488 files and directories currently installed.)
Removing icinga ...
Removing icinga-cgi ...
[ ok ] Reloading web server config: apache2.
Removing icinga-core ...
[....] Stopping icinga monitoring daemon: icinga
. ok
Removing icinga-idoutils ...
Processing triggers for man-db ...
(Reading database ... 84135 files and directories currently installed.)
Preparing to replace icinga-common 1.7.1-6 (using .../icinga-common_1.11.1-1~debmon70+1_all.deb) ...
Unpacking replacement icinga-common ...
Preparing to replace icinga-doc 1.7.1-6 (using .../icinga-doc_1.11.1-1~debmon70+1_all.deb) ...
Unpacking replacement icinga-doc ...
Setting up icinga-common (1.11.1-1~debmon70+1) ...
Installing new version of config file /etc/init.d/icinga ...
Configuration file `/etc/icinga/icinga.cfg'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** icinga.cfg (Y/I/N/O/D/Z) [default=N] ?
Setting up icinga-doc (1.11.1-1~debmon70+1) ...
root@icinga:~# apt-get install icinga-cgi icinga-core icinga-idoutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
icinga-cgi : Depends: icinga-common (= 1.10.3-1~debmon70+1) but 1.11.1-1~debmon70+1 is to be installed
icinga-core : Depends: icinga-common (= 1.10.3-1~debmon70+1) but 1.11.1-1~debmon70+1 is to be installed
icinga-idoutils : Depends: icinga-common (= 1.10.3-1~debmon70+1) but 1.11.1-1~debmon70+1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@icinga:~# apt-cache policy icinga
icinga:
Installed: (none)
Candidate: 1.10.3-1~debmon70+1
Version table:
1.10.3-1~debmon70+1 0
500 http://debmon.org/debmon/ debmon-wheezy/main armhf Packages
1.7.1-6 0
500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages
root@icinga:~# dpkg -l \*icinga\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un icinga <none> (no description available)
rc icinga-cgi 1.7.1-6 armhf host and network monitoring syste
ii icinga-common 1.11.1-1~deb all host and network monitoring syste
ii icinga-doc 1.11.1-1~deb all host and network monitoring syste
rc icinga-idoutil 1.7.1-6 armhf host and network monitoring syste
rc icinga-web 1.11.0-1~deb all host and network monitoring syste
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment