package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

Bug #1930121 reported by Peter Helenefors
194
This bug affects 49 people
Affects Status Importance Assigned to Milestone
ubuntu-advantage-tools (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
Hirsute
Fix Released
Undecided
Unassigned
Impish
Fix Released
Undecided
Unassigned

Bug Description

Did a release upgrade to 20.04 LTS from 18

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: ubuntu-advantage-tools 27.0.2~18.04.1
ProcVersionSignature: Ubuntu 4.15.0-143.147-generic 4.15.18
Uname: Linux 4.15.0-143-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.24
Architecture: amd64
Date: Sat May 29 07:05:08 2021
ErrorMessage: installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2017-12-14 (1261 days ago)
InstallationMedia: Ubuntu-Server 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Python3Details: /usr/local/bin/python3.9, Python 3.9.4, unpackaged
PythonDetails: /usr/local/bin/python3.9, Python 3.9.4, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.3
 apt 1.6.13
SourcePackage: ubuntu-advantage-tools
Title: package ubuntu-advantage-tools 27.0.2~18.04.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2021-05-29 (0 days ago)

Revision history for this message
Peter Helenefors (peterhel) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Hello,

Thanks for taking the time to file the bug and help make Ubuntu server better.

From your logs:
> Setting up ubuntu-advantage-tools (27.0.2~18.04.1) ...
> Traceback (most recent call last):
> File "<string>", line 2, in <module>
> ModuleNotFoundError: No module named 'uaclient'

Unfortunately, I can't seem to reproduce this in a fresh Bionic container. I can even "import uaclient" and it all seems OK. I wonder if it's due to a local issue or something. Also, interestingly, you say you did a release upgrade to 20.04? But the package version shows Bionic. I am not sure how's that? Did you set anything up manually, et al?

Can you reproduce this in a container or a VM as well? Let me know if you do and please also post the steps to reproduce. Thanks!

Changed in ubuntu-advantage-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

Hi I noticed something and thought to chime in.

It appears this may involve a non-standard python installation: Python 3.9 is not in the archives for Bionic of Focal AFAIK. And python3.9 is installed in /usr/local/bin which is not the normal installation location. It is the location that python is installed when building from source and running `make altinstall`.

I was able to reproduce this issue by building python3.9 from source on bionic and installing with `make altinstall`. By default it doesn't appear that /usr/lib/python3/dist-packages is added to the python path.

So the quick fix is hopefully to just set PYTHONPATH=/usr/lib/python3/dist-packages. To test, try running
PYTHONPATH=/usr/lib/python3/dist-packages python3
and then try to `import uaclient` in the python shell.

There may be a way for us to handle this situation in the ubuntu-advantage-tools package as well.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Tanks Grant for spotting this!
Thereby I'll set this one to confirmed (while it isn't an issue of the PKG in the archive you said we might be able to help with it still).

We have three more bugs that might be the same, but their report didn't include the python3 details that made you spot it here. I've asked on those bugs to check and making them a dup of this one here if they indeed have custom python3 on the systems:
 - bug 1927348
 - bug 1927905
 - bug 1934077

