[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-17 Thread Launchpad Bug Tracker
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   Thu, 11 Nov 2021 17:59:42
-0300

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-17 Thread Launchpad Bug Tracker
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   Thu, 11 Nov 2021 17:55:08
-0300

** Changed in: ubuntu-advantage-tools (Ubuntu Impish)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-17 Thread Launchpad Bug Tracker
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   Thu, 11 Nov 2021 17:56:08
-0300

** Changed in: ubuntu-advantage-tools (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-17 Thread Launchpad Bug Tracker
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   Thu, 11 Nov 2021 17:57:22
-0300

** Changed in: ubuntu-advantage-tools (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-17 Thread Launchpad Bug Tracker
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   Thu, 11 Nov 2021 17:58:12
-0300

** Changed in: ubuntu-advantage-tools (Ubuntu Hirsute)
   Status: Fix Committed => Fix Released

** Changed in: ubuntu-advantage-tools (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-15 Thread Grant Orndorff
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

** Attachment added: "1930121-ua27.4.1-verification.tar.xz"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1930121/+attachment/5541055/+files/1930121-ua27.4.1-verification.tar.xz

** Tags removed: verification-needed verification-needed-bionic 
verification-needed-focal verification-needed-hirsute 
verification-needed-impish verification-needed-xenial
** Tags added: verification-done verification-done-bionic 
verification-done-focal verification-done-hirsute verification-done-impish 
verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-11 Thread Robie Basak
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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-11 Thread Robie Basak
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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-10 Thread Launchpad Bug Tracker
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   Fri, 29 Oct 2021 15:35:57
-0300

** Changed in: ubuntu-advantage-tools (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-10 Thread Grant Orndorff
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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-11-08 Thread Fagner
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 "", line 2, in 
  File "/usr/lib/python3/dist-packages/uaclient/entitlements/__init__.py", line 
1, in 
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 "", line 2, in 
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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-10-25 Thread Grant Orndorff
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).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-10-24 Thread Fagner
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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

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

I have installed Python.7 Python and Python3.5

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-08-11 Thread H Geerts
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 "", line 2, in 
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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-06-30 Thread Christian Ehrhardt 
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 changed:

- 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930121

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs