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

Bug #1347100 reported by Joseph T J
12
This bug affects 2 people
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~2430-0ubuntu5
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
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:python3-apparmor:2.8.95~2430-0ubuntu5:trying to overwrite '/usr/lib/python3/dist-packages/apparmor/__init__.py', which is also in package apparmor-utils 2.8.0-0ubuntu11
ErrorMessage: trying to overwrite '/usr/lib/python3/dist-packages/apparmor/__init__.py', which is also in package apparmor-utils 2.8.0-0ubuntu11
InstallationDate: Installed on 2013-03-15 (494 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.13.0-32-generic root=UUID=81c68f7a-47dc-4b63-ab21-7b41ee6d68f5 ro quiet splash vt.handoff=7
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~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
UpgradeStatus: Upgraded to trusty on 2013-08-31 (325 days ago)

Revision history for this message
Joseph T J (joe73tj) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote :

This is surprising, the apparmor package has the following debian/control stanza:

Package: apparmor
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-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)
Replaces: apparmor-parser, libapache2-mod-apparmor (<< 2.5.1-0ubuntu3), apparmor-utils (<< 2.8.0-0ubuntu28)
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.

information type: Private Security → Public
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apparmor (Ubuntu):
status: New → Confirmed
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.