summary: - package ubuntu-advantage-tools 27.0.2~18.04.1 failed to install/upgrade:
- installed ubuntu-advantage-tools package post-installation script
- subprocess returned error exit status 1
+ package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No
+ module named 'uaclient'
Changed in ubuntu-advantage-tools (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
H Geerts (hgeerts) wrote :

This bug can also be triggered if the user has a virtual python env active. The post install script uses the python version from the callers environment instead of the system version for which ubuntu-advantage-tools was installed. I think it would be safe to hardcode the python bin path in the post install script since it is built for that version only.

# python -m venv test
# . test/bin/activate
(test) # apt install --force-reinstall=true ubuntu-advantage-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/686 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 130029 files and directories currently installed.)
Preparing to unpack .../ubuntu-advantage-tools_27.2.2~18.04.1_amd64.deb ...
Unpacking ubuntu-advantage-tools (27.2.2~18.04.1) over (27.2.2~18.04.1) ...
Setting up ubuntu-advantage-tools (27.2.2~18.04.1) ...
Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'uaclient'
dpkg: error processing package ubuntu-advantage-tools (--configure):
 installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Errors were encountered while processing:
 ubuntu-advantage-tools

E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Fagner (fagner128) wrote :

Hello, I set PYTHONPATH=/usr/lib/python3/dist-packages but still continues to generate the same error.

I have installed Python2.7 Python3 and Python3.5

Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

Hello fagner128,

Before we debug farther I just want to make sure we have all the details: Exactly what command is failing?

And for example, if "apt upgrade" is failing, does the following work?

env PYTHONPATH=/usr/lib/python3/dist-packages apt upgrade

If that doesn't work, please provide the output of the following commands:

which python3
python3 -c "import uaclient"
env PYTHONPATH=/usr/lib/python3/dist-packages python3 -c "import uaclient"
ua version
apt policy ubuntu-advantage-tools

And hopefully we'll be able to figure it out :)

Also, we will be releasing a fix to this issue in the coming weeks (expect it in version 27.4 of ubuntu-advantage-tools).

Revision history for this message
Fagner (fagner128) wrote :

Hello Grant Orndorff,

This is happening when I try to upgrade with apt upgrade
I already reported in another post but was doubled and I posted here, I reported on this:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1927905

I tried to run command: env PYTHONPATH=/usr/lib/python3/dist-packages apt upgrade
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "/usr/lib/python3/dist-packages/uaclient/entitlements/__init__.py", line 1, in <module>
    from typing import Dict, List, Type, cast # noqa: F401
ImportError: cannot import name 'Type'
dpkg: error processing ubuntu-advantage-tools (--configure):
 sub-process script post-installation installed returned error output status 1
Errors were found during the processing of:
 ubuntu-advantage-tools
E: Sub-process/usr/bin/dpkg returned an error code (1)

I tried to update again but the error persisted as:

Enable UA Infra: ESM to receive additional future security updates.

See https://ubuntu.com/esm or run: sudo ua status

0 updated packages, 0 new packages installed, 0 to be removed and 0 not updated.
1 packages not fully installed or removed.
After this operation, additional 0B of disk space will be used.
Do you want to continue? [Y / n] y
Configuring ubuntu-advantage-tools (27.3 ~ 16.04.2) ...
TraceBack (most recent call last):
  File "<string>", line 2, in <module>
ImportError: No module named 'uaclient'
dpkg: error processing ubuntu-advantage-tools (--configure) package:
 sub-process script post-installation installed returned error output status 1
Errors were found during the processing of:
 ubuntu-advantage-tools
E: Sub-process/usr/bin/dpkg returned an error code (1)

So I run the commands that resulted in the following exits:
which python3
/usr/local/bin/python3

python3 -c "import uaclient"
nothing

env PYTHONPATH=/usr/lib/python3/dist-packages python3 -c "import uaclient"
nothing

ua version
27.3 ~ 16.04.2

apt policy ubuntu-advantage-tools
ubuntu-advantage-tools:
  Installed: 27.3 ~ 16.04.2
  Candidate: 27.3 ~ 16.04.2
  Version table:
 *** 27.3 ~ 16.04.2 500
        500 http://ppa.launchpad.net/ua-client/stable/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     27.3 ~ 16.04.1 500
        500 http://br.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages

Well I hope this problem can be solved, I'm looking forward to it.

Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

Thank you for the additional information fagner128!

The error you posted here is actually slightly different in the details. The python error is "ImportError: cannot import name 'Type'".

And it looks like you have a non standard python install in /usr/local/bin/python3 that is taking precedence over the system /usr/bin/python3.

My guess is that the specific version installed at /usr/local/bin/python3 is older than 3.5.2 which is when typing.Type was introduced. Can you confirm by running `/usr/local/bin/python3 --version`?

This should be fixed when ubuntu-advantage-tools 27.4 is released, which is being tracked in bug 1949634 and is expected to be out by the end of November.

In the mean time try the following:
env PATH=/usr/bin:$PATH apt upgrade

Hopefully that will cause the ubuntu-advantage-tools install to use /usr/bin/python3.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-advantage-tools - 27.4~22.04.1

---------------
ubuntu-advantage-tools (27.4~22.04.1) jammy; urgency=medium

  * d/rules:
    - Remove conftest file from the package
  * d/tools.postinst:
    - hardcode python binary to run python scripts (LP: #1930121)
    - undo unnecessary log file creation
  * d/tools.prerm:
    - hardcode python binary to run python scripts (LP: #1930121)
  * New upstream release 27.4 (LP: #1949634)
    - cc-eal: remove beta flag
    - cli:
      + attach will save machine-id during operation
      + detach won't ask unnecessary questions
      + new security-status subcommand lists potentially available
        security and ESM updates (beta)
    - fix:
      + exit 0 when fix is successfully applied and completed
      + exit 1 when fix cannot be applied
      + exit 2 when fix requires a reboot to complete
      + check reboot-required.pkgs for better reboot suggestions
    - livepatch: allow livepatch and fips-updates at the same time
    - metering:
      + update how activity info is parsed
      + update contract response structure
      + enable job by default
    - proxy: no_proxy defaults for link-local IMDS routes
    - util:
      + cache get_platform_info calls
      + fix machine-id fallback path on get_machine_id

 -- Lucas Moura <email address hidden> Fri, 29 Oct 2021 15:35:57 -0300

Changed in ubuntu-advantage-tools (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4~21.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntu-advantage-tools (Ubuntu Impish):
status: New → Fix Committed
tags: added: verification-needed verification-needed-impish
Changed in ubuntu-advantage-tools (Ubuntu Hirsute):
status: New → Fix Committed
tags: added: verification-needed-hirsute
Revision history for this message
Robie Basak (racb) wrote :

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4~21.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntu-advantage-tools (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Robie Basak (racb) wrote :

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntu-advantage-tools (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Robie Basak (racb) wrote :

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4~18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Robie Basak (racb) wrote :

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4~16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntu-advantage-tools (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed-xenial
Revision history for this message
Robie Basak (racb) wrote :

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4.1~21.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Robie Basak (racb) wrote :

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4.1~21.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Robie Basak (racb) wrote :

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4.1~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Robie Basak (racb) wrote :

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4.1~18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Robie Basak (racb) wrote :

Hello Peter, or anyone else affected,

Accepted ubuntu-advantage-tools into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/27.4.1~16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

I've tested that ubuntu-advantage-tools 27.4.1 from -proposed fixes this bug on all releases.

I'm attaching the test script I used and the output for each release here.

Tagging verification-done

tags: added: verification-done verification-done-bionic verification-done-focal verification-done-hirsute verification-done-impish verification-done-xenial
removed: verification-needed verification-needed-bionic verification-needed-focal verification-needed-hirsute verification-needed-impish verification-needed-xenial
Revision history for this message
Robie Basak (racb) wrote : Update Released

The verification of the Stable Release Update for ubuntu-advantage-tools has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-advantage-tools - 27.4.1~21.04.1

---------------
ubuntu-advantage-tools (27.4.1~21.04.1) hirsute; urgency=medium

  * Backport new upstream release: (LP: #1949634) to hirsute

ubuntu-advantage-tools (27.4.1~22.04.1) jammy; urgency=medium

  * jobs: do not run the status job for unattached users

ubuntu-advantage-tools (27.4~22.04.1) jammy; urgency=medium

  * d/rules:
    - Remove conftest file from the package
  * d/tools.postinst:
    - hardcode python binary to run python scripts (LP: #1930121)
    - undo unnecessary log file creation
  * d/tools.prerm:
    - hardcode python binary to run python scripts (LP: #1930121)
  * New upstream release 27.4 (LP: #1949634)
    - cc-eal: remove beta flag
    - cli:
      + attach will save machine-id during operation
      + detach won't ask unnecessary questions
      + new security-status subcommand lists potentially available
        security and ESM updates (beta)
    - fix:
      + exit 0 when fix is successfully applied and completed
      + exit 1 when fix cannot be applied
      + exit 2 when fix requires a reboot to complete
      + check reboot-required.pkgs for better reboot suggestions
    - livepatch: allow livepatch and fips-updates at the same time
    - metering:
      + update how activity info is parsed
      + update contract response structure
      + enable job by default
    - proxy: no_proxy defaults for link-local IMDS routes
    - util:
      + cache get_platform_info calls
      + fix machine-id fallback path on get_machine_id

 -- Lucas Moura <email address hidden> Thu, 11 Nov 2021 17:58:12 -0300

Changed in ubuntu-advantage-tools (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-advantage-tools - 27.4.1~20.04.1

---------------
ubuntu-advantage-tools (27.4.1~20.04.1) focal; urgency=medium

  * Backport new upstream release: (LP: #1949634) to focal

ubuntu-advantage-tools (27.4.1~22.04.1) jammy; urgency=medium

  * jobs: do not run the status job for unattached users

ubuntu-advantage-tools (27.4~22.04.1) jammy; urgency=medium

  * d/rules:
    - Remove conftest file from the package
  * d/tools.postinst:
    - hardcode python binary to run python scripts (LP: #1930121)
    - undo unnecessary log file creation
  * d/tools.prerm:
    - hardcode python binary to run python scripts (LP: #1930121)
  * New upstream release 27.4 (LP: #1949634)
    - cc-eal: remove beta flag
    - cli:
      + attach will save machine-id during operation
      + detach won't ask unnecessary questions
      + new security-status subcommand lists potentially available
        security and ESM updates (beta)
    - fix:
      + exit 0 when fix is successfully applied and completed
      + exit 1 when fix cannot be applied
      + exit 2 when fix requires a reboot to complete
      + check reboot-required.pkgs for better reboot suggestions
    - livepatch: allow livepatch and fips-updates at the same time
    - metering:
      + update how activity info is parsed
      + update contract response structure
      + enable job by default
    - proxy: no_proxy defaults for link-local IMDS routes
    - util:
      + cache get_platform_info calls
      + fix machine-id fallback path on get_machine_id

 -- Lucas Moura <email address hidden> Thu, 11 Nov 2021 17:57:22 -0300

Changed in ubuntu-advantage-tools (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-advantage-tools - 27.4.1~18.04.1

---------------
ubuntu-advantage-tools (27.4.1~18.04.1) bionic; urgency=medium

  * Backport new upstream release: (LP: #1949634) to bionic

ubuntu-advantage-tools (27.4.1~22.04.1) jammy; urgency=medium

  * jobs: do not run the status job for unattached users

ubuntu-advantage-tools (27.4~22.04.1) jammy; urgency=medium

  * d/rules:
    - Remove conftest file from the package
  * d/tools.postinst:
    - hardcode python binary to run python scripts (LP: #1930121)
    - undo unnecessary log file creation
  * d/tools.prerm:
    - hardcode python binary to run python scripts (LP: #1930121)
  * New upstream release 27.4 (LP: #1949634)
    - cc-eal: remove beta flag
    - cli:
      + attach will save machine-id during operation
      + detach won't ask unnecessary questions
      + new security-status subcommand lists potentially available
        security and ESM updates (beta)
    - fix:
      + exit 0 when fix is successfully applied and completed
      + exit 1 when fix cannot be applied
      + exit 2 when fix requires a reboot to complete
      + check reboot-required.pkgs for better reboot suggestions
    - livepatch: allow livepatch and fips-updates at the same time
    - metering:
      + update how activity info is parsed
      + update contract response structure
      + enable job by default
    - proxy: no_proxy defaults for link-local IMDS routes
    - util:
      + cache get_platform_info calls
      + fix machine-id fallback path on get_machine_id

 -- Lucas Moura <email address hidden> Thu, 11 Nov 2021 17:56:08 -0300

Changed in ubuntu-advantage-tools (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-advantage-tools - 27.4.1~16.04.1

---------------
ubuntu-advantage-tools (27.4.1~16.04.1) xenial; urgency=medium

  * Backport new upstream release: (LP: #1949634) to xenial

ubuntu-advantage-tools (27.4.1~22.04.1) jammy; urgency=medium

  * jobs: do not run the status job for unattached users

ubuntu-advantage-tools (27.4~22.04.1) jammy; urgency=medium

  * d/rules:
    - Remove conftest file from the package
  * d/tools.postinst:
    - hardcode python binary to run python scripts (LP: #1930121)
    - undo unnecessary log file creation
  * d/tools.prerm:
    - hardcode python binary to run python scripts (LP: #1930121)
  * New upstream release 27.4 (LP: #1949634)
    - cc-eal: remove beta flag
    - cli:
      + attach will save machine-id during operation
      + detach won't ask unnecessary questions
      + new security-status subcommand lists potentially available
        security and ESM updates (beta)
    - fix:
      + exit 0 when fix is successfully applied and completed
      + exit 1 when fix cannot be applied
      + exit 2 when fix requires a reboot to complete
      + check reboot-required.pkgs for better reboot suggestions
    - livepatch: allow livepatch and fips-updates at the same time
    - metering:
      + update how activity info is parsed
      + update contract response structure
      + enable job by default
    - proxy: no_proxy defaults for link-local IMDS routes
    - util:
      + cache get_platform_info calls
      + fix machine-id fallback path on get_machine_id

 -- Lucas Moura <email address hidden> Thu, 11 Nov 2021 17:55:08 -0300

Changed in ubuntu-advantage-tools (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-advantage-tools - 27.4.1~21.10.1

---------------
ubuntu-advantage-tools (27.4.1~21.10.1) impish; urgency=medium

  * Backport new upstream release: (LP: #1949634) to impish

ubuntu-advantage-tools (27.4.1~22.04.1) jammy; urgency=medium

  * jobs: do not run the status job for unattached users

ubuntu-advantage-tools (27.4~22.04.1) jammy; urgency=medium

  * d/rules:
    - Remove conftest file from the package
  * d/tools.postinst:
    - hardcode python binary to run python scripts (LP: #1930121)
    - undo unnecessary log file creation
  * d/tools.prerm:
    - hardcode python binary to run python scripts (LP: #1930121)
  * New upstream release 27.4 (LP: #1949634)
    - cc-eal: remove beta flag
    - cli:
      + attach will save machine-id during operation
      + detach won't ask unnecessary questions
      + new security-status subcommand lists potentially available
        security and ESM updates (beta)
    - fix:
      + exit 0 when fix is successfully applied and completed
      + exit 1 when fix cannot be applied
      + exit 2 when fix requires a reboot to complete
      + check reboot-required.pkgs for better reboot suggestions
    - livepatch: allow livepatch and fips-updates at the same time
    - metering:
      + update how activity info is parsed
      + update contract response structure
      + enable job by default
    - proxy: no_proxy defaults for link-local IMDS routes
    - util:
      + cache get_platform_info calls
      + fix machine-id fallback path on get_machine_id

 -- Lucas Moura <email address hidden> Thu, 11 Nov 2021 17:59:42 -0300

Changed in ubuntu-advantage-tools (Ubuntu Impish):
status: Fix Committed → Fix Released
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.