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