LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2009, 06:12 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
Install package problem


I want to install ntp server to my debian server , but when "apt-get install ntp" , it pop the below messages , can advise except update all the packages below , how can I install ntp ? thx

Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgd2-xpm: Depends: libc6 (>= 2.7-1) but 2.3.2.ds1-22 is to be installed
Depends: libfontconfig1 (>= 2.4.0) but 2.3.1-2 is to be installed
Depends: libfreetype6 (>= 2.3.5) but 2.1.7-2.4 is to be installed
Depends: libpng12-0 (>= 1.2.13-4) but 1.2.8rel-1 is to be installe
d
ntp: Depends: lsb-base (>= 3.0-3) but it is not going to be installed
Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22 is to be installed
Depends: libreadline5 (>= 5.2) but it is not going to be installed
Depends: libssl0.9.8 (>= 0.9.8c-1) but it is not going to be installed
php4-gd: Depends: libt1-5 (>= 5.0.2) but it is not going to be installed
Depends: php4-common (= 4:4.3.10-22) but 4:4.3.10-16 is to be install
ed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s
olution).
 
Old 06-15-2009, 08:25 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
You might try
Code:
sudo aptitude update
and
Code:
aptitude safe-upgrade
first. That may resolve some of your dependency problems.
Cheers,
jdk
 
Old 06-15-2009, 09:46 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Could you post your /etc/apt/sources.list file ?

Are you running etch (oldstable) or Lenny (stable)
Quote:
Depends: libc6 (>= 2.7-1) but 2.3.2.ds1-22 is to be installed
libc6 2.7-1 = Lenny

libc6 2.3.2.ds1-22 = Etch

So your conflict is possibly due to mixed or stale sources..

I'm going to bet your sources list is pointing to stable, and you have an etch system.
You should really use the code name in your sources list, etch, Lenny, Squeeze instead of Stable, testing, unstable to avoid this sort of issue in the future.

I won't make a recommendation how to fix your problem until I see the list and can verify the issue.

Last edited by farslayer; 06-15-2009 at 09:49 AM.
 
Old 07-01-2009, 05:30 PM   #4
FiveDots
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
So your conflict is possibly due to mixed or stale sources...
spot on, thank you for the tip, I've been trying to install GD library for PHP5 and faced the same issue, I just added etch instead of stable, as suggested, and it worked.
cheers
 
  


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
I have problem with install package in AIX sancre AIX 6 11-07-2008 10:08 PM
Install perl package problem sunhui Linux - Software 2 06-21-2006 06:41 AM
install package problem sunhui Linux - Software 6 04-24-2006 10:20 AM
install package problem sunhui Linux - Software 1 03-31-2006 05:46 AM
Slack 10.1 Install Problem(During Package Install) terdbird Slackware - Installation 2 04-22-2005 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 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