APT hooks do not respect the -q option

Bug #1992472 reported by Renan Rodrigo
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Triaged
Low
Unassigned

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.

Lukas Märdian (slyon)
Changed in apt (Ubuntu):
status: New → Triaged
importance: Undecided → Low
tags: added: foundations-triage-discuss
Lukas Märdian (slyon)
tags: removed: foundations-triage-discuss
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.