Re: Problem with apt-get and sources.list

2016-01-21 Thread Brian
On Wed 20 Jan 2016 at 17:56:53 +0300, Adam Wilson wrote:

> On Fri, 15 Jan 2016 19:34:31 + Brian  wrote:
> 
> > On Fri 15 Jan 2016 at 09:54:30 +0300, Adam Wilson wrote:
> > 
> > > On Thu, 14 Jan 2016 19:08:53 +
> > > Brian  wrote:
> > > 
> > > > 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.
> > > > 
> > > 
> > > I am aware of this. I used to use httpredir.debian.org in my
> > > sources.list, but switched to http.debian.net because honestly it
> > > just looks better.
> > 
> > Looks do not matter. Either works for now and, for most users, it
> > saves them agonising about which mirror to use.
> 
> If looks don't matter, then why did you correct my recommendation of
> http.debian.net? It points to the same thing anyway, and is easier to
> type.

Users will come across httpredir.debian.org in the documentation so it
was an attempt to head off any confusion which might have arisen in this
thread over the use of two different URIs for the same resource. I think
the redirector developer has committed to both working.



Re: Problem with apt-get and sources.list

2016-01-21 Thread Brian
On Thu 21 Jan 2016 at 11:04:18 +, Brian wrote:

> If non-free firmware is provided during the course of using the installer
> the "official" sources.list includes non-free. 

A misleading statement. The non-free archive is marked for inclusion but
the user must choose to have it written to sources.list,



Re: Problem with apt-get and sources.list

2016-01-21 Thread Brian
On Thu 21 Jan 2016 at 23:10:51 +1300, Chris Bannister wrote:

> On Wed, Jan 20, 2016 at 05:57:52PM +0300, Adam Wilson wrote:
> > On Sat, 16 Jan 2016 08:17:42 +1300 Chris Bannister
> >  wrote:
> > 
> > > On Thu, Jan 14, 2016 at 06:18:09PM +0300, Adam Wilson wrote:
> > > > On Wed, 13 Jan 2016 20:31:18 +0200
> > > > Amr Saber  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. 
> > > 
> > > It's not complete, it's missing contrib and non-free.
> > 
> > Correction: complete *official* setup anyway. Unless Debian has dropped
> > any pretence of contrib and non-free being unofficial.
> 
> Whatever. To have a fully functioning system you need contrib and
> non-free in your sources.list, sure, you could go out of your way and
> buy hardware which doesn't need any firmware, but guess what, those
> people don't tend to post to this list asking for help.
> 
> > I don't recommend non-free software to anyone as a matter of principle.
> 
> Sure, but when their computer stops working because of an update and the
> installed firmware blob is no longer working, they'll complain to this
> list --- and guess what the posted solution will be? 
> 
> I'm certain it will be "oh, you're missing contrib and non-free in your
> sources.list"
> 
> It appears there was some talk about refining the sources.list, but it's
> not so straight forward:
> https://lists.debian.org/debian-devel/2016/01/msg00233.html

If non-free firmware is provided during the course of using the installer
the "official" sources.list includes non-free. 



Re: Problem with apt-get and sources.list

2016-01-21 Thread Chris Bannister
On Wed, Jan 20, 2016 at 05:57:52PM +0300, Adam Wilson wrote:
> On Sat, 16 Jan 2016 08:17:42 +1300 Chris Bannister
>  wrote:
> 
> > On Thu, Jan 14, 2016 at 06:18:09PM +0300, Adam Wilson wrote:
> > > On Wed, 13 Jan 2016 20:31:18 +0200
> > > Amr Saber  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. 
> > 
> > It's not complete, it's missing contrib and non-free.
> 
> Correction: complete *official* setup anyway. Unless Debian has dropped
> any pretence of contrib and non-free being unofficial.

Whatever. To have a fully functioning system you need contrib and
non-free in your sources.list, sure, you could go out of your way and
buy hardware which doesn't need any firmware, but guess what, those
people don't tend to post to this list asking for help.

> I don't recommend non-free software to anyone as a matter of principle.

Sure, but when their computer stops working because of an update and the
installed firmware blob is no longer working, they'll complain to this
list --- and guess what the posted solution will be? 

I'm certain it will be "oh, you're missing contrib and non-free in your
sources.list"

It appears there was some talk about refining the sources.list, but it's
not so straight forward:
https://lists.debian.org/debian-devel/2016/01/msg00233.html

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X



Re: Problem with apt-get and sources.list

2016-01-20 Thread Adam Wilson
On Fri, 15 Jan 2016 19:34:31 + Brian  wrote:

> On Fri 15 Jan 2016 at 09:54:30 +0300, Adam Wilson wrote:
> 
> > On Thu, 14 Jan 2016 19:08:53 +
> > Brian  wrote:
> > 
> > > 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.
> > > 
> > 
> > I am aware of this. I used to use httpredir.debian.org in my
> > sources.list, but switched to http.debian.net because honestly it
> > just looks better.
> 
> Looks do not matter. Either works for now and, for most users, it
> saves them agonising about which mirror to use.

If looks don't matter, then why did you correct my recommendation of
http.debian.net? It points to the same thing anyway, and is easier to
type.

> > Btw, what exactly is the purpose of '-proposed-updates'? I
> > always enable it for completeness' sake, but is this good practice?
> 
> https://wiki.debian.org/StableProposedUpdates
> 
> I've never used it and have no plans to do so. 

Very well then. I only use jessie and jessie-updates at the moment.



Re: Problem with apt-get and sources.list

2016-01-20 Thread Adam Wilson
On Sat, 16 Jan 2016 08:17:42 +1300 Chris Bannister
 wrote:

> On Thu, Jan 14, 2016 at 06:18:09PM +0300, Adam Wilson wrote:
> > On Wed, 13 Jan 2016 20:31:18 +0200
> > Amr Saber  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. 
> 
> It's not complete, it's missing contrib and non-free.
> 

Correction: complete *official* setup anyway. Unless Debian has dropped
any pretence of contrib and non-free being unofficial.

I don't recommend non-free software to anyone as a matter of principle.



Re: Problem with apt-get and sources.list

2016-01-15 Thread Chris Bannister
On Thu, Jan 14, 2016 at 06:18:09PM +0300, Adam Wilson wrote:
> On Wed, 13 Jan 2016 20:31:18 +0200
> Amr Saber  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. 

It's not complete, it's missing contrib and non-free.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X



Re: Problem with apt-get and sources.list

2016-01-15 Thread Brian
On Fri 15 Jan 2016 at 09:54:30 +0300, Adam Wilson wrote:

> On Thu, 14 Jan 2016 19:08:53 +
> Brian  wrote:
> 
> > 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.
> > 
> 
> I am aware of this. I used to use httpredir.debian.org in my
> sources.list, but switched to http.debian.net because honestly it just
> looks better.

Looks do not matter. Either works for now and, for most users, it saves
them agonising about which mirror to use.

> Btw, what exactly is the purpose of '-proposed-updates'? I
> always enable it for completeness' sake, but is this good practice?

https://wiki.debian.org/StableProposedUpdates

I've never used it and have no plans to do so. 



Re: Problem with apt-get and sources.list

2016-01-15 Thread Adam Wilson
On Thu, 14 Jan 2016 19:08:53 +
Brian  wrote:

> On Thu 14 Jan 2016 at 18:18:09 +0300, Adam Wilson wrote:
> 
> > On Wed, 13 Jan 2016 20:31:18 +0200
> > Amr Saber  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.
> 

I am aware of this. I used to use httpredir.debian.org in my
sources.list, but switched to http.debian.net because honestly it just
looks better.

Btw, what exactly is the purpose of '-proposed-updates'? I
always enable it for completeness' sake, but is this good practice?



Re: Problem with apt-get and sources.list

2016-01-14 Thread Brian
On Thu 14 Jan 2016 at 09:39:26 +0530, Udyant Wig wrote:

