[Bug 281232] Re: apt-get dist-upgrade shouldn't run when asked to upgrade between two releases
Jean-Baptiste Lallement
281232 at bugs.launchpad.net
Thu May 9 13:15:12 UTC 2024
I'd like to reopen this issue. 16 years later, there are still plenty of
*informed* users who change their sources.list, run a dist-upgrade to
upgrade the release, and break their system. They then come to the
desktop team asking for help to rescue their broken system.
Even if we don't block them completely, apt should display a bit fat
warning informing the users that what they are going to do is definitely
not recommended, are they sure they want to proceed with the dist-
upgrade.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/281232
Title:
apt-get dist-upgrade shouldn't run when asked to upgrade between two
releases
Status in apt package in Ubuntu:
Invalid
Bug description:
Binary package hint: apt
apt-get dist-upgrade is not a supported upgrade path for upgrading
from one release to another (e.g. hardy to intrepid). However, I see
a lot of people who a) don't realise it's not a supported upgrade path
(for various reasons) and b) don't even realise do-release-upgrade
exists.
I think it'd be really useful to alter apt to check to see whether the
dist-upgrade it's being asked to do is across releases and refuse to
run if it is (or at least require confirmation like removing essential
packages does) and suggest the user use do-release-upgrade instead.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/281232/+subscriptions
More information about the foundations-bugs
mailing list