Re: corrupted sources.list (file below)

2005-11-21 Thread Sam Rosenfeld


On Sun, 20 Nov 2005, Dale wrote:

 Sam Rosenfeld wrote:

 My sources.list file is listed in its entirety below.
 
 On Sun, 6 Nov 2005, Sam Rosenfeld wrote:
 
 
 
 My version of debian 3.1 was downloaded via the net, and the original
 files, which contained the info for the sources.list file, have been lost.
 When I try to install package pkg with apt-get install pkg I get the
 following message:
 
 W: Couldn't stat source package list http://security.debian.org
 stable/updates/contrib Packages
 (/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages)
 - stat (2 No such file or directory)
 
 W: Couldn't stat source package list http://security.debian.org
 stable/updates/non-free Packages
 (/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_binary-i386_Packages)
 - stat (2 No such file or directory)
 
 W: You may want to run apt-get update to correct these problems
 E: Package pkg has no installation candidate
 
 
 
 I have running apt-get update with zero results.
 
 
 In addition, I have a strange (to me) problem with my man bin file; it
 doesn't get and display the contents of manpages (though they exist in my
 /usr/share/man/man1-8/ folders).  Is it possible that this man problem is
 related to the sources.list problem?
 
 Will appreciate any clear doc (or explanation) dealing with either or both
 of the above problem(s).
 
 
 
 
 
 
 # See sources.list(5) for more information, especially
 # Remember that you can only use http, ftp or file URIs
 # CDROMs are managed through the apt-cdrom tool.
 deb http://http.us.debian.org/debian stable main contrib non-free
 deb http://non-us.debian.org/debian-non-US stable/non-US main contrib 
 non-free
 deb http://security.debian.org stable/updates main contrib non-free
 
 # Uncomment if you want the apt-get source function to work
 deb-src http://http.us.debian.org/debian stable main contrib non-free
 deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib 
 non-free
 
 
 
 
 1. A Working version of sources.list, on a box set up for UK operation is:

 deb http://ftp.uk.debian.org/debian/ stable main
 deb-src http://ftp.uk.debian.org/debian/ stable main
 deb http://security.debian.org/ stable/updates main

 The second line may be commented out if you do not need source.

 2. Similar problems can occur if your DHCP / DNS is not set up
 correctly. Have you looked there?.   From the debian box, try:
ping   security.debian.org   to see if your dns etc is working OK

 dale

I re-installed and the apt-get/sources.list and the man problem have
disappeared.  I'm sure there must have been an easier way to get it done,
but c'est la vie.

s.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: corrupted sources.list (file below)

2005-11-20 Thread Dale




Sam Rosenfeld wrote:

  My sources.list file is listed in its entirety below.

On Sun, 6 Nov 2005, Sam Rosenfeld wrote:

  
  
My version of debian 3.1 was downloaded via the net, and the original
files, which contained the info for the sources.list file, have been lost.
When I try to install package pkg with "apt-get install pkg" I get the
following message:

W: Couldn't stat source package list http://security.debian.org
stable/updates/contrib Packages
(/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages)
- stat (2 No such file or directory)

W: Couldn't stat source package list http://security.debian.org
stable/updates/non-free Packages
(/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_binary-i386_Packages)
- stat (2 No such file or directory)

W: You may want to run apt-get update to correct these problems
E: Package pkg has no installation candidate


  
  I have running apt-get update with zero results.
  
  

In addition, I have a strange (to me) problem with my "man" bin file; it
doesn't get and display the contents of manpages (though they exist in my
/usr/share/man/man1-8/ folders).  Is it possible that this man problem is
related to the sources.list problem?

Will appreciate any clear doc (or explanation) dealing with either or both
of the above problem(s).


  
  
  
  # See sources.list(5) for more information, especially
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
deb-src http://http.us.debian.org/debian stable main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free


  

1. A Working version of sources.list, on a box set up for UK operation
is:

deb http://ftp.uk.debian.org/debian/ stable main
deb-src http://ftp.uk.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main

The second line may be commented out if you do not need source.

2. Similar problems can occur if your DHCP / DNS is not set up
correctly. Have you looked there?. From the debian box, try: 
 ping  security.debian.org to see if your dns etc is working OK

dale




Re: corrupted sources.list (file below)

2005-11-10 Thread Justin Guerin
On Tuesday 08 November 2005 17:39, Sam Rosenfeld wrote:
 My sources.list file is listed in its entirety below.

 On Sun, 6 Nov 2005, Sam Rosenfeld wrote:
  My version of debian 3.1 was downloaded via the net, and the original
  files, which contained the info for the sources.list file, have been
  lost. When I try to install package pkg with apt-get install pkg I
  get the following message:
 
  W: Couldn't stat source package list http://security.debian.org
  stable/updates/contrib Packages
  (/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_bi
 nary-i386_Packages) - stat (2 No such file or directory)
 
  W: Couldn't stat source package list http://security.debian.org
  stable/updates/non-free Packages
  (/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_b
 inary-i386_Packages) - stat (2 No such file or directory)
 
  W: You may want to run apt-get update to correct these problems
  E: Package pkg has no installation candidate

 I have running apt-get update with zero results.

  In addition, I have a strange (to me) problem with my man bin file;
  it doesn't get and display the contents of manpages (though they exist
  in my /usr/share/man/man1-8/ folders).  Is it possible that this man
  problem is related to the sources.list problem?
 
  Will appreciate any clear doc (or explanation) dealing with either or
  both of the above problem(s).

 # See sources.list(5) for more information, especially
 # Remember that you can only use http, ftp or file URIs
 # CDROMs are managed through the apt-cdrom tool.
 deb http://http.us.debian.org/debian stable main contrib non-free
 deb http://non-us.debian.org/debian-non-US stable/non-US main contrib
 non-free deb http://security.debian.org stable/updates main contrib
 non-free

Looks like you're missing a '/' at the end of the http://security.debian.org 
part.  Change
http://security.debian.org stable/updates main contrib non-free
to
http://security.debian.org/ stable/updates main contrib non-free
and then run apt-get update, and see if that helps.

 # Uncomment if you want the apt-get source function to work
 deb-src http://http.us.debian.org/debian stable main contrib non-free
 deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib
 non-free

Hope that helps,
Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: corrupted sources.list (file below)

2005-11-08 Thread Sam Rosenfeld
My sources.list file is listed in its entirety below.

On Sun, 6 Nov 2005, Sam Rosenfeld wrote:

 My version of debian 3.1 was downloaded via the net, and the original
 files, which contained the info for the sources.list file, have been lost.
 When I try to install package pkg with apt-get install pkg I get the
 following message:

 W: Couldn't stat source package list http://security.debian.org
 stable/updates/contrib Packages
 (/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages)
 - stat (2 No such file or directory)

 W: Couldn't stat source package list http://security.debian.org
 stable/updates/non-free Packages
 (/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_binary-i386_Packages)
 - stat (2 No such file or directory)

 W: You may want to run apt-get update to correct these problems
 E: Package pkg has no installation candidate

I have running apt-get update with zero results.


 In addition, I have a strange (to me) problem with my man bin file; it
 doesn't get and display the contents of manpages (though they exist in my
 /usr/share/man/man1-8/ folders).  Is it possible that this man problem is
 related to the sources.list problem?

 Will appreciate any clear doc (or explanation) dealing with either or both
 of the above problem(s).



# See sources.list(5) for more information, especially
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
deb-src http://http.us.debian.org/debian stable main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib 
non-free


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]