1

I want to ask if this installation process is correct:

I know that mirrors or websites where packages are downloaded are on /etc/apt/sources.list so, once updated my Jessie 8.8, I edited sources.list to:

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

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

Then it was updated and upgraded. I suppose that's all. I don't have anything important in my notebook so I didn't make a back up.

Edit

The reason I changed to Stretch is that many packages can't be updated with Jessie as R and rpy2 (at least in a simple way).

Is this process correct?

  • 1
    If you are not a computer whizz who needs the source code you don't need the lines beginning deb-src. – user8779 Jan 20 '18 at 20:48
  • 1
    Isn’t there documentation on Debian’s website? – Jeff Schaller Jan 20 '18 at 20:54
  • 2
    what is the point of the question? It things are good, they are good, if they are bad, they are bad. They wont magically will get different because a stranger said so in the Internet. – Rui F Ribeiro Jan 20 '18 at 21:22
  • 1
    @santimirandarp Do please come back with specific and objective questions. – Rui F Ribeiro Jan 20 '18 at 21:23
  • 1
    @RuiFRibeiro this seems like a pretty specific and objective question. "Is changing my sources to point to stretch the right way of upgrading from jessie?" I really don't understand why this was closed. And it most certainly isn't a request for learning materials! – terdon Jan 21 '18 at 16:19
2

Yes, but first make sure your Jessie install is up to date.

First, with your Jessie sources.list do apt-get update && apt-get dist-upgrade and follow through with that process.

When that is complete, change your Jessie sources.list to Stretch -

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

And then update and upgrade

apt-get update && apt-get dist-upgrade

And then enjoy your new stretchy goodness.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.