> On 01/14/2016 02:08 AM, Brian wrote:
> > On Wed 13 Jan 2016 at 12:36:33 -0600, rlhar...@oplink.net wrote:
> >
> >> On Wed, January 13, 2016 12:31 pm, Amr Saber wrote:
> >>> The problem is that the sources.list file was accidentally deleted
> >>> and I can't find any version of it online
> >>
> >> deb http://ftp.us.debian.org/debian/ jessie main non-free contrib
> >> deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib
> >
> > Why not suggest a mirror which would be suitable for anyone, no matter
> > what their location in the world is?
> >
> > deb http://httpredir.debian.org/debian/ jessie main non-free contrib
> > deb-src http://httpredir.debian.org/debian/ jessie main non-free contrib
> 
>   I tried the redirector a while ago, but one mirror kept returning 403,
>   necessitating reruns of apt(itude).  So, I switched to specific
>   mirrors after that.  I haven't revisited using the redirector since
>   then.

Such (not always transient) errors are not unknown but the redirector
cannot turn a malfunctioning mirror into a well-behaved one. The place
to report such an issue is mirr...@lists.debian.org.

I wonder what the reaction would have been to a suggestion for Amr Saber
to use

  deb http://ftp.au.debian.org/debian/ jessie main non-free contrib ?

httpredir.debian.org/debian/ mitigates the need to think about and
investigate which specific mirror to choose. Of course both can be put
in sources.list.



Re: Problem with apt-get and sources.list

2016-01-14 Thread Chris Bannister
On Wed, Jan 13, 2016 at 12:36:33PM -0600, rlhar...@oplink.net wrote:
> On Wed, January 13, 2016 12:31 pm, Amr Saber wrote:
> > The problem is that the sources.list file was accidentally deleted
> > and I can't find any version of it online
> 
> deb http://ftp.us.debian.org/debian/ jessie main non-free contrib
> deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib
> 
> deb http://security.debian.org/ jessie/updates main contrib non-free
> deb-src http://security.debian.org/ jessie/updates main contrib non-free

Even better:

deb http://httpredir.debian.org/debian/ jessie main non-free contrib
deb http://security.debian.org/ jessie/updates main contrib non-free

99.9% of Debian users will never need the deb-src entries.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X



Re: Problem with apt-get and sources.list

2016-01-14 Thread Adam Wilson
On Wed, 13 Jan 2016 20:31:18 +0200
Amr Saber  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'.



Re: Problem with apt-get and sources.list

2016-01-14 Thread Brian
On Thu 14 Jan 2016 at 18:18:09 +0300, Adam Wilson wrote:

> On Wed, 13 Jan 2016 20:31:18 +0200
> Amr Saber  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.



Re: Problem with apt-get and sources.list

2016-01-13 Thread Brian
On Wed 13 Jan 2016 at 12:36:33 -0600, rlhar...@oplink.net wrote:

> On Wed, January 13, 2016 12:31 pm, Amr Saber wrote:
> > The problem is that the sources.list file was accidentally deleted
> > and I can't find any version of it online
> 
> deb http://ftp.us.debian.org/debian/ jessie main non-free contrib
> deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib

Why not suggest a mirror which would be suitable for anyone, no matter
what their location in the world is?

deb http://httpredir.debian.org/debian/ jessie main non-free contrib
deb-src http://httpredir.debian.org/debian/ jessie main non-free contrib



Re: Problem with apt-get and sources.list

2016-01-13 Thread Charlie Kravetz
On Wed, 13 Jan 2016 20:31:18 +0200
Amr Saber  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

When you are ready to learn how to build a new one:
https://wiki.debian.org/SourcesList

