If any of the lines in your /etc/apt/sources.list refer to 'stable', you might get a surprise on your next upgrade!

· feed2toot · 2 · 19 · 25

I have the following repo set up:

deb stretch main non-free contrib

deb-src stretch main non-free contrib"

Will I still be able to get the latest upgrade?

#Debian #Linux #FOSS


No, and that is by design. The name is meant to pin down the distribution and avoid upgrades.

Thanks for your response. Can I simply add the stable repo to my list, or would I have to update manually?

@squire Just replace "stretch" with "stable" and it will always keep up-to-date with future releases as you run "apt-get update && apt-get upgrade"

@squire @debian You are able to get the latest upgrade if you change that list with s/stretch/buster/, as described in the relase notes, specifically at… (the release notes are still WiP, but I don't expect that specific bit to change)

@valhalla Thanks. I found out more about this after some research.

@squire @debian No, it's saying 'stretch' meaning u have to manually replace 'stretch' with 'buster'. personally I find it better to just use codename releases to upgrade.

@r00tobo Is there generally a good time to move up a release? I'm happy with Stretch but don't know how long I should stick with it if there's a newer release. Any suggestions appreciated.

@squire Not really, I would wait till next year until Stretch is handled to the LTS team. then upgrade. usually any official release of Debian gets 3 years of support + 2 years from the LTS team later on. that being said, if u are a Desktop user, I would switch to the newer version after 1 month at least. if u are running Debian on a server, then it doesn't really matter that much.

you can get the upgrade at any time if you change "stretch" to "buster" in your apt sources but it's strongly recommended to read the release notes to know the details and if you need to do additional steps in your systems
And of course, backups are always recommended prior to any change :-)

What do I need to do so I can upgrade right after the release?

@debian @FredRwema Better though is to set them to "buster" after the release, so you don't get a surprise upgrade when the next release comes out, and instead choose yourself when you are ready to do it.
Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.