Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# apt-get update
0% [Connecting to ayo.freshrpms.net (193.1.219.82)]
Err http://ayo.freshrpms.net redhat/7.3/i386 release
Could not connect to ayo.freshrpms.net:80 (193.1.219.82), connection timed out [IP: 193.1.219.82 80]
is the error i get when i try to run "apt-get update". i'm new to the apt-get and just downloaded it. this is the first thing i've tried before i was going to run "apt-get upgrade kernel.....rpm. if anyone has any help or suggestions with this problem or upgrading with apt-get please help. thnx......
i went ahead and ran apt-get upgrade and this is what i got.
# apt-get upgrade kernel-2.4.20-24.7.i386.rpm
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 removed and 0 not upgraded.
i dont' know what this means either.
Last edited by wedgeworth; 12-15-2003 at 01:04 PM.
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
Are you behind a firewall? If so, does it allow ftp through? Is there a proxy involved? If you know the firewall or proxy isn't the problem, check the /etc/apt/sources.list file and add a couple more sources, maybe one ftp and one http. There are additional sources listed at apt.freshrpms.net or through a google search.
but i don't know if that will work. plus i also don't know how i would use mirror's in the source file. (would i just stick a link to them in the file like anyother link?) anyway, any help would be appreciated on more url's for my source file (if these don't work) or any other suggestions... i'd appreciate. thnx guys.....
Last edited by wedgeworth; 12-16-2003 at 09:28 AM.
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
Quote:
Originally posted by wedgeworth i can't even get apt-cache show package to work. when i try i get this.
# apt-cache show kernel-2.4.20-24.7.i386.rpm
W: Unable to locate package kernel-2.4.20-24.7.i386.rpm
why isn't this working...is it b/c of the problems i'm still having? (see post above this one)
Apt-cache show is a command to get pkg info on the latest specs for a particular pkg header. If you are unable to update the headers (which is what apt-get update does) then it doesn't even know that there is a new kernel out there. You must get apt-get update to run first. Please post your EXACT sources.list as it appears in the /etc/apt directory.
Also to insure that apt is installed properly to begin with see if you get output from:
# List of available apt repositories available from ayo.freshrpms.net.
# This file should contain an uncommented default suitable for your system.
#
# See http://ayo.freshrpms.net/ for a list of other repositories and mirrors.
#
# $Id: sources.list,v 1.8 2003/04/16 09:59:58 dude Exp $
that is my exact sources.list as it appears in /etc/apt. it is basically as installed. i've added 3 lines under 7.3 (what i'm running) but have them commented out b/c i didn't exactly know the syntax.
and
i get no output with "apt-cache search gaim" command....
# apt-cache search gaim
#
Last edited by wedgeworth; 12-17-2003 at 07:54 AM.
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
Ok comment out the rpm-src and try to run apt-get update again. Those other 3 under 7.3 will not work as they are. We'll get to that. If if there is a pkg that you know you have try: apt-cache search <that_pkg_name>. Post back.
# apt-get update
0% [Connecting to ayo.freshrpms.net (193.1.219.82)]
Err http://ayo.freshrpms.net redhat/7.3/i386 release
Could not connect to ayo.freshrpms.net:80 (193.1.219.82), connection timed out [IP: 193.1.219.82 80]
still getting the same error. don't know why. do i just need some more entries... surely not just for some update command. if i was having problems upgrading maybe, but just a normal update (be it ever limited b/c of only one link) should atleast connect and try......
anymore ideas? i can't even get around to trying apt-cache commands, or trying to use apt for upgrades (kernel and php updates to be more specific as well as others) until i get this working.
Last edited by wedgeworth; 12-17-2003 at 11:23 AM.
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
well It looks like the syntax of your sources.list file is right. I am not sure what is causing your problem. Either, your apt is corrupt, your rpm (the program) is corrupt or you are having proxie problems. Can you ping ayo.freshrpms.net?
the rpm has nothing to do with just running a simple cache or update....if the problem was just in the upgrade i might think it was a problem with the rpm.....also i can ping ayo.freshrpms.net no problem, and i took the apt right off the freshrpm's site. all i did was just run rpm -U or something similar to the that on the apt files....
is there some sort of set up or config i've forgotten to setup or download or tweek? i'm kinda running out of options since i haven't done much too it...just trying to get the basics done...and i can ping the site no problem....anyway, thnx for your help. anymore is appreciated....
# rpm -e apt
error: removing these packages would break dependencies:
apt = 0.5.5cnc5-fr0.rh73.2 is needed by apt-devel-0.5.5cnc5-fr0.rh73.2
of couse when i tried to remove the devel file that was giving the dependencies i got this:
rpm -e apt-devel-0.5.5cnc5-fr0.rh73.2.i386.rpm
error: package apt-devel-0.5.5cnc5-fr0.rh73.2.i386.rpm is not installed
which kinda confused me as to why it would give dependencies if it wasn't installed. anyway, this is starting to get annoying. i went ahead, though i don't know why it would work, and rm -r the apt file (apt-0.5.5cnc5-fr0.rh73.2.i386.rpm) and redownloaded and ran this:
rpm Uvh apt-0.5.5cnc5-fr0.rh73.2.i386.rpm
RPM version 4.0.4
Copyright (C) 1998-2000 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL
Usage: rpm {--help}
this unfortunately didn't allow me to be able to "apt-get update", i was still getting the same error.
0% [Connecting to ayo.freshrpms.net (193.1.219.82)]
Err http://ayo.freshrpms.net redhat/7.3/i386/os release
Could not connect to ayo.freshrpms.net:80 (193.1.219.82), connection timed out [IP: 193.1.219.82 80]
sorry man, i'm starting to run out of options here. again though i'm appreciating this help you are giving me.....anything else we can do?
Last edited by wedgeworth; 12-18-2003 at 08:48 AM.
# rpm -e apt*
error: package apt-0.5.5cnc5-fr0.rh73.2.i386.rpm is not installed
error: package apt-0.5.5cnc5-fr0.rh73.2.src.rpm is not installed
error: package apt-devel-0.5.5cnc5-fr0.rh73.2.i386.rpm is not installed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.