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


  Search this Thread
Old 06-16-2007, 06:19 PM   #1
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:

simetrical@loki [~]# cat /etc/apt/sources.list
rpm apt/redhat/enterprise_3/en/i386 os updates extras
simetrical@loki [~]# sudo apt-get update
simetrical, please enter your password:
Err apt/redhat/enterprise_3/en/i386 release
  Could not connect to ( - connect (113 No route to host)
0% [Connecting to (]
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: but it is not installable
  MySQL-python: Depends: but it is not installable
  bandmin: Depends: perl(bandmin.conf) but it is not installable
           Depends: perl( but it is not installable
           Depends: perl(services.conf) but it is not installable
  libdbi-dbd-mysql: Depends: 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: but it is not installable
  php-mysql: Depends: 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: Any help or pointers would be greatly appreciated.
Old 06-16-2007, 07:29 PM   #2
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, 04:39 AM   #3
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

Last edited by kalimero; 06-17-2007 at 04:40 AM.
Old 06-20-2007, 09:37 PM   #4
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.


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 07:33 PM
Fedora 4 - Package Management problem futz Linux - Newbie 7 08-02-2005 06:14 AM
Package Management problem! robebe Linux - Software 15 01-14-2005 12:21 PM
GUI Package Management Problem Lodnod Linux - Newbie 2 10-21-2004 06:25 PM
RH 8.0 and 7.3 RPM package management - as good as apt? Vlad_M Linux - Distributions 1 03-21-2003 06:06 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:26 AM.

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