Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old 01-12-2009, 01:07 AM   #1
michellepace
Prospect
 
Join Date: Jan 2009
Location: South Africa
Posts: 42
Problem with 'apt-get update' & can't find /etc/apt/sources.list

Hi there, I hope someone can give me a pointer as to where I am going wrong. I can not find '/etc/apt/sources.list' and if I run '% apt-get update' it does not appear to work. Please see below:

This is my system:
Code:
% uname -a
Darwin Rosemary.mshome.net 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
The man file of 'apt-get' reads:
update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched from the location(s) specified in /etc/apt/sources.list
I cannot find the sources.list file. Neither do I have the 'apt' directory either:
Code:
%:/etc root# cd apt
   su: cd: apt: No such file or directory
Additionally, the out put of 'apt-get update' does not seem right at all:
Code:
Rosemary:/etc root# apt-get update
Err http://us.dl.sourceforge.net 10.3/release/main Packages
  403 Forbidden [IP: 128.101.240.209 80]
Ign http://us.dl.sourceforge.net 10.3/release/main Release
Err http://us.dl.sourceforge.net 10.3/release/crypto Packages
  403 Forbidden [IP: 128.101.240.209 80]
Ign http://us.dl.sourceforge.net 10.3/release/crypto Release
Err http://us.dl.sourceforge.net 10.3/current/main Packages
  504 Gateway Timeout [IP: 128.101.240.209 80]
Ign http://us.dl.sourceforge.net 10.3/current/main Release
Err http://us.dl.sourceforge.net 10.3/current/crypto Packages
  504 Gateway Timeout [IP: 128.101.240.209 80]
Ign http://us.dl.sourceforge.net 10.3/current/crypto Release
Failed to fetch http://us.dl.sourceforge.net/fink/direct_download/dists/10.3/release/main/binary-darwin-powerpc/Packages  403 Forbidden [IP: 128.101.240.209 80]
Failed to fetch http://us.dl.sourceforge.net/fink/direct_download/dists/10.3/release/crypto/binary-darwin-powerpc/Packages  403 Forbidden [IP: 128.101.240.209 80]
Failed to fetch http://us.dl.sourceforge.net/fink/direct_download/dists/10.3/current/main/binary-darwin-powerpc/Packages  504 Gateway Timeout [IP: 128.101.240.209 80]
Failed to fetch http://us.dl.sourceforge.net/fink/direct_download/dists/10.3/current/crypto/binary-darwin-powerpc/Packages  504 Gateway Timeout [IP: 128.101.240.209 80]
Reading Package Lists... Done
Building Dependency Tree... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
QUESTION: Could anyone suggest what I have setup wrong here? My logic tells me that surely I should be able to find the sources.list ... and, that my update should just time out.

Thank-you in advance, Michelle
michellepace is offline   Reply With Quote
Old 01-12-2009, 07:10 AM   #2
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,459
apt-get is not part of standard-install OS X - it comes with Fink.
All of the Fink stuff is (usually) under /sw
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 01-12-2009, 01:50 PM   #3
dmacks
All Star
 
Join Date: Dec 2004
Posts: 678
The apt-get manpage in fink was fixed a while ago to reflect the fink prefix. However, 10.3 has long been unsupported, so it's not surprising that the bug-fix was propagated back to 10.3, and it's a trivial fix, so if it were propagated back to 10.3, it would (ironically) only be in your manpage once you had updated your system (perhaps via apt-get).
dmacks is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:57 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.