[Bug 1927905] Re: package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2021-06-30 Thread Christian Ehrhardt 
Chances are (https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-
tools/+bug/1930121/comments/3) that this is due to a non-default python
on the system.

If you could check and report your python setup that could help.
If you have a non standard python please make this a duplicate to bug 1930121 
and then chime-in/discuss there for a hopefully common solution.

** Summary changed:

- package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1
+ package ubuntu-advantage-tools 27.0~16.04.1  - ModuleNotFoundError: No module 
named 'uaclient' - maybe dup 1930121

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

Title:
  package ubuntu-advantage-tools 27.0~16.04.1  - ModuleNotFoundError: No
  module named 'uaclient' - maybe dup 1930121

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

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

[Bug 1927905] Re: package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2021-05-17 Thread Fagner
Hey how is everything.

I also had the same problem when updating my system.

Returned the error:

Configuring ubuntu-advantage-tools (27.0 ~ 16.04.1) ...
Traceback (most recent call last):
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 processing:
  ubuntu-advantage-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried a
sudo apt autoremove

Then after removing unnecessary packages he returned the error:

Configuring ubuntu-advantage-tools (27.0 ~ 16.04.1) ...
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 processing:
 Ubuntu-advantage-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Then I updated with:
sudo apt update
In which it has updated the system and asked to list packages to be updated 
with:
apt List --upgradable

I checked and updated with:
sudo apt upgrade
and returned me again the same error

I tried then, thinking that it was a ua client key utter, I added to the 
repository to try to solve the problem with:
sudo add-apt-repository ppa:ua-client/stable

Then I updated the packages again but the same mistake again was
returned

I then tried the command to try to clean, with:
sudo apt --purge remove && sudo apt autoclean
And again the same error was returned

I then tried the command: sudo apt -f install
And yet the same error was returned

I tried the command: sudo apt upgrade && sudo apt dist-upgrade
and also the same error was also returned

I then tried the command: sudo dpkg --configure -
Also the same error returned

I then tried to remove advantage-tools to reinstall later, but also returned 
the error a bit different but it's the same for purge. So I execute:
sudo apt remove --purge ubuntu-advantage-tools

And it was returned:

The following package has been installed automatically and is no longer 
required:
  distro-info
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  ubuntu-advantage-tools* ubuntu-minimal*
0 updated packages, 0 new packages installed, 2 to be removed 
and 1 not updated.
1 packages not fully installed or removed.
After this operation, 3,016 KB of disk space will be released.
Do you want to continue? [Y / n] y
(Reading database ... 336633 Currently installed files and directories.)
Remove ubuntu-minimal (1,361.6) ...
Remove ubuntu-advantage-tools (27.0 ~ 16.04.1) ...
Traceback (most recent call last):
  File "", line 2, in 
ImportError: No module named 'uaclient'
dpkg: error processing the ubuntu-advantage-tools package (--purge):
 sub-process script pre-removal installed returned error output status 1
Errors were found during processing:
 ubuntu-advantage-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

After that, I could no longer solve. In my system I can not update
anything else. If you can help.

NOTE: The results are in Portuguese but I put in English here to
facilitate.

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

Title:
  package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

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

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

[Bug 1927905] Re: package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2021-05-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

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

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

Title:
  package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

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

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

[Bug 1927905] Re: package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2021-05-10 Thread Utkarsh Gupta
Hello Stephen,

Thanks for taking out the time to file this bug and help in making
Ubuntu server better.

This looks like a duplicate of LP: #1927348. It seems to have the same error:
ModuleNotFoundError: No module named 'uaclient'

Could you take a look at the bug and let me further know if this error
is reproducible in a container or a VM or something?

Thanks!

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

Title:
  package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

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

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

[Bug 1927905] Re: package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2021-05-09 Thread Apport retracing service
** Tags removed: need-duplicate-check

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

Title:
  package ubuntu-advantage-tools 27.0~16.04.1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

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

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