Public bug reported:

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.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  New

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to