[Bug 1992472] Re: APT hooks do not respect the -q option

Lukas Märdian 1992472 at bugs.launchpad.net
Thu Oct 13 15:21:03 UTC 2022


** Tags removed: foundations-triage-discuss

-- 
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/1992472

Title:
  APT hooks do not respect the -q option

Status in apt package in Ubuntu:
  Triaged

Bug description:
  ubuntu-advantage-tools recently used an APT Cli hook
  (AptCli::Hooks::Upgrade) to add a message to the output. We were asked
  in https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-
  tools/+bug/1992026/comments/9 to honor the -q (-qq, -qqq) option of
  APT upgrade, and hide the output.

  However, the hook does not expose this option, so there is nothing we
  can do from our side.

  APT could either treat those messages based on the "quietness" defined
  when running the command, or expose the flag somehow so we could
  configure our message to respect it.

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




More information about the foundations-bugs mailing list