[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-problems



Hi,

I am a linux newbie and am attempting my first real Linux installation 
from scratch. I have only the first cd of Debian woody dist and have 
managed to install a very basic system from this including X.

I am behind the firewall of my University. There exists an archive with 
the full resource of Debian behind the firewall that I would like to get 
access to using apt-get inorder to complete a full package installation 
of my system.

I have configured my ethernet card and DNS lookup successfully and the 
file structure of the ftp site listed in my sources.list is correct.

My sources.list looks like:
-----
deb ftp://archive.sun.ac.za/debian/non-US woody/non-US main non-free
deb ftp://archive.sun.ac.za/debian woody main contrib non-free
deb-src ftp://archive.sun.ac.za/debian woody main contrib non-free
deb-src ftp://archive.sun.ac.za/debian/non-US woody/non-US main contrib 
non-free
----

When I run apt-get update I get partial success with the following result:
----
Err ftp: woody/non-US/main Packages
  Unable to connect to  ftp:
Err ftp: woody/non-US/main Release
  Unable to connect to  ftp:
Err ftp: woody/non-US/non-free Packages
  Unable to connect to  ftp:
Err ftp: woody/non-US/non-free Release
  Unable to connect to  ftp:
Get:1 ftp://archive.sun.ac.za woody/main Packages [1776kB]
Err ftp://archive.sun.ac.za woody/main Packages
  Data socket timed out
Get:2 ftp://archive.sun.ac.za woody/main Release [93B]
Get:3 ftp://archive.sun.ac.za woody/contrib Packages [49.2kB]
Get:4 ftp://archive.sun.ac.za woody/contrib Release [96B]
Get:5 ftp://archive.sun.ac.za woody/non-free Packages [65.4kB]
Get:6 ftp://archive.sun.ac.za woody/non-free Release [97B]
Get:7 ftp://archive.sun.ac.za woody/main Sources [729kB]
Err ftp://archive.sun.ac.za woody/main Sources
  Data socket timed out
Get:8 ftp://archive.sun.ac.za woody/main Release [95B]
Get:9 ftp://archive.sun.ac.za woody/contrib Sources [22.4kB]
Get:10 ftp://archive.sun.ac.za woody/contrib Release [98B]
Get:11 ftp://archive.sun.ac.za woody/non-free Sources [28.4kB]
Get:12 ftp://archive.sun.ac.za woody/non-free Release [99B]
Get:13 ftp://archive.sun.ac.za woody/non-US/main Sources [18.8kB]
Get:14 ftp://archive.sun.ac.za woody/non-US/main Release [102B]
Get:15 ftp://archive.sun.ac.za woody/non-US/contrib Sources [579B]
Get:16 ftp://archive.sun.ac.za woody/non-US/contrib Release [105B]
Get:17 ftp://archive.sun.ac.za woody/non-US/non-free Sources [971B]
Get:18 ftp://archive.sun.ac.za woody/non-US/non-free Release [106B]
Fetched 187kB in 17m20s (180B/s)
Failed to fetch 
ftp:///archive.sun.ac.za/debian/non-US/dists/woody/non-US/main/binary-i386/Packages 
 Unable to connect to  ftp:
Failed to fetch 
ftp:///archive.sun.ac.za/debian/non-US/dists/woody/non-US/main/binary-i386/Release 
 Unable to connect to  ftp:
Failed to fetch 
ftp:///archive.sun.ac.za/debian/non-US/dists/woody/non-US/non-free/binary-i386/Packages 
 Unable to connect to  ftp:
Failed to fetch 
ftp:///archive.sun.ac.za/debian/non-US/dists/woody/non-US/non-free/binary-i386/Release 
 Unable to connect to  ftp:
Failed to fetch 
ftp://archive.sun.ac.za/debian/dists/woody/main/source/Sources
Data socket timed out
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list ftp: woody/non-US/main Packages 
(/var/lib/apt/lists/_archive.sun.ac.za_debian_non-US_dists_woody_non-US_main_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp: woody/non-US/non-free 
Packages 
(/var/lib/apt/lists/_archive.sun.ac.za_debian_non-US_dists_woody_non-US_non-free_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp://archive.sun.ac.za 
woody/main Packages 
(/var/lib/apt/lists/archive.sun.ac.za_debian_dists_woody_main_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp: woody/non-US/main Packages 
(/var/lib/apt/lists/_archive.sun.ac.za_debian_non-US_dists_woody_non-US_main_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp: woody/non-US/non-free 
Packages 
(/var/lib/apt/lists/_archive.sun.ac.za_debian_non-US_dists_woody_non-US_non-free_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp://archive.sun.ac.za 
woody/main Packages 
(/var/lib/apt/lists/archive.sun.ac.za_debian_dists_woody_main_binary-i386_Packages) 
- stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old 
ones usedinstead.
----

Then when I attempt an apt-get install I get the following which 
predictably isnt a pretty result:
----
Building Dependency Tree... Done
W: Couldn't stat source package list ftp: woody/non-US/main Packages 
(/var/lib/apt/lists/_archive.sun.ac.za_debian_non-US_dists_woody_non-US_main_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp: woody/non-US/non-free Packages 
(/var/lib/apt/lists/_archive.sun.ac.za_debian_non-US_dists_woody_non-US_non-free_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp://archive.sun.ac.za woody/main 
Packages 
(/var/lib/apt/lists/archive.sun.ac.za_debian_dists_woody_main_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp://archive.sun.ac.za woody/contrib 
Packages 
(/var/lib/apt/lists/archive.sun.ac.za_debian_dists_woody_contrib_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp://archive.sun.ac.za 
woody/non-free Packages 
(/var/lib/apt/lists/archive.sun.ac.za_debian_dists_woody_non-free_binary-i386_Packages) 
- stat (2 No such file or directory)
W: Couldn't stat source package list ftp: woody/non-US/main Packages 
(/var/lib/apt/lists/_archive.sun.ac.za_debian_non-US_dists_woody_non-US_main_binary-i386_Packages) 
- stat (2 No such file or directory)
 ----

Anyone got any suggetions how to reslove this?

Thanks,

Jacques






Reply to: