package apparmor 2.7.102-0ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This issue appear while trying to update apparmor from the update manager.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: apparmor 2.7.102-0ubuntu3.1
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Sat Jun 16 11:29:46 2012
DuplicateSignature:
Setting up apparmor (2.7.102-
Can't locate object method "new" via package "Debconf:
dpkg: error processing apparmor (--configure):
subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
Title: package apparmor 2.7.102-0ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to precise on 2012-04-27 (50 days ago)
tags: | removed: need-duplicate-check |
I tried
$ sudo apt-get install -f 0ubuntu3. 1) ... :Element: :Noninteractive ::String" (perhaps you forgot to load "Debconf: :Element: :Noninteractive ::String" ?) at /usr/share/ perl5/Debconf/ FrontEnd. pm line 68, <GEN1> line 2.
Setting up cups (1.5.3-0ubuntu1) ... :Element: :Noninteractive ::Boolean" (perhaps you forgot to load "Debconf: :Element: :Noninteractive ::Boolean" ?) at /usr/share/ perl5/Debconf/ FrontEnd. pm line 68, <GEN1> line 2.
Setting up man-db (2.6.1-2) ... :Element: :Noninteractive ::Boolean" (perhaps you forgot to load "Debconf: :Element: :Noninteractive ::Boolean" ?) at /usr/share/ perl5/Debconf/ FrontEnd. pm line 68, <GEN1> line 2.
dpkg: dependency problems prevent configuration of apparmor-utils: installer (11.2.202. 236ubuntu0. 12.04.1) ...
Can' t locate object method "new" via package "Debconf: :Element: :Noninteractive ::String" (perhaps you forgot to load "Debconf: :Element: :Noninteractive ::String" ?) at /usr/share/ perl5/Debconf/ FrontEnd. pm line 68, <GEN1> line 1. installer (--configure):
dpkg: dependency problems prevent configuration of flashplugin- downloader: i386: downloader: i386 depends on flashplugin- installer (...
[sudo] password for *****:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libpam-smbpass
Suggested packages:
samba
The following packages will be upgraded:
libpam-smbpass
1 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
12 not fully installed or removed.
Need to get 0 B/759 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up apparmor (2.7.102-
Can't locate object method "new" via package "Debconf:
dpkg: error processing apparmor (--configure):
subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
Can't locate object method "new" via package "Debconf:
dpkg: error processing cups (--configure):
subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
Can't locate object method "new" via package "Debconf:
dpkg: error processing man-db (--configure):
subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
apparmor-utils depends on apparmor (>= 2.6.1-4ubuntu1); however:
Package apparmor is not configured yet.
dpkg: error processing apparmor-utils (--configure):
dependency problems - leaving unconfigured
Setting up flashplugin-
No apport report written because MaxReports is reached already
dpkg: error processing flashplugin-
subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
flashplugin-