-- 
Charlie Kravetz
Linux Registered User Number 425914
[http://linuxcounter.net/user/425914.html]
Never let anyone steal your DREAM.   [http://keepingdreams.com]



Re: Problem with apt-get and sources.list

2016-01-13 Thread rlharris
On Wed, January 13, 2016 12:31 pm, Amr Saber wrote:
> The problem is that the sources.list file was accidentally deleted
> and I can't find any version of it online

deb http://ftp.us.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free





Re: Problem with apt-get and sources.list

2016-01-13 Thread Jose Martinez



On 01/13/2016 02:38 PM, Charlie Kravetz wrote:

On Wed, 13 Jan 2016 20:31:18 +0200
Amr Saber  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


When you are ready to learn how to build a new one:
https://wiki.debian.org/SourcesList



You can also check out man 5 sources.list for some good information.
--
Que te vaya bien
JM



Re: Problem with apt-get and sources.list

2016-01-13 Thread Lisi Reisz
On Wednesday 13 January 2016 23:22:30 David Christensen wrote:
> On 01/13/2016 10:31 AM, Amr Saber 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 ...
>
> You can search for packages here:
>
>  http://www.debian.org/distrib/packages
>
> > any way, The problem is that the sources.list file was accidentally
> > deleted
>
> It's useful to make copies of original configuration files before
> editing them:
>
>  # cp /etc/apt/sources.list /etc/apt/sources.list-orig
>
>  # vi /etc/apt/sources.list
>
>
> Better yet is putting them into a version control system.
>
>  > and I can't find any version of it online and ofcourse the apt-get is
>  > no longer working at all
>
> Somebody already posted a Jessie file.  Here's my Wheezy file:
>
> $ cat /etc/apt/sources.list
> #deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 xfce-CD
> Binary-1 20150110-14:41]/ wheezy main
>
> deb http://ftp.us.debian.org/debian/ wheezy main
> deb-src http://ftp.us.debian.org/debian/ wheezy main
>
> deb http://security.debian.org/ wheezy/updates main
> deb-src http://security.debian.org/ wheezy/updates main
>
> deb http://ftp.us.debian.org/debian/ wheezy-updates main
> deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
>
> deb http://http.debian.net/debian wheezy-backports main
>
>
> David

And in case you are less purist:

deb http://ftp.uk.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.uk.debian.org/debian wheezy main contrib non-free

deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.at.debian.org/debian wheezy-backports main contrib non-free

deb http://mozilla.debian.net/ wheezy-backports iceweasel-release

Though in both cases Brian's choice of mirror was better.

Lisi



Re: Problem with apt-get and sources.list

2016-01-13 Thread Amr Saber
I really cant thank you all enough :)
On 14 Jan 2016 01:39, "Lisi Reisz"  wrote:

> On Wednesday 13 January 2016 23:22:30 David Christensen wrote:
> > On 01/13/2016 10:31 AM, Amr Saber 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 ...
> >
> > You can search for packages here:
> >
> >  http://www.debian.org/distrib/packages
> >
> > > any way, The problem is that the sources.list file was accidentally
> > > deleted
> >
> > It's useful to make copies of original configuration files before
> > editing them:
> >
> >  # cp /etc/apt/sources.list /etc/apt/sources.list-orig
> >
> >  # vi /etc/apt/sources.list
> >
> >
> > Better yet is putting them into a version control system.
> >
> >  > and I can't find any version of it online and ofcourse the apt-get is
> >  > no longer working at all
> >
> > Somebody already posted a Jessie file.  Here's my Wheezy file:
> >
> > $ cat /etc/apt/sources.list
> > #deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 xfce-CD
> > Binary-1 20150110-14:41]/ wheezy main
> >
> > deb http://ftp.us.debian.org/debian/ wheezy main
> > deb-src http://ftp.us.debian.org/debian/ wheezy main
> >
> > deb http://security.debian.org/ wheezy/updates main
> > deb-src http://security.debian.org/ wheezy/updates main
> >
> > deb http://ftp.us.debian.org/debian/ wheezy-updates main
> > deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
> >
> > deb http://http.debian.net/debian wheezy-backports main
> >
> >
> > David
>
> And in case you are less purist:
>
> deb http://ftp.uk.debian.org/debian wheezy main contrib non-free
> deb-src http://ftp.uk.debian.org/debian wheezy main contrib non-free
>
> deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
> deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
>
> deb http://security.debian.org/ wheezy/updates main contrib non-free
> deb-src http://security.debian.org/ wheezy/updates main contrib non-free
>
> deb http://ftp.at.debian.org/debian wheezy-backports main contrib non-free
>
> deb http://mozilla.debian.net/ wheezy-backports iceweasel-release
>
> Though in both cases Brian's choice of mirror was better.
>
> Lisi
>
>


Re: Problem with apt-get and sources.list

2016-01-13 Thread Jose Martinez



On 01/13/2016 05:38 PM, Lisi Reisz wrote:

On Wednesday 13 January 2016 23:22:30 David Christensen wrote:

On 01/13/2016 10:31 AM, Amr Saber 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 ...


You can search for packages here:

  http://www.debian.org/distrib/packages


any way, The problem is that the sources.list file was accidentally
deleted


It's useful to make copies of original configuration files before
editing them:

  # cp /etc/apt/sources.list /etc/apt/sources.list-orig

  # vi /etc/apt/sources.list


Better yet is putting them into a version control system.

  > and I can't find any version of it online and ofcourse the apt-get is
  > no longer working at all

Somebody already posted a Jessie file.  Here's my Wheezy file:

$ cat /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 xfce-CD
Binary-1 20150110-14:41]/ wheezy main

deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main

deb http://http.debian.net/debian wheezy-backports main


David


And in case you are less purist:

deb http://ftp.uk.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.uk.debian.org/debian wheezy main contrib non-free

deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.at.debian.org/debian wheezy-backports main contrib non-free

deb http://mozilla.debian.net/ wheezy-backports iceweasel-release



Lisi, where can you get the authentication signature for the the 
mozilla.debian.net repository??



Though in both cases Brian's choice of mirror was better.

Lisi



--
Que te vaya bien
JM



Re: Problem with apt-get and sources.list

2016-01-13 Thread David Christensen

On 01/13/2016 10:31 AM, Amr Saber 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 ...


You can search for packages here:

http://www.debian.org/distrib/packages


any way, The problem is that the sources.list file was accidentally deleted


It's useful to make copies of original configuration files before 
editing them:


# cp /etc/apt/sources.list /etc/apt/sources.list-orig

# vi /etc/apt/sources.list


Better yet is putting them into a version control system.


> and I can't find any version of it online and ofcourse the apt-get is
> no longer working at all

Somebody already posted a Jessie file.  Here's my Wheezy file:

$ cat /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 xfce-CD 
Binary-1 20150110-14:41]/ wheezy main


deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main

deb http://http.debian.net/debian wheezy-backports main


David



Re: Problem with apt-get and sources.list

2016-01-13 Thread Jochen Spieker
Jose Martinez:
> 
> Lisi, where can you get the authentication signature for the the
> mozilla.debian.net repository??

I am not Lisi, but have you considered just going straight to
http://mozilla.debian.net/? :)


J.
-- 
When you put a gun to my head you aren't fooling anyone.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Problem with apt-get and sources.list

2016-01-13 Thread Udyant Wig
On 01/14/2016 02:08 AM, Brian wrote:
> On Wed 13 Jan 2016 at 12:36:33 -0600, rlhar...@oplink.net wrote:
>
>> On Wed, January 13, 2016 12:31 pm, Amr Saber wrote:
>>> The problem is that the sources.list file was accidentally deleted
>>> and I can't find any version of it online
>>
>> deb http://ftp.us.debian.org/debian/ jessie main non-free contrib
>> deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib
>
> Why not suggest a mirror which would be suitable for anyone, no matter
> what their location in the world is?
>
> deb http://httpredir.debian.org/debian/ jessie main non-free contrib
> deb-src http://httpredir.debian.org/debian/ jessie main non-free contrib

  I tried the redirector a while ago, but one mirror kept returning 403,
  necessitating reruns of apt(itude).  So, I switched to specific
  mirrors after that.  I haven't revisited using the redirector since
  then.

-- 
Udyant Wig
Software projects: https://github.com/udyant
Poetry: http://www.writing.com/main/portfolio/view/frosthrone



Re: Problem with apt-get and sources.list

2016-01-13 Thread Lisi Reisz
On Thursday 14 January 2016 00:10:17 Jochen Spieker wrote:
> Jose Martinez:
> > Lisi, where can you get the authentication signature for the the
> > mozilla.debian.net repository??
>
> I am not Lisi, but have you considered just going straight to
> http://mozilla.debian.net/? :)

You beat me to it, Jochen!!

Lisi



Re: Problem with apt-get and sources.list

2016-01-13 Thread Jose Martinez



On 01/13/2016 06:10 PM, Jochen Spieker wrote:

Jose Martinez:


Lisi, where can you get the authentication signature for the the
mozilla.debian.net repository??


I am not Lisi, but have you considered just going straight to
http://mozilla.debian.net/? :)


J.


Hmmm...What a novel idea!!

--
Que te vaya bien
JM