Is it possible to set the sources.list file to automatically have the latest stable version of the operating system, like in Debian when you set "stable"?
- 72,312
- 21
2 Answers
No, Ubuntu does not have a comparable repository to Debian/stable.
The term 'stable' has two meanings:
Debian's 'stable' means that the software is older, has had more time to get debugged, and is less likely to crash.
Ubuntu's 'stable' (used in LTS) means that the software won't change, so it won't break your workflow. It does NOT mean 'less likely to crash'...though several years into an LTS cycle that is also true.
Ubuntu does NOT maintain testing/unstable/stable pockets that you can use in your sources.list. Those are Debian-only. Ubuntu users are expected to release-upgrade either every six months (standard release) or two years (LTS release). The system will not initiate a release-upgrade for you.
- 68,493
I don't remember if is my fault but in my configuration I had "xenial" setted so was forced to remain at latest LTS, now I setted cosmic. Like below:
deb http://it.archive.ubuntu.com/ubuntu/ cosmic main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ cosmic main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu cosmic-security main universe restricted multiverse
deb-src http://security.ubuntu.com/ubuntu cosmic-security main universe restricted multiverse
deb http://it.archive.ubuntu.com/ubuntu/ cosmic-updates main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ cosmic-updates main universe restricted multiverse
This is linked to "cosmic" so when will arrive the next version I will have to change the source file to the "d*" version of Ubuntu. I want to avoid this future edit of the file.
- 18,154
- 21