Wrong command "apt dist-upgrade" on "Upgrading" documentation

Bug #1874196 reported by Shuuji Takahashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
Invalid
Undecided
Unassigned

Bug Description

## What

This is a bug report for the documentation article "Upgrading" (https://help.ubuntu.com/lts/serverguide/installing-upgrading.html). This page describes the command "apt dist-upgrade" as the command for the distribution upgrading. But there is no such a command. Instead, there exist two commands: "apt-get dist-upgrade" and "apt full-upgrade".

## What to Do

I think the both command ("apt-get dist-upgrade" and "apt full-upgrade") should be presented on the documentation so that as many users as possible understand.

Revision history for this message
Doug Smythies (dsmythies) wrote :

No, it describes "apt dist-upgrade" as an alternative, and not recommended method.
And it does work, as far as I know.

we specifically changed all "apt-get"s in the serverguide to apt a long time ago.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This is fixed/changed in the new server guide. The Upgrade part is at https://discourse.ubuntu.com/t/upgrade-introduction/11576

And the installation is at https://discourse.ubuntu.com/t/installation/11320

That being said, the "apt dist-upgrade" command does exist in xenial onwards, including bionic. Where have you seen that it doesn't work?

Changed in serverguide:
status: New → Incomplete
Revision history for this message
Shuuji Takahashi (shuuji3) wrote :

You are right. "apt dist-upgrade" worked collectively xenial onwards.

I misunderstood that there is no "dist-upgrade" subcommand in apt
from only reading the help and the manpage of apt(8).

I'll create the next bug report after verifying the reproduction.
I'm sorry for bothering you. Please close this report.

Thank you.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Don't worry, and thanks for getting back to us.

Changed in serverguide:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.