LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2013, 06:36 AM   #1
Juc1
Member
 
Registered: Sep 2011
Location: UK
Posts: 78

Rep: Reputation: 0
.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?
 
Old 12-23-2013, 08:52 AM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
You can get a .deb for wheezy from the Zabbix website.
Or you could do it the hard way, download the source code and try compiling it yourself.

Trying to install a .deb from a different Debian release is not likely to work in most cases, as you've discovered, due to the differences in dependencies.
 
Old 01-07-2014, 04:16 PM   #3
Juc1
Member
 
Registered: Sep 2011
Location: UK
Posts: 78

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by qlue View Post
You can get a .deb for wheezy from the Zabbix website.
Or you could do it the hard way, download the source code and try compiling it yourself.

Trying to install a .deb from a different Debian release is not likely to work in most cases, as you've discovered, due to the differences in dependencies.
Actually it seems I was using the wrong download link and downloaded the Jessie package instead of the wheezy backport package. I am still not sure what the right link for the wheezy backport package but anyway the package at your link works ok so thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
zabbix server and agent configuration yahoosam Linux - Server 3 10-24-2013 09:07 AM
Dependency problems installing DEB package veeruk101 Linux - Newbie 2 05-22-2013 12:48 PM
LXer: Installing Zabbix (Server And Agent) On Debian Etch LXer Syndicated Linux News 0 07-13-2007 06:31 PM
Modify dependency in deb package Muffe Debian 2 08-26-2005 07:11 PM
dependency madness with .deb files zvonSully Debian 2 03-18-2005 07:27 AM


All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration