LinuxQuestions.org
Help answer threads with 0 replies.
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 08-06-2003, 07:12 AM   #1
gexiaofei
Member
 
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133

Rep: Reputation: 15
About APT


I want to add some sources to the apt sources.list. Could someone please tell me how to make it?

Thanks.

xiaofei.
 
Old 08-06-2003, 08:10 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Edit /etc/apt/sources.list. The format is quite simple and you should ahve no problems. Different menthod; use 'apt-setup'.
 
Old 08-06-2003, 09:42 AM   #3
gexiaofei
Member
 
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133

Original Poster
Rep: Reputation: 15
Thank you. But what I still met problems.

I have tried to add http://apt.unl.edu/ to it. It telled me that http://apt.unl.edu/ could not be connected. What's wrong?

I did these:
rpm http://apt.unl.edu/ redhat/9/i386 os updates freshrpms
When I do apt-get update it shows:

Err http://apt.unl.edu redhat/9/i386/os pkglist
404 Not Found
Ign http://apt.unl.edu redhat/9/i386/os release
Hit http://ayo.freshrpms.net redhat/9/i386/os pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/os release
Hit http://ayo.freshrpms.net redhat/9/i386/updates pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/updates release
Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms pkglist
Hit http://ayo.freshrpms.net redhat/9/i386/freshrpms release
Err http://apt.unl.edu redhat/9/i386/updates pkglist
404 Not Found
Ign http://apt.unl.edu redhat/9/i386/updates release
Err http://apt.unl.edu redhat/9/i386/freshrpms pkglist
404 Not Found
Ign http://apt.unl.edu redhat/9/i386/freshrpms release
Failed to fetch http://apt.unl.edu/redhat/9/i386/base/pkglist.os 404 Not Found
Failed to fetch http://apt.unl.edu/redhat/9/i386/base/pkglist.updates 404 Not Found
Failed to fetch http://apt.unl.edu/redhat/9/i386/base/pkglist.freshrpms 404 Not Found
Reading Package Lists... Done
Building Dependency Tree... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
 
Old 08-06-2003, 09:58 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
At this server, pkglist* files are in /apt/9/base, so change 'redhat/9/i386' to 'apt/9' and it should work.
 
Old 08-06-2003, 11:19 AM   #5
gexiaofei
Member
 
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133

Original Poster
Rep: Reputation: 15
Yeah! It works.
Thank you very much.

And by the way, how can I know whether I should use "apt/9" or others?

Last edited by gexiaofei; 08-06-2003 at 11:25 AM.
 
  


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
How to set up proxy in Apt-Get's apt.conf? rykel Fedora 9 10-09-2013 04:24 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 07:36 PM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 11:54 PM
apt-get for slackware (the real apt...not swaret or slapt) hypermegachi Slackware 3 10-31-2003 04:28 PM

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

All times are GMT -5. The time now is 12:41 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
Open Source Consulting | Domain Registration