package apparmor 2.12-4ubuntu5.1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration

Bug #1801871 reported by Koustoov Bandyopadhyay on 2018-11-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Undecided
Unassigned

Bug Description

Problem detected while installing docker.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: apparmor 2.12-4ubuntu5.1
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
AptOrdering:
 apt-transport-https:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
Date: Tue Nov 6 12:53:18 2018
DpkgHistoryLog:
 Start-Date: 2018-11-06 12:53:18
 Commandline: apt-get install apt-transport-https ca-certificates
 Requested-By: pheonix (1000)
 Install: apt-transport-https:amd64 (1.6.3ubuntu0.1)
DuplicateSignature:
 package:apparmor:2.12-4ubuntu5.1
 Setting up apt-transport-https (1.6.3ubuntu0.1) ...
 dpkg: error processing package apparmor (--configure):
  package is in a very bad inconsistent state; you should
ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
InstallationDate: Installed on 2018-05-28 (161 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
KernLog:

ProcKernelCmdline: BOOT_IMAGE=/vmlinuz-4.15.0-34-generic root=UUID=75a7c2c0-5434-4b80-8a3e-40b17cebdfda ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.3ubuntu0.1
SourcePackage: apparmor
Syslog:

Title: package apparmor 2.12-4ubuntu5.1 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration
UpgradeStatus: No upgrade log present (probably fresh install)

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers