After sending this report, my system was left in a broken state:
Could not install the upgrades 

The upgrade has aborted. Your system could be in an unusable state. A 
recovery will run now (dpkg --configure -a). 

Setting up libcom-err2:amd64 (1.45.5-2ubuntu1) ...
dpkg: dependency problems prevent configuration of maas-region-api:
 maas-region-api depends on maas (= 1:0.6); however:
  Version of maas on system is 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1.

dpkg: error processing package maas-region-api (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of maas-region-controller:
 maas-region-controller depends on maas-region-api (= 1:0.6); however:
  Package maas-region-api is not configured yet.

dpkg: error processing package maas-region-controller (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dnsutils:
 dnsutils depends on bind9-dnsutils; however:
  Package bind9-dnsutils is not installed.

dpkg: error processing package dnsutils (--configure):
 dependency problems - leaving unconfigured
Setting up libbsd0:amd64 (0.10.0-1) ...
Setting up libkrb5support0:amd64 (1.17-6ubuntu4) ...
Setting up bzip2 (1.0.8-2) ...
dpkg: dependency problems prevent configuration of maas-rack-controller:
 maas-rack-controller depends on maas (= 1:0.6); however:
  Version of maas on system is 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1.

dpkg: error processing package maas-rack-controller (--configure):
 dependency problems - leaving unconfigured
Setting up libip4tc2:amd64 (1.8.4-3ubuntu2) ...
Setting up bsdmainutils (11.1.2ubuntu3) ...
Setting up libk5crypto3:amd64 (1.17-6ubuntu4) ...
Setting up libkrb5-3:amd64 (1.17-6ubuntu4) ...
Setting up libgssapi-krb5-2:amd64 (1.17-6ubuntu4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Processing triggers for plymouth-theme-ubuntu-text (0.9.3-1ubuntu7.18.04.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
Errors were encountered while processing:
 maas-region-api
 maas-region-controller
 dnsutils
 maas-rack-controller

Upgrade complete

The upgrade has completed but there were errors during the upgrade 
process. 

To continue please press [ENTER]


** Description changed:

  Upgrading my MAAS server from Bionic / 2.6 to Focal / 2.7.  The upgrade
  broke during handling of MAAS with a traceback. (Apologies for the
  formatting, this was copied from console and the formatting got skewed
  there for some reason).
  
  Preparing to unpack .../6-libkrb5support0_1.17-6ubuntu4_amd64.deb ...
  Unpacking libkrb5support0:amd64 (1.17-6ubuntu4) over (1.16-2ubuntu0.1) ...
  Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 289, in __getitem__
-      return self._weakref[key]
+   return self._weakref[key]
  File "/usr/lib/python3.6/weakref.py", line 137, in __getitem__
-      o = self.data[key]()
-      KeyError: '2-maas'
+      o = self.data[key]()
+      KeyError: '2-maas'
  
  During handling of the above exception, another exception occurred:
-                                                                               
                         Traceback (most recent call last):
-                                                                               
                                                             File 
"/usr/lib/python3/dist-packages/apt/cache.py", line 292, in __getitem__
-      rawpkg = self._cache[key]
-      KeyError: '2-maas'
-    
- During handling of the above exception, another exception occurred:
-                                                                               
                                   Traceback (most recent call last):
-                                                                               
                                                                            
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 126, in 
_apt_pkg
-      return self._cache()[package]
- File "/usr/lib/python3/dist-packages/apt/cache.py", line 294, in __getitem__
-      raise KeyError('The cache has no package named %r' % key)
-                                                                               
                                                                                
                                          KeyError: "The cache has no package 
named '2-maas'"
+                                                                           
Traceback (most recent call last):
+ File "/usr/lib/python3/dist-packages/apt/cache.py", line 292, in __getitem__
+  rawpkg = self._cache[key]
+  KeyError: '2-maas'
  
  During handling of the above exception, another exception occurred:
-                                                                               
                             Traceback (most recent call last):
-                                                                               
                                                                 File 
"/usr/share/apport/package_hook", line 48, in <module>
- pr['SourcePackage'] = apport.packaging.get_source(options.package)
- File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 159, in 
get_source
-      if self._apt_pkg(package).installed:
- File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 128, in 
_apt_pkg
-      raise ValueError('package %s does not exist' % package)
-      ValueError: package 2-maas does not exist
-                                                                               
                                                                                
        Preparing to unpack .../7-libcom-err2_1.45.5-2ubuntu1_amd64.deb ...
+                                                                           
Traceback (most recent call last):
+ File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 126, in 
_apt_pkg
+    return self._cache()[package]
+ File "/usr/lib/python3/dist-packages/apt/cache.py", line 294, in __getitem__
+    raise KeyError('The cache has no package named %r' % key)
+ KeyError: "The cache has no package named '2-maas'"
+ 
+ During handling of the above exception, another exception occurred:
+ Traceback (most recent call last):
+ File "/usr/share/apport/package_hook", line 48, in <module>
+   pr['SourcePackage'] = apport.packaging.get_source(options.package)
+ File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 159, 
+   in get_source
+      if self._apt_pkg(package).installed:
+ File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 128, 
+   in _apt_pkg
+      raise ValueError('package %s does not exist' % package)
+      ValueError: package 2-maas does not exist
+                                                                           
Preparing to unpack .../7-libcom-err2_1.45.5-2ubuntu1_amd64.deb ...
  Unpacking libcom-err2:amd64 (1.45.5-2ubuntu1) over (1.44.1-1ubuntu1.3) ...
  Errors were encountered while processing:
-  /tmp/apt-dpkg-install-xFEKoD/2-maas_1%3a0.6_all.deb
+  /tmp/apt-dpkg-install-xFEKoD/2-maas_1%3a0.6_all.deb
  Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an 
error code (1)
  
  *** Send problem report to the developers?
  
  After the problem report has been sent, please fill out the form in the
  automatically opened web browser.
  
  What would you like to do? Your options are:
-   S: Send report (354.9 KB)
-   V: View report
-   K: Keep report file for sending later or copying to somewhere else
-   I: Cancel and ignore future crashes of this program version
-   C: Cancel
+   S: Send report (354.9 KB)
+   V: View report
+   K: Keep report file for sending later or copying to somewhere else
+   I: Cancel and ignore future crashes of this program version
+   C: Cancel
  Please choose (S/V/K/I/C): s
  
  *** Collecting problem information
  
  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  
  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: maas 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-65.74-generic 4.15.18
  Uname: Linux 4.15.0-65-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.14
  Architecture: amd64
  Date: Tue Apr 28 19:59:25 2020
  ErrorMessage: new maas package pre-installation script subprocess returned 
error exit status 1
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.6, Python 3.6.9, python3-minimal, 
3.6.7-1~18.04
  PythonDetails: N/A
  RelatedPackageVersions:
-  dpkg 1.19.0.5ubuntu2.3
-  apt  1.6.12
+  dpkg 1.19.0.5ubuntu2.3
+  apt  1.6.12
  SourcePackage: maas
  Title: package maas 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 failed to 
install/upgrade: new maas package pre-installation script subprocess returned 
error exit status 1
  UpgradeStatus: Upgraded to focal on 2020-04-28 (0 days ago)

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

Title:
  package maas 2.6.2-7841-ga10625be3-0ubuntu1~18.04.1 failed to
  install/upgrade: new maas package pre-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1875741/+subscriptions

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

Reply via email to