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

Re: Problem with apt-get and sources.list



On Thu 14 Jan 2016 at 18:18:09 +0300, Adam Wilson wrote:

> On Wed, 13 Jan 2016 20:31:18 +0200
> Amr Saber <amr.m.saber.mail@gmail.com> wrote:
> 
> > Hi there,
> > While I was configuring some thing in the sources.list file as apt-get
> > couldn't get any package I wanted or asked for (I double checked the
> > spelling for each package) and it just said package not found ...
> > any way, The problem is that the sources.list file was accidentally
> > deleted and I can't find any version of it online and ofcourse the
> > apt-get is no longer working at all
> 
> Assuming you're running stable,
> 
> deb http://http.debian.net/debian/ stable main
> deb http://http.debian.net/debian/ stable-updates main
> deb http://http.debian.net/debian/ stable-proposed-updates main
> deb http://http.debian.net/debian/ stable-backports main
> deb http://security.debian.org/ stable/updates main
> 
> is the complete setup. For testing, just remove backports and replace
> 'stable' with 'testing'.

http.debian.net/debian/

is exactly the same as

httpredir.debian.org/debian/

The .org indicates it is an official, supported mirror but it makes no
difference when updating and downloading. The former gets you to the
latter.


Reply to: