Public bug reported:

This happens when upgrading to Ubuntu 21.10. This is the full error:

Setting up ubuntu-advantage-tools (27.2.1~21.10.1) ...
ERROR: File not found '/run/cloud-init/instance-data.json'. Provide a
path to instance data json file using --instance-data           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.

ProblemType: Package
DistroRelease: Ubuntu 21.10
Package: ubuntu-advantage-tools 27.2.1~21.10.1
Uname: Linux 5.4.72-microsoft-standard-WSL2 x86_64
ApportVersion: 2.20.11-0ubuntu67
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Jul 19 14:32:11 2021
DuplicateSignature:
 package:ubuntu-advantage-tools:27.2.1~21.10.1
 Installing new version of config file /etc/ubuntu-advantage/uaclient.conf ...
 ERROR: File not found '/run/cloud-init/instance-data.json'. Provide a path to 
instance data json file using --instance-data
 dpkg: error processing package ubuntu-advantage-tools (--configure):
  installed ubuntu-advantage-tools package post-installation script subprocess 
returned error exit status 1
ErrorMessage: installed ubuntu-advantage-tools package post-installation script 
subprocess returned error exit status 1
Python3Details: /usr/bin/python3.9, Python 3.9.6, python3-minimal, 3.9.4-1
PythonDetails: N/A
RebootRequiredPkgs: libc6
RelatedPackageVersions:
 dpkg 1.20.9ubuntu2
 apt  2.3.6
SourcePackage: ubuntu-advantage-tools
Title: package ubuntu-advantage-tools 27.2.1~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-07-19 (0 days ago)

** Affects: ubuntu-advantage-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package impish 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/1936833

Title:
  package ubuntu-advantage-tools 27.2.1~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/1936833/+subscriptions


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

Reply via email to