package apparmor 2.12-4ubuntu5.1 failed to install/upgrade: installed apparmor package post-installation script subprocess returned error exit status 12

Bug #1869429 reported by Thomas Leavitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
New
Undecided
Unassigned

Bug Description

I was running "do-release-upgrade".

It prompted me that my /etc/ssh/sshd_config file was different from the maintainers; I went to look at the differences, and somehow I wasn't able to go back and say "keep my version", instead things errored out.

I was able to recover at the end of the process.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: apparmor 2.12-4ubuntu5.1
ProcVersionSignature: Ubuntu 4.15.0-91.92~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-91-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.12
Architecture: amd64
Date: Fri Mar 27 20:01:57 2020
Df:

Dmesg:

ErrorMessage: installed apparmor package post-installation script subprocess returned error exit status 12
InstallationDate: Installed on 2017-05-04 (1057 days ago)
InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.8)
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-91-generic root=UUID=9e033fda-4dfa-44ab-9f9d-2984aae489de ro quiet splash pcie_aspm=off vt.handoff=7
Python3Details: /usr/bin/python3.6, Python 3.6.9, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.3
 apt 1.6.12
SourcePackage: apparmor
Syslog:
 Mar 27 18:17:18 laptopsanytime dbus[861]: [system] AppArmor D-Bus mediation is enabled
 Mar 27 18:20:14 laptopsanytime dbus[955]: [system] AppArmor D-Bus mediation is enabled
 Mar 27 18:22:56 laptopsanytime dbus[963]: [system] AppArmor D-Bus mediation is enabled
 Mar 27 19:02:11 laptopsanytime dbus[865]: [system] AppArmor D-Bus mediation is enabled
Title: package apparmor 2.12-4ubuntu5.1 failed to install/upgrade: installed apparmor package post-installation script subprocess returned error exit status 12
UpgradeStatus: Upgraded to bionic on 2020-03-27 (0 days ago)

Revision history for this message
Thomas Leavitt (u-tho4as-f) wrote :
affects: ubuntu → apparmor (Ubuntu)
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Hello Thomas,

That's a very dirty upgrade log, quite a lot failed. Is this a small-memory system? Do you know what may make this system unique in showing these errors? I don't have a lot of ideas where things would have gone off the rails otherwise.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.