Comment 3 for bug 1709603

Revision history for this message
Murukesh Mohanan (murukesh) wrote :

Alternate:

- a `-u`/`--update` option that unconditionally performs an apt update as an option to apt itself, since every subcommand except `update` and `edit-sources` can potentially benefit from an `update` beforehand. For `edit-sources`, have it update after instead of before, and for `update`, the option can be a NOP.

I'd love to be able to do something like:

    apt full-upgrade --autoremove --update

I can do `apt full-upgrade --autoremove` now, removing obsolete packages and upgrading in one shot. It'd be glorious to include the package lists update in that operation too.