← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1994480] Re: Enabling esm-apps fails due to wrong package version installed

 

This bug was fixed in the package ubuntu-advantage-tools -
27.13.1~22.10.1

---------------
ubuntu-advantage-tools (27.13.1~22.10.1) kinetic; urgency=medium

  * Backport new upstream release: (LP: #2003018) to kinetic

ubuntu-advantage-tools (27.13.1~23.04.1) lunar; urgency=medium

  * apt: better isolate apt esm cache by only fetching necessary
    configuration from the system apt

ubuntu-advantage-tools (27.13~23.04.1) lunar; urgency=medium

  * d/bash-completion:
    - enable autocomplete for the 'pro' command (GH: #2280)
  * d/control:
    - update the package description
  * d/postinst:
    - remove unauthenticated esm repos from Xenial systems (LP: #1990378)
  * New upstream release 27.13 (LP: #2003018)
    - apt:
      + remove logic which added repositories and pinned them to 'never' to
        enable access to esm package lists
      + add functionality to create and update a local apt esm cache with
        the lists for esm-infra and esm-apps
    - apt-hook: update the cpp hook to use the local esm apt cache
    - apt-news:
      + fetch and display APT News in apt upgrade
      + show contract expiration notices in the apt news output
    - attach: support attaching without being able to install snapd
      (LP: #1997514)
    - cli:
      + do not show invalid subcommands in autocomplete (GH: #2279)
      + add support for attaching through the web portal, without a token
    - config: add apt_news_url option
    - docs: reorganize documentation and correct information
    - esm-apps: release the service as GA
    - jobs:
      + remove the update_status job
      + remove unused job which checks for the system EOL
    - messaging: do not fail if the apt-hook executable is not present
      (LP: #1994480)
    - motd: announce esm-apps as GA
    - security-status:
      + use the local esm cache to report updates when the services are
        disabled
      + redesign output to properly show support (LP: #2002407)
    - services: add new service to update the local esm caches
    - ros: release the service as GA
    - bug fixes:
      + report reboot_required even if 'livepatch status' fails
      + do not create unexpected environment variables when the autocomplete
        script runs
      + contract requests do not cause 'pro status' to fail
      + remove auto-attach motd message if any failure happens
      + log when 'cloud-id' fails
      + always honor the metering job timer config
      + write files atomically

 -- Lucas Moura <lucas.moura@xxxxxxxxxxxxx>  Mon, 23 Jan 2023 12:28:56
-0300

** Changed in: ubuntu-advantage-tools (Ubuntu Kinetic)
       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/1994480

Title:
  Enabling esm-apps fails due to wrong package version installed

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 Kinetic:
  Fix Released

Bug description:
  [Impact]
  This bug is about an installation which has a non-LTS version of ubuntu-advantage-tools in a LTS release.

  For non-LTS versions, we do not ship the esm apt hooks, because they
  are never needed unless you want the package counts for esm, which are
  only available for LTS.

  Thus, the hook executable is missing, and raising an error. This is
  reproducible in an LTS version as well, just by deleting the esm hook
  executable.

  The fix involves only being defensive, checking for the existence of
  the executable before trying to run it.

  [Test Case]
  - On an attached LTS system, delete /usr/lib/ubuntu-advantage/apt-esm-hook
  - try to enable esm-apps
  - see the failure happen
  - install ubuntu-advantage-tools >= 27.13
  - delete /usr/lib/ubuntu-advantage/apt-esm-hook again
  - try to enable esm-apps
  - see that it does not fail

  
  [Regression Potential]
  Since the fix makes it safer, there is no immediate regression potential for this.

  [Original Description]
  idk

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-advantage-tools 27.11.2~22.10.1
  ProcVersionSignature: Ubuntu 5.15.0-53.59-generic 5.15.64
  Uname: Linux 5.15.0-53-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Oct 26 01:55:34 2022
  InstallationDate: Installed on 2022-10-23 (2 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-advantage-tools
  UpgradeStatus: Upgraded to jammy on 2022-10-26 (0 days ago)
  cloud-id.txt-error: Invalid command specified 'cloud-id'.
  jobs-status.json: {"update_messaging": {"last_run": "2022-10-26T02:00:53+00:00", "next_run": "2022-10-26T08:00:53+00:00"}, "update_status": {"last_run": "2022-10-26T02:00:53+00:00", "next_run": "2022-10-26T14:00:53+00:00"}, "metering": {"last_run": "2022-10-26T02:00:53+00:00", "next_run": "2022-10-26T06:00:53+00:00"}}
  ubuntu-advantage-timer.log:
   2022-10-23 12:19:15,962 - timer.py:(46) [DEBUG]: Executed job: update_messaging
   2022-10-23 12:19:15,962 - timer.py:(46) [DEBUG]: Executed job: update_status
   2022-10-23 19:39:28,049 - timer.py:(46) [DEBUG]: Executed job: update_messaging
   2022-10-25 22:00:53,721 - timer.py:(46) [DEBUG]: Executed job: update_messaging
   2022-10-25 22:00:53,725 - timer.py:(46) [DEBUG]: Executed job: update_status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1994480/+subscriptions