This bug was fixed in the package ubuntu-advantage-tools - 35.1ubuntu0~20.04
--------------- ubuntu-advantage-tools (35.1ubuntu0~20.04) focal; urgency=medium * Backport 35.1ubuntu0 to focal (LP: #2106660) ubuntu-advantage-tools (35.1ubuntu0) plucky; urgency=medium * apt: support ESM snapshots by adding snapshot URLs for ESM repositories to the authentication file (released in version 35) * lxd: store the configuration in /var/lib/ubuntu-advantage instead of /var/lib/ubuntu-pro (LP: #2106660) ubuntu-advantage-tools (35) plucky; urgency=medium * d/tests/usage: add more scenarios to dep8 tests * d/control: drop strict dependency on python3-pkg-resources (LP: #2083665) * d/rules: add conditional python3-pkg-resources dependency up to noble * d/ubuntu-pro-client.postrm: remove /var/lib/ubuntu-pro cache dir on purge * New upstream release 35: (LP: #2083973) - api: + new endpoints: * u.pro.attach.guest.get_guest_token.v1: Get the Pro client guest token * u.pro.security.cves.v1: List the fixable CVEs that affect the system + u.pro.packages.updates.v1: create new package status: upgrade_available_not_preferred (GH: #3184) + fixes for u.unattended_upgrades.status.v1: * do not crash when a Unattended-Upgrade config is missing * do not report unattended-upgrade disabled if any config is false * report missing Unattended-Upgrade configs as turned off - apt: + always ensure the ESM cache is present (GH: #3132) + fix permission warning when fetching apt-news (GH: #3209, LP: #2070095) + update logging for apt errors (GH: #3299) + only run the apt upgrade hook when run as root (LP: #2084677) - auto-attach: + aws: skip operation if no product codes found + gcp: add minimal image license codes - cli: + add support for vulnerability commands: * pro cves: List cves in the machine * pro cve: Show information about a specific cve + deduplicate entries in 'pro help' output (LP: #2091327) - config: add option lxd_guest_attach to control LXD integration with Pro - contract: + check onlySeries on reboot (GH: #3189) + collect cpu type for activity info - landscape: + update message if service not available through Pro (GH: #3331) - livepatch: do not enable livepatch on wsl (GH: #3156) - lxd: allow pro auto-attach to work on a LXD container ubuntu-advantage-tools (34.1.3) plucky; urgency=medium * apt-hook: set C++ standards version to c++17 for APT 2.9.30 compatibility (LP: #2098862) * tests: remove argparse error tests from unit tests (LP: #2098862) ubuntu-advantage-tools (34.1.2build1) plucky; urgency=high * No change rebuild against libapt-pkg7.0. ubuntu-advantage-tools (34.1.2) oracular; urgency=medium * check-versions-are-consistent.py: fix regexp to cope with X.Y.Z version formats * version.py: bump to 34.1.2 ubuntu-advantage-tools (34.1.1) oracular; urgency=medium * Bump version.py. ubuntu-advantage-tools (34.1) oracular; urgency=medium * Drop direct dependency on python3-pkg-resources to resolve priority mismatch (LP: #2083665) -- Renan Rodrigo <renanrodr...@canonical.com> Thu, 10 Apr 2025 10:38:36 -0300 ** Changed in: ubuntu-advantage-tools (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/2091327 Title: duplicated lines in help output Status in ubuntu-advantage-tools package in Ubuntu: Fix Released Status in ubuntu-advantage-tools source package in Xenial: Fix Released Status in ubuntu-advantage-tools source package in Bionic: Fix Released Status in ubuntu-advantage-tools source package in Focal: Fix Released Status in ubuntu-advantage-tools source package in Jammy: Fix Released Status in ubuntu-advantage-tools source package in Noble: Fix Released Status in ubuntu-advantage-tools source package in Oracular: Fix Released Bug description: [ Impact ] Due to an implementation detail, the output of `pro help` appears duplicate. All information is there, but the entries are being added to the output twice before it's printed. The solution is a tweak to the code to check if an entry was already considered before adding it to the output again. [ Test Plan ] This is covered by the Pro Client acceptance tests, which will be executed as part of the validation of LP#2083973 [ Where problems could occur ] Implementation errors like this, when not properly fixed, could lead to more noise in the `pro help` output. We added the integration test there to make sure the output is shown as expected. [ Original Description ] Hello, the output of `pro help` duplicates a lot of the lines: $ pro help usage: pro [-h] [--debug] [--version] <command> ... Quick start commands: status current status of all Ubuntu Pro services status current status of all Ubuntu Pro services attach attach this machine to an Ubuntu Pro subscription attach attach this machine to an Ubuntu Pro subscription enable enable a specific Ubuntu Pro service on this machine enable enable a specific Ubuntu Pro service on this machine system show system information related to Pro services system show system information related to Pro services security-status list available security updates for the system security-status list available security updates for the system Security-related commands: fix check for and mitigate the impact of a CVE/USN on this system fix check for and mitigate the impact of a CVE/USN on this system Troubleshooting-related commands: collect-logs collect Pro logs and debug information collect-logs collect Pro logs and debug information Other commands: api Calls the Client API endpoints. auto-attach automatically attach on supported platforms config manage Ubuntu Pro configuration on this machine detach remove this machine from an Ubuntu Pro subscription disable disable a specific Ubuntu Pro service on this machine refresh refresh Ubuntu Pro services api Calls the Client API endpoints. auto-attach automatically attach on supported platforms config manage Ubuntu Pro configuration on this machine detach remove this machine from an Ubuntu Pro subscription disable disable a specific Ubuntu Pro service on this machine refresh refresh Ubuntu Pro services Flags: -h, --help Displays help on pro and command line options --debug show all debug log messages to console --version show version of pro -h, --help Displays help on pro and command line options --debug show all debug log messages to console --version show version of pro Use pro <command> --help for more information about a command. Thanks ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-pro-client 34~20.04 ProcVersionSignature: Ubuntu 5.4.0-200.220-generic 5.4.284 Uname: Linux 5.4.0-200-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu27.27 Architecture: amd64 CasperMD5CheckResult: skip Date: Mon Dec 9 23:57:37 2024 SourcePackage: ubuntu-advantage-tools UpgradeStatus: Upgraded to focal on 2020-01-24 (1781 days ago) apparmor_logs.txt: cloud-id.txt-error: Invalid command specified 'cloud-id'. jobs-status.json: {"metering": {"last_run": "2024-12-09T19:38:47.627652+00:00", "next_run": "2024-12-09T23:38:47.627652+00:00"}, "update_messaging": {"last_run": "2024-12-09T19:38:47.627652+00:00", "next_run": "2024-12-10T01:38:47.627652+00:00"}, "validate_release_series": {"last_run": "2024-12-09T13:12:51+00:00", "next_run": "2024-12-10T13:12:51+00:00"}} mtime.conffile..etc.logrotate.d.ubuntu-pro-client: 2022-04-18T17:07:59.892148 uaclient.conf: contract_url: https://contracts.canonical.com log_level: debug ubuntu-advantage.log: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2091327/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp