package python3-apparmor 2.8.95~2430-0ubuntu5 failed to install/upgrade: trying to overwrite '/usr/lib/python3/dist-packages/apparmor/__init__.py', which is also in package apparmor-utils 2.8.0-0ubuntu11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
unable to use update manager.after each boot get error message "system error, report/cancel"
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: python3-apparmor 2.8.95~
ProcVersionSign
Uname: Linux 3.13.0-32-generic i686
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
Date: Tue Jul 22 23:14:35 2014
DuplicateSignature: package:
ErrorMessage: trying to overwrite '/usr/lib/
InstallationDate: Installed on 2013-03-15 (494 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
Syslog: Jul 22 23:59:17 keyona-laptop dbus[1159]: [system] AppArmor D-Bus mediation is enabled
Title: package python3-apparmor 2.8.95~
UpgradeStatus: Upgraded to trusty on 2013-08-31 (325 days ago)
tags: | removed: need-duplicate-check |
This is surprising, the apparmor package has the following debian/control stanza:
Package: apparmor mod-apparmor (<< 2.5.1-0ubuntu3), apparmor-utils (<< 2.8.0-0ubuntu28), libvirt-bin (<< 1.2.2-0ubuntu9~), lightdm (<< 1.9.14-0ubuntu2~), lxc (<< 1.0.2-0ubuntu2~), apparmor- easyprof- ubuntu (<< 1.1.14) mod-apparmor (<< 2.5.1-0ubuntu3), apparmor-utils (<< 2.8.0-0ubuntu28)
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, libapparmor-perl, lsb-base, initramfs-tools [linux-any], debconf
Breaks: libapache2-
Replaces: apparmor-parser, libapache2-
Suggests: apparmor-profiles, apparmor-docs, apparmor-utils
Description: User-space parser utility for AppArmor
...
I expected the Breaks: .. apparmor-utils and Replaces: ... apparmor-utils pieces to prevent this situation from happening.