LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 06-16-2007, 05:19 PM   #1
fatsheep
Member
 
Registered: Sep 2006
Posts: 79

Rep: Reputation: 15
apt-get package management problem


I'm posting here on behalf of an administrator who has a Red Hat Enterprise Linux server. Apparently the server has apt-get installed, I'm suspecting what's being used is apt-rpm. Basically, his sources.list file is incorrect so trying to update or install packages results in an error. Here is a log of commands I asked him to run and show the output of:

Code:
simetrical@loki [~]# cat /etc/apt/sources.list
rpm http://apt.ev1servers.net apt/redhat/enterprise_3/en/i386 os updates extras
simetrical@loki [~]# sudo apt-get update
simetrical, please enter your password:
Err http://apt.ev1servers.net apt/redhat/enterprise_3/en/i386 release
  Could not connect to apt.ev1servers.net:80 (207.218.223.167). - connect (113 No route to host)
0% [Connecting to apt.ev1servers.net (207.218.223.167)]
simetrical@loki [~]# sudo apt-get upgrade
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:
  MyODBC: Depends: libmysqlclient.so.10 but it is not installable
  MySQL-python: Depends: libmysqlclient.so.10 but it is not installable
  bandmin: Depends: perl(bandmin.conf) but it is not installable
           Depends: perl(bmversion.pl) but it is not installable
           Depends: perl(services.conf) but it is not installable
  libdbi-dbd-mysql: Depends: libmysqlclient.so.10 but it is not installable
  perl-CPAN: Depends: perl (>= 2:5.8.0-88.9) but 2:5.8.0-88.4 is installed
  perl-DBD-MySQL: Depends: libmysqlclient.so.10 but it is not installable
  php-mysql: Depends: libmysqlclient.so.10 but it is not installable
E: Unmet dependencies. Try using -f.
simetrical@loki [~]#
For more information you can refer to our conversation in this topic: http://www.twcenter.net/forums/showt...t=90714&page=3. Any help or pointers would be greatly appreciated.
 
Old 06-16-2007, 06:29 PM   #2
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
Seems it is not a local problem, but something to do with the box you are trying to connect to.

A traceroute from here to the host, cannot see anything past the 4th node - of which 3 of them are local routers...
 
Old 06-17-2007, 03:39 AM   #3
kalimero
LQ Newbie
 
Registered: Jan 2006
Location: Serbia
Distribution: Mepis,Debian Etch,Kubuntu
Posts: 16

Rep: Reputation: 0
If you think sources.list is incorrect you should try to put another repository in file.Not sure about apt-rpm but on Debian exists tool netselect-apt which can automatic set your repositories.
Of course backup your /etc/apt/sources.list first and replace it with new file which netselect-apt made and do apt-get update and check result.
Maybe documentaion can help you
http://apt-rpm.org/docs.shtml

Last edited by kalimero; 06-17-2007 at 03:40 AM.
 
Old 06-20-2007, 08:37 PM   #4
jmb2112
LQ Newbie
 
Registered: Sep 2006
Distribution: CentOS, Fedora, RHEL, Ubuntu
Posts: 6

Rep: Reputation: 0
Yep, just add a valid repository and that should do it.

Better yet - use yum.
 
  


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
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 06:33 PM
Fedora 4 - Package Management problem futz Linux - Newbie 7 08-02-2005 05:14 AM
Package Management problem! robebe Linux - Software 15 01-14-2005 11:21 AM
GUI Package Management Problem Lodnod Linux - Newbie 2 10-21-2004 05:25 PM
RH 8.0 and 7.3 RPM package management - as good as apt? Vlad_M Linux - Distributions 1 03-21-2003 05:06 PM


All times are GMT -5. The time now is 05:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration