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

Re: corrupted sources.list (file below)




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.



Reply to: