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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709603

Title:
  apt {upgrade,install, source} require an update call first

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1709603/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to