Public bug reported:
Setting up ubuntu-advantage-tools (27.4.2~21.10.1) ...
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/usr/lib/python3/dist-packages/uaclient/entitlements/__init__.py", line
3, in <module>
from uaclient.config import UAConfig
File "/usr/lib/python3/dist-packages/uaclient/config.py", line 12, in <module>
import yaml
File "/root/.local/lib/python2.7/site-packages/yaml/__init__.py", line 2, in
<module>
from error import *
ModuleNotFoundError: No module named 'error'
dpkg: error processing package ubuntu-advantage-tools (--configure):
installed ubuntu-advantage-tools package post-installation script subprocess
returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntu-minimal:
ubuntu-minimal depends on ubuntu-advantage-tools; however:
Package ubuntu-advantage-tools is not configured yet.
dpkg: error processing package ubuntu-minimal (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-manager-core:
update-manager-core depends on ubuntu-advantage-tools; however:
Package ubuntu-advantage-tools is not configured yet.
dpkg: error processing package update-manager-core (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on update-manager-core (>= 1:17.04.2); however:
Package update-manager-core is not configured yet.
dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-server:
ubuntu-server depends on update-notifier-common; however:
Package update-notifier-common is not configured yet.
dpkg: error processing package ubuntu-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ubuntu-advantage-tools
ubuntu-minimal
update-manager-core
update-notifier-common
ubuntu-server
Traceback (most recent call last):
File "/usr/lib/ubuntu-advantage/upgrade_lts_contract.py", line 27, in <module>
from uaclient.cli import setup_logging
File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 20, in <module>
import yaml
File "/root/.local/lib/python2.7/site-packages/yaml/__init__.py", line 2, in
<module>
from error import *
ModuleNotFoundError: No module named 'error'
Upgrade complete
The upgrade has completed but there were errors during the upgrade
process.
To continue please press [ENTER]
ProblemType: Package
DistroRelease: Ubuntu 21.10
Package: ubuntu-advantage-tools 27.4.2~21.10.1
ProcVersionSignature: Ubuntu 5.11.0-41.45-generic 5.11.22
Uname: Linux 5.11.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Fri Dec 10 14:13:10 2021
ErrorMessage: installed ubuntu-advantage-tools package post-installation script
subprocess returned error exit status 1
Python3Details: /usr/bin/python3.9, Python 3.9.7, python3-minimal, 3.9.4-1build1
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.18-9
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
dpkg 1.20.9ubuntu2
apt 2.3.9
SourcePackage: ubuntu-advantage-tools
Title: package ubuntu-advantage-tools 27.4.2~21.10.1 failed to install/upgrade:
installed ubuntu-advantage-tools package post-installation script subprocess
returned error exit status 1
UpgradeStatus: Upgraded to impish on 2021-12-10 (0 days ago)
** Affects: ubuntu-advantage-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package impish need-duplicate-check uec-images
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954542
Title:
package ubuntu-advantage-tools 27.4.2~21.10.1 failed to
install/upgrade: installed ubuntu-advantage-tools package post-
installation script subprocess returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1954542/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs