Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #157822 > unrolled thread

Upgrading Debian

Started byHimanshu Shekhar <irm2015006@iiita.ac.in>
First post2015-09-13 10:00 +0200
Last post2015-09-14 16:50 +0200
Articles 15 — 10 participants

Back to article view | Back to linux.debian.user


Contents

  Upgrading Debian Himanshu Shekhar <irm2015006@iiita.ac.in> - 2015-09-13 10:00 +0200
    Re: Upgrading Debian Jarle Aase <jgaa@jgaa.com> - 2015-09-13 10:20 +0200
      Re: Upgrading Debian pascalv@sdf.lonestar.org - 2015-09-13 11:30 +0200
        Re: Upgrading Debian <tomas@tuxteam.de> - 2015-09-13 14:40 +0200
      Re: Upgrading Debian Chris Bannister <cbannister@slingshot.co.nz> - 2015-09-14 15:10 +0200
        Re: Upgrading Debian Lisi Reisz <lisi.reisz@gmail.com> - 2015-09-14 15:20 +0200
    Re: Upgrading Debian Diogene Laerce <me_buss777@yahoo.fr> - 2015-09-13 10:20 +0200
    Re: Upgrading Debian Lisi Reisz <lisi.reisz@gmail.com> - 2015-09-13 12:50 +0200
    Re: Upgrading Debian Patrick Bartek <nemommxiv@gmail.com> - 2015-09-13 17:20 +0200
      Re: Upgrading Debian Lisi Reisz <lisi.reisz@gmail.com> - 2015-09-13 18:10 +0200
        Re: Upgrading Debian Patrick Bartek <nemommxiv@gmail.com> - 2015-09-14 06:10 +0200
          Re: Upgrading Debian Lisi Reisz <lisi.reisz@gmail.com> - 2015-09-14 11:40 +0200
            Re: Upgrading Debian Patrick Bartek <nemommxiv@gmail.com> - 2015-09-14 18:20 +0200
            Re: Upgrading Debian Seeker <seeker5528@comcast.net> - 2015-09-15 08:40 +0200
    Re: Upgrading Debian David Wright <deblis@lionunicorn.co.uk> - 2015-09-14 16:50 +0200

#157822 — Upgrading Debian

FromHimanshu Shekhar <irm2015006@iiita.ac.in>
Date2015-09-13 10:00 +0200
SubjectUpgrading Debian
Message-ID<q8amC-1ph-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I just want to make sure again. How can one upgrade from one version of
Debian to other without losing data or without formatiing the partition,
simply as Ubuntu does.
An earlier mail in this mailing list stated to reboot from iso image and
install in the same old traditional way.
This Facebook post states something else, and I couldn't make sure what to
do without bricking up my hard configured system.
https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/

-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006

[toc] | [next] | [standalone]


#157823

FromJarle Aase <jgaa@jgaa.com>
Date2015-09-13 10:20 +0200
Message-ID<q8aFY-217-3@gated-at.bofh.it>
In reply to#157822

[Multipart message — attachments visible in raw view] — view raw

On 09/13/2015 10:57 AM, Himanshu Shekhar wrote:
> I just want to make sure again. How can one upgrade from one
> version of Debian to other without losing data or without
> formatiing the partition, simply as Ubuntu does. An earlier mail in
> this mailing list stated to reboot from iso image and install in
> the same old traditional way. This Facebook post states something
> else, and I couldn't make sure what to do without bricking up my
> hard configured system. 
> https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/


What
> 
I usually do is to update /etc/apt/sources to the version I want
to upgrade to. Then I log out from X and log on to the console.

# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

Then reboot.

This has only failed when I have tried to upgrade to broken "testing"
versions.

As always, make a backup before you start :)

Jarle

[toc] | [prev] | [next] | [standalone]


#157826

Frompascalv@sdf.lonestar.org
Date2015-09-13 11:30 +0200
Message-ID<q8bLJ-3x8-13@gated-at.bofh.it>
In reply to#157823
On 2015-09-13 10:12, Jarle Aase wrote:
> On 09/13/2015 10:57 AM, Himanshu Shekhar wrote:
>> I just want to make sure again. How can one upgrade from one
>> version of Debian to other without losing data or without
>> formatiing the partition, simply as Ubuntu does. An earlier mail in
>> this mailing list stated to reboot from iso image and install in
>> the same old traditional way. This Facebook post states something
>> else, and I couldn't make sure what to do without bricking up my
>> hard configured system.
>> https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/
> 
> 
> What
>> 
> I usually do is to update /etc/apt/sources to the version I want
> to upgrade to. Then I log out from X and log on to the console.
> 
> # apt-get update
> # apt-get upgrade
> # apt-get dist-upgrade
> 
> Then reboot.
> 
> This has only failed when I have tried to upgrade to broken "testing"
> versions.
> 
> As always, make a backup before you start :)
> 
> Jarle


Same (almost) for me:

$ sudo apt-get update && sudo apt-get upgrade

$ sudo apt-get dist-upgrade


(I don't remember if I even needed to reboot)

I stayed with stable and I never experienced failure

[toc] | [prev] | [next] | [standalone]


#157832

From<tomas@tuxteam.de>
Date2015-09-13 14:40 +0200
Message-ID<q8eJD-7J8-67@gated-at.bofh.it>
In reply to#157826
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Sep 13, 2015 at 10:23:29AM +0200, pascalv@sdf.lonestar.org wrote:

[...]

> Same (almost) for me:
> 
> $ sudo apt-get update && sudo apt-get upgrade
> 
> $ sudo apt-get dist-upgrade
> 
> 
> (I don't remember if I even needed to reboot)

Reboot is recommended whenever your kernel or some very basic library
is upgraded (otherwise the machine keeps running the old binary).

Plus it makes sense, just because if your machine becomes unbootable after
the upgrade, you'd notice right away and not weeks after, when you don't
expect it.

So I'd say: you don't need to reboot right away, but schedule a reboot
at some convenient time "soonish".

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlX1bGMACgkQBcgs9XrR2kYHwwCfZkE4peTbQrOZz8cd90nMyiSB
BxsAnAgWKBCkMREsYz9jDo3B0KOVhWnq
=fIu9
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#157876

FromChris Bannister <cbannister@slingshot.co.nz>
Date2015-09-14 15:10 +0200
Message-ID<q8BGc-75S-69@gated-at.bofh.it>
In reply to#157823
On Sun, Sep 13, 2015 at 11:12:42AM +0300, Jarle Aase wrote:
> On 09/13/2015 10:57 AM, Himanshu Shekhar wrote:
> > I just want to make sure again. How can one upgrade from one
> > version of Debian to other without losing data or without
> > formatiing the partition, simply as Ubuntu does. An earlier mail in
> > this mailing list stated to reboot from iso image and install in
> > the same old traditional way. This Facebook post states something
> > else, and I couldn't make sure what to do without bricking up my
> > hard configured system. 
> > https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/

> I usually do is to update /etc/apt/sources to the version I want

I think 'edit /etc/apt/sources' is a less ambiguous. I would add that
before editing /etc/apt/sources, I would make sure the current version
is up to date first.

> to upgrade to. Then I log out from X and log on to the console.
> 
> # apt-get update
> # apt-get upgrade
> # apt-get dist-upgrade

-- 
"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

[toc] | [prev] | [next] | [standalone]


#157877

FromLisi Reisz <lisi.reisz@gmail.com>
Date2015-09-14 15:20 +0200
Message-ID<q8BPP-7hh-1@gated-at.bofh.it>
In reply to#157876
On Monday 14 September 2015 14:01:48 Chris Bannister wrote:
> On Sun, Sep 13, 2015 at 11:12:42AM +0300, Jarle Aase wrote:
> > On 09/13/2015 10:57 AM, Himanshu Shekhar wrote:
> > > I just want to make sure again. How can one upgrade from one
> > > version of Debian to other without losing data or without
> > > formatiing the partition, simply as Ubuntu does. An earlier mail in
> > > this mailing list stated to reboot from iso image and install in
> > > the same old traditional way. This Facebook post states something
> > > else, and I couldn't make sure what to do without bricking up my
> > > hard configured system.
> > > https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663
> > >977/
> >
> > I usually do is to update /etc/apt/sources to the version I want
>
> I think 'edit /etc/apt/sources' is a less ambiguous. I would add that
> before editing /etc/apt/sources, I would make sure the current version
> is up to date first.

Same here.  Always fully upgrade what you have already, before attempting to 
upgrade to a new version.  Then edit your sources.list, re-consult the 
release notes, and upgrade following the instructions.

But in this particular case he doesn't want to upgrade in that sense.  He just 
needs to update his system, which because of the timing will go from 8.1 to 
8.2.  So he doesn't need to do anything special.  I have met Ubuntu users 
having problems with point releases before.  I don't know why.

Lisi

>> > to upgrade to. Then I log out from X and log on to the console.
> >
> > # apt-get update
> > # apt-get upgrade
> > # apt-get dist-upgrade

[toc] | [prev] | [next] | [standalone]


#157824

FromDiogene Laerce <me_buss777@yahoo.fr>
Date2015-09-13 10:20 +0200
Message-ID<q8aFY-217-5@gated-at.bofh.it>
In reply to#157822

[Multipart message — attachments visible in raw view] — view raw

Hi,

Le 13/09/2015 09:57, Himanshu Shekhar a écrit :
> I just want to make sure again. How can one upgrade from one version
> of Debian to other without losing data or without formatiing the
> partition, simply as Ubuntu does.

I think you're looking for this :

https://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en.html

Good luck,

-- 
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”

                                              Diogene Laerce


[toc] | [prev] | [next] | [standalone]


#157829

FromLisi Reisz <lisi.reisz@gmail.com>
Date2015-09-13 12:50 +0200
Message-ID<q8d17-5eu-1@gated-at.bofh.it>
In reply to#157822
On Sunday 13 September 2015 08:57:49 Himanshu Shekhar wrote:
> I just want to make sure again. How can one upgrade from one version of
> Debian to other without losing data or without formatiing the partition,
> simply as Ubuntu does.

We don't know Ubuntu.  Don't expect us to give you instructions in terms of 
Ubuntu.

You are being very unclear what you want to do.  From 8.1 to 8.2 is a normal 
routine upgrade.  It is not a version change.  Earlier you said that you 
wanted to go from 6 to 8.  That is totally different.  

And are you trying to do this without access to the internet??  

You seem to be trying to do several different things.  Which do you want to 
do?

> An earlier mail in this mailing list stated to reboot from iso image and
> install in the same old traditional way.

For a version upgrade (and 8.1 to 8.2 is not a version upgrade) many people 
prefer to do this.  Many have successfully upgraded through many versions 
without reinstalling.

> This Facebook post states something else, and I couldn't make sure what to
> do without bricking up my hard configured system.
> https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/

If you can't be clear what you are trying to do you are certainly likely to 
brick your system one way or another.

But whatever you do, keep good backups.  Then it won't matter if you do brick 
your system.

So, to summarise:
What *exactly* are you trying to do?
What are you trying do it to?  (Machine specs, what have you now etc.)
What facilities have you got?

And there is no rule book.  This is Debian not Ubuntu.  You may - indeed will, 
if you get any at all - get different advice.  We don't all agree with each 
other. ;-)

Lisi

[toc] | [prev] | [next] | [standalone]


#157834

FromPatrick Bartek <nemommxiv@gmail.com>
Date2015-09-13 17:20 +0200
Message-ID<q8hep-2Xi-1@gated-at.bofh.it>
In reply to#157822
On Sun, 13 Sep 2015, Himanshu Shekhar wrote:

> I just want to make sure again. How can one upgrade from one version
> of Debian to other without losing data or without formatiing the
> partition, simply as Ubuntu does.
> An earlier mail in this mailing list stated to reboot from iso image
> and install in the same old traditional way.
> This Facebook post states something else, and I couldn't make sure
> what to do without bricking up my hard configured system.
> https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/

I always found it best to follow Debian's instructions in the Release
Notes and/or Installation Instructions of the version you want to
upgrade to. AND back up your data before doing anything..

Many times, there's more involved than just simply apt-get update,
apt-get upgrade, etc.

B

[toc] | [prev] | [next] | [standalone]


#157840

FromLisi Reisz <lisi.reisz@gmail.com>
Date2015-09-13 18:10 +0200
Message-ID<q8i0O-46R-3@gated-at.bofh.it>
In reply to#157834
On Sunday 13 September 2015 16:13:19 Patrick Bartek wrote:
> On Sun, 13 Sep 2015, Himanshu Shekhar wrote:
> > I just want to make sure again. How can one upgrade from one version
> > of Debian to other without losing data or without formatiing the
> > partition, simply as Ubuntu does.
> > An earlier mail in this mailing list stated to reboot from iso image
> > and install in the same old traditional way.
> > This Facebook post states something else, and I couldn't make sure
> > what to do without bricking up my hard configured system.
> > https://www.facebook.com/groups/lifewithdebian/permalink/1015314994166397
> >7/
>
> I always found it best to follow Debian's instructions in the Release
> Notes and/or Installation Instructions of the version you want to
> upgrade to. AND back up your data before doing anything..
>
> Many times, there's more involved than just simply apt-get update,
> apt-get upgrade, etc.
>
> B

He doesn't want to upgrade from one version to another.  He just wants to do a 
normal upgrade in Jessie, that because of where we are now, and when he last 
upgraded, will take it from 8.1 to 8.2.

Lisi

[toc] | [prev] | [next] | [standalone]


#157866

FromPatrick Bartek <nemommxiv@gmail.com>
Date2015-09-14 06:10 +0200
Message-ID<q8tfz-3oy-9@gated-at.bofh.it>
In reply to#157840
On Sun, 13 Sep 2015, Lisi Reisz wrote:

> On Sunday 13 September 2015 16:13:19 Patrick Bartek wrote:
> > On Sun, 13 Sep 2015, Himanshu Shekhar wrote:
> > > I just want to make sure again. How can one upgrade from one
> > > version of Debian to other without losing data or without
> > > formatiing the partition, simply as Ubuntu does.
> > > An earlier mail in this mailing list stated to reboot from iso
> > > image and install in the same old traditional way.
> > > This Facebook post states something else, and I couldn't make sure
> > > what to do without bricking up my hard configured system.
> > > https://www.facebook.com/groups/lifewithdebian/permalink/1015314994166397
> > >7/
> >
> > I always found it best to follow Debian's instructions in the
> > Release Notes and/or Installation Instructions of the version you
> > want to upgrade to. AND back up your data before doing anything..
> >
> > Many times, there's more involved than just simply apt-get update,
> > apt-get upgrade, etc.
> >
> > B
> 
> He doesn't want to upgrade from one version to another.  He just
> wants to do a normal upgrade in Jessie, that because of where we are
> now, and when he last upgraded, will take it from 8.1 to 8.2.

Oh.  But that's what he said.  Others seemed to misunderstand, too.  In
any case, if he had read the instructions . . .

What is it with people and instructions?

B

[toc] | [prev] | [next] | [standalone]


#157875

FromLisi Reisz <lisi.reisz@gmail.com>
Date2015-09-14 11:40 +0200
Message-ID<q8yoW-2gE-7@gated-at.bofh.it>
In reply to#157866
On Monday 14 September 2015 05:00:01 Patrick Bartek wrote:
> On Sun, 13 Sep 2015, Lisi Reisz wrote:
> > On Sunday 13 September 2015 16:13:19 Patrick Bartek wrote:
> > > On Sun, 13 Sep 2015, Himanshu Shekhar wrote:
> > > > I just want to make sure again. How can one upgrade from one
> > > > version of Debian to other without losing data or without
> > > > formatiing the partition, simply as Ubuntu does.

> > >
> > > I always found it best to follow Debian's instructions in the
> > > Release Notes and/or Installation Instructions of the version you
> > > want to upgrade to. AND back up your data before doing anything..
> > >
> > > Many times, there's more involved than just simply apt-get update,
> > > apt-get upgrade, etc.
> > >
> > > B
> >
> > He doesn't want to upgrade from one version to another.  He just
> > wants to do a normal upgrade in Jessie, that because of where we are
> > now, and when he last upgraded, will take it from 8.1 to 8.2.
>
> Oh.  But that's what he said.  Others seemed to misunderstand, too.  In
> any case, if he had read the instructions . . .
>
> What is it with people and instructions?

I know.  It took me a while to work out what he actually wanted with all the 
drama. ;-)  People who come from Ubuntu don't understand about point 
releases.  Since I don't know Ubuntu, I don't know what it is that they are 
thinking of.

Lisi

[toc] | [prev] | [next] | [standalone]


#157882

FromPatrick Bartek <nemommxiv@gmail.com>
Date2015-09-14 18:20 +0200
Message-ID<q8EE2-2St-13@gated-at.bofh.it>
In reply to#157875
On Mon, 14 Sep 2015, Lisi Reisz wrote:

> On Monday 14 September 2015 05:00:01 Patrick Bartek wrote:
> > On Sun, 13 Sep 2015, Lisi Reisz wrote:
> > > On Sunday 13 September 2015 16:13:19 Patrick Bartek wrote:
> > > > On Sun, 13 Sep 2015, Himanshu Shekhar wrote:
> > > > > I just want to make sure again. How can one upgrade from one
> > > > > version of Debian to other without losing data or without
> > > > > formatiing the partition, simply as Ubuntu does.
> 
> > > >
> > > > I always found it best to follow Debian's instructions in the
> > > > Release Notes and/or Installation Instructions of the version
> > > > you want to upgrade to. AND back up your data before doing
> > > > anything..
> > > >
> > > > Many times, there's more involved than just simply apt-get
> > > > update, apt-get upgrade, etc.
> > > >
> > > > B
> > >
> > > He doesn't want to upgrade from one version to another.  He just
> > > wants to do a normal upgrade in Jessie, that because of where we
> > > are now, and when he last upgraded, will take it from 8.1 to 8.2.
> >
> > Oh.  But that's what he said.  Others seemed to misunderstand,
> > too.  In any case, if he had read the instructions . . .
> >
> > What is it with people and instructions?
> 
> I know.  It took me a while to work out what he actually wanted with
> all the drama. ;-)  People who come from Ubuntu don't understand
> about point releases.  Since I don't know Ubuntu, I don't know what
> it is that they are thinking of.

Different terminology.  With most distros "update" means what
"upgrade" does with Debian.  And "upgrade" means "dist-upgrade."

Yes, Ubuntu is a different beast.   The only experience I have with
it is from its debut release years ago. Hated it so much, I uninstalled
it a week later and never tried it again.  I don't know why people love
it so much.  To each, his own, I guess.

B

[toc] | [prev] | [next] | [standalone]


#157898

FromSeeker <seeker5528@comcast.net>
Date2015-09-15 08:40 +0200
Message-ID<q8S4h-5fx-3@gated-at.bofh.it>
In reply to#157875

On 9/14/2015 2:33 AM, Lisi Reisz wrote:
> I know.  It took me a while to work out what he actually wanted with all the
> drama. ;-)  People who come from Ubuntu don't understand about point
> releases.  Since I don't know Ubuntu, I don't know what it is that they are
> thinking of.
>
> Lisi
>

I do run Ubuntu LTS on a machine at my work place and I don't know what 
the thinking is
either. :-\

If there is an actual new release the update manager tells you about it 
and gives you the
option to upgrade, no mucking about with sources.list files, ISOs, etc...
After the upgrade you then have to go through any *.list files in 
'/etc/apt/sources.list.d/'
if you have any to re-enable them and make sure they point where they 
need do.
Not sure what happens if you have unofficial stuff in your sources.list 
instead of in placing
them in their own *.list files.

Personally I prefer editing my *.list files and pulling in smaller 
batches of updates.

For point releases, if you keep up with the updates you probably have 
most of it by the
time install images are made available anyway so just keep doing updates 
the same way
no reason to re-install.

There is a possibility of some driver/init related stuff being a little 
different in a re-install
compared to just doing the normal update, but the odds of noticing the 
difference is pretty
small so.... If it ain't broke, don't fix it.

In the general sense, more or less the same as it is with Debian.:-)

Later, Seeker

[toc] | [prev] | [next] | [standalone]


#157880

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2015-09-14 16:50 +0200
Message-ID<q8DeW-Je-25@gated-at.bofh.it>
In reply to#157822
Quoting Himanshu Shekhar (irm2015006@iiita.ac.in):
> I just want to make sure again. How can one upgrade from one version of Debian
> to other without losing data or without formatiing the partition, simply as
> Ubuntu does.

The more times you ask, the more different answers you will receive.
At some point you have to dive in and do it, just as you yourself
have encouraged others to do (probably unwisely in that case):
https://lists.debian.org/debian-user/2015/09/msg00464.html

> An earlier mail in this mailing list stated to reboot from iso image and
> install in the same old traditional way.

I'm not sure what you mean by "old traditional way", particularly as
you have muddied the waters by bringing up Ubuntu. But, at face value,
that doesn't sound like an upgrade but more like a reinstallation.
Not knowing which thread you were referring to, I can't comment further.

> This Facebook post states something else, and I couldn't make sure what to do
> without bricking up my hard configured system.

I'm not sure what you mean by "bricking". If you follow the
instructions on the Debian website, you won't go far wrong.
If/when you do, you'll learn something, and by all means post specific
questions here if you need help.

> https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/

Sorry, but I've no idea what I'm meant to see at that address.

The upshot is to try doing it, rather than asking for people here to
post what's already amply documented on Debian.

Cheers,
David.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web