.deb dependency problem (zabbix-agent)
Hi all,
I installed the zabbix agent (zabbix.com) on my VPS = Debian 6 with $ apt-get install zabbix-agent but this does not work on my other VPS = Debian 7 as mentioned here:
Quote:
...we all decided to remove Zabbix from "wheezy" but keep uploading new versions to the "testing" branch.
|
So I got the .deb file from here:
Code:
$:/tmp# ls
zabbix-agent_2.2.0+dfsg-6_amd64.deb
$:/tmp# dpkg -i zabbix-agent_2.2.0+dfsg-6_amd64.deb
Selecting previously unselected package zabbix-agent.
(Reading database ... 55048 files and directories currently installed.)
Unpacking zabbix-agent (from zabbix-agent_2.2.0+dfsg-6_amd64.deb) ...
dpkg: dependency problems prevent configuration of zabbix-agent:
zabbix-agent depends on libc6 (>= 2.17); however:
Version of libc6:amd64 on system is 2.13-38.
dpkg: error processing zabbix-agent (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
zabbix-agent
$
So this seems to tell me that my installed package of libc6 (2.13-38) is out of date and needs to be updated but when I try to update it I get "libc6 is already the newest" =
Code:
$:/tmp# apt-get update
Hit http://ftp.debian.org wheezy Release.gpg
Get:1 http://ftp.debian.org wheezy-updates Release.gpg [836 B]
Hit http://ftp.debian.org wheezy Release
Get:2 http://ftp.debian.org wheezy-updates Release [124 kB]
Hit http://ftp.debian.org wheezy/main Sources
Hit http://ftp.debian.org wheezy/contrib Sources
Hit http://ftp.debian.org wheezy/non-free Sources
Hit http://ftp.debian.org wheezy/main amd64 Packages
Hit http://ftp.debian.org wheezy/contrib amd64 Packages
Hit http://ftp.debian.org wheezy/non-free amd64 Packages
Hit http://ftp.debian.org wheezy/contrib Translation-en
Hit http://ftp.debian.org wheezy/main Translation-en
Hit http://ftp.debian.org wheezy/non-free Translation-en
Get:3 http://ftp.debian.org wheezy-updates/main Sources [2,981 B]
Hit http://ftp.debian.org wheezy-updates/main amd64 Packages/DiffIndex
Hit http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndex
Get:4 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:5 http://security.debian.org wheezy/updates Release [102 kB]
Hit http://ftp.osuosl.org wheezy Release.gpg
Hit http://ftp.osuosl.org wheezy Release
Hit http://ftp.osuosl.org wheezy/main Sources
Get:6 http://security.debian.org wheezy/updates/main Sources [72.1 kB]
Hit http://ftp.osuosl.org wheezy/main amd64 Packages
Get:7 http://security.debian.org wheezy/updates/contrib Sources [14 B]
Get:8 http://security.debian.org wheezy/updates/non-free Sources [14 B]
Get:9 http://security.debian.org wheezy/updates/main amd64 Packages [135 kB]
Get:10 http://security.debian.org wheezy/updates/contrib amd64 Packages [14 B]
Get:11 http://security.debian.org wheezy/updates/non-free amd64 Packages [14 B]
Get:12 http://security.debian.org wheezy/updates/contrib Translation-en [14 B]
Get:13 http://security.debian.org wheezy/updates/main Translation-en [78.9 kB]
Get:14 http://security.debian.org wheezy/updates/non-free Translation-en [14 B]
Ign http://ftp.osuosl.org wheezy/main Translation-en_US
Ign http://ftp.osuosl.org wheezy/main Translation-en
Fetched 516 kB in 2s (217 kB/s)
Reading package lists... Done
$:/tmp# apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
zabbix-agent : Depends: libc6 (>= 2.17) but 2.13-38 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
zabbix-agent
0 upgraded, 0 newly installed, 1 to remove and 28 not upgraded.
1 not fully installed or removed.
After this operation, 880 kB disk space will be freed.
Do you want to continue [Y/n]?
Any ideas please?
|