Is this sources.list correct?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Is this sources.list correct?

Fjfj109
On Stretch, upgraded from Jessie. https://paste.debian.net/933553/
Reply | Threaded
Open this post in threaded view
|

Re: Is this sources.list correct?

Matthew McKinnon
On Mon, May 22, 2017 at 12:45:05AM -0400, Fjfj109 wrote:
> On Stretch, upgraded from Jessie. https://paste.debian.net/933553/

When updating from Jessie to Stretch. Just replace all the 'Jessie' references in your /etc/apt/sources.list file to 'Stretch'

You can do this with a quick sed (backup your sources.list first):
 
  sed -i 's|jessie|stretch|g' /etc/apt/sources.list

Your sources look OK. I compared them to a Jessie one that I have and other than the repo you are referencing looks good.


Thanks
Matt

Reply | Threaded
Open this post in threaded view
|

Re: Is this sources.list correct?

Fungi4All

-------- Original Message --------
Subject: Re: Is this sources.list correct?
UTC Time: May 22, 2017 6:09 AM

On Mon, May 22, 2017 at 12:45:05AM -0400, Fjfj109 wrote:
> On Stretch, upgraded from Jessie. https://paste.debian.net/933553/

When updating from Jessie to Stretch. Just replace all the 'Jessie' references in your /etc/apt/sources.list file to 'Stretch'

You can do this with a quick sed (backup your sources.list first):

sed -i 's|jessie|stretch|g' /etc/apt/sources.list

Your sources look OK. I compared them to a Jessie one that I have and other than the repo you are referencing looks good.

This is an optional addition to consider:

https://backports.debian.org/ read some before you decide

Thanks
Matt

AK
Reply | Threaded
Open this post in threaded view
|

Re: Is this sources.list correct?

Dejan Jocic
On 22-05-17, Fungi4All wrote:

> -------- Original Message --------
> Subject: Re: Is this sources.list correct?
> UTC Time: May 22, 2017 6:09 AM
> From: [hidden email]
> [hidden email]
>
> On Mon, May 22, 2017 at 12:45:05AM -0400, Fjfj109 wrote:
> > On Stretch, upgraded from Jessie. https://paste.debian.net/933553/
>
> When updating from Jessie to Stretch. Just replace all the 'Jessie' references in your /etc/apt/sources.list file to 'Stretch'
>
> You can do this with a quick sed (backup your sources.list first):
>
> sed -i 's|jessie|stretch|g' /etc/apt/sources.list
>
> Your sources look OK. I compared them to a Jessie one that I have and other than the repo you are referencing looks good.
>
> This is an optional addition to consider:
> http://ftp.debian.org/debian/dists/stretch-backports/
>
> https://backports.debian.org/ read some before you decide
>
> Thanks
> Matt
>
> AK

Or, even better, you can use slight change in that sed command to get
both changed sources.list and backup:

#sed -i.bak 's/jessie/stretch/g' /etc/apt/sources.list

will get you changed sources.list and old sources.list.bak file. Of
course, you can change that .bak with your preferred suffix for back up
files.




Reply | Threaded
Open this post in threaded view
|

Re: Is this sources.list correct?

Michael Milliman
In reply to this post by Fungi4All


On 05/22/2017 06:21 AM, Fungi4All wrote:

>
>> -------- Original Message --------
>> Subject: Re: Is this sources.list correct?
>> UTC Time: May 22, 2017 6:09 AM
>> From: [hidden email]
>> [hidden email]
>>
>> On Mon, May 22, 2017 at 12:45:05AM -0400, Fjfj109 wrote:
>> > On Stretch, upgraded from Jessie. https://paste.debian.net/933553/
>>
>> When updating from Jessie to Stretch. Just replace all the 'Jessie'
>> references in your /etc/apt/sources.list file to 'Stretch'
>>
>> You can do this with a quick sed (backup your sources.list first):
>>
>> sed -i 's|jessie|stretch|g' /etc/apt/sources.list
>>
>> Your sources look OK. I compared them to a Jessie one that I have and
>> other than the repo you are referencing looks good.
>
> This is an optional addition to consider:
> http://ftp.debian.org/debian/dists/stretch-backports/
>
> https://backports.debian.org/ read some before you decide
>>
You might also consider adding contrib and/or non-free to the lines in
your souces.list file.  Many people have issues with non-free,
nevertheless, there are some packages that are of use in both of these
sections of the repositories.  Just add the words contrib non-free after
main in each line (separated by spaces).
>> Thanks
>> Matt
>>
> AK

--
73's,
WB5VQX -- The Very Quick X-ray

Reply | Threaded
Open this post in threaded view
|

Re: Is this sources.list correct?

Lisi Reisz
On Monday 22 May 2017 21:11:48 Michael Milliman wrote:

> On 05/22/2017 06:21 AM, Fungi4All wrote:
> >> -------- Original Message --------
> >> Subject: Re: Is this sources.list correct?
> >> UTC Time: May 22, 2017 6:09 AM
> >> From: [hidden email]
> >> [hidden email]
> >>
> >> On Mon, May 22, 2017 at 12:45:05AM -0400, Fjfj109 wrote:
> >> > On Stretch, upgraded from Jessie. https://paste.debian.net/933553/
> >>
> >> When updating from Jessie to Stretch. Just replace all the 'Jessie'
> >> references in your /etc/apt/sources.list file to 'Stretch'
> >>
> >> You can do this with a quick sed (backup your sources.list first):
> >>
> >> sed -i 's|jessie|stretch|g' /etc/apt/sources.list
> >>
> >> Your sources look OK. I compared them to a Jessie one that I have and
> >> other than the repo you are referencing looks good.
> >
> > This is an optional addition to consider:
> > http://ftp.debian.org/debian/dists/stretch-backports/
> >
> > https://backports.debian.org/ read some before you decide
>
> You might also consider adding contrib and/or non-free to the lines in
> your souces.list file.  Many people have issues with non-free,
> nevertheless, there are some packages that are of use in both of these
> sections of the repositories.  Just add the words contrib non-free after
> main in each line (separated by spaces).
>
> >> Thanks
> >> Matt
> >
> > AK

For the archives, since pastes do not endure, this is the sources list:
-----------------------------------------------------------------------
  GNU nano 2.7.4                                                                                      
File: /etc/apt/sources.list                                                                                                

#

# deb cdrom:[Debian GNU/Linux 8.8.0 _Jessie_ - Official amd64 NETINST Binary-1
20170506-14:10]/ jessie main

#deb cdrom:[Debian GNU/Linux 8.8.0 _Jessie_ - Official amd64 NETINST Binary-1
20170506-14:10]/ jessie main

deb http://ftp.ca.debian.org/debian/ stretch main

deb http://security.debian.org/ stretch/updates main


# stretch-updates, previously known as 'volatile'
deb http://ftp.ca.debian.org/debian/ stretch-updates main

-------------------------------------------------------
HTH
Lisi