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

Re: apt-get update help



> I thought maybe it was a problem with my /etc/sources.list file.  I

It probably is, because....

> tried changing to a different site, but that didn't help.  Here is my
> /etc/sources.list file, and following that, my apt-get update errors.
> 
> # begin /etc/sources.list
> # Use for a local mirror - remove the ftp1 http lines for the bits
> # your mirror contains.
> # deb file:/your/mirror/here/debian stable main contrib non-free

                                      ^^^^^^

This tells apt which 'version' of debian to get. 'stable' is, well,
stable. There's also
'unstable', which is the current development version, and then there's
sometimes 'frozen', which is what 'unstable' becomes before it is
promoted to 'stable'.


> # See sources.list(5) for more information, especial
> # Remember that you can only use http, ftp or file URIs
> deb http://ftp1.us.debian.org/debian main contrib non-free

                                       ^^^^
Here you tell apt to use the 'main' distribution, while you _mean_ to
tell it you wantto use the main _section_ of the _stable_ distribution
(I assume here you want to install packages from the stable
distribution).


Maarten

-- 

Maarten Boekhold, boekhold@tibco.com
TIBCO Finance Technology Inc.
The Atrium
Strawinskylaan 3051
1077 ZX Amsterdam, The Netherlands
tel: +31 20 3012158, fax: +31 20 3012358
http://www.tibco.com


Reply to: