Apparmor package upgrade (setup) fails

Bug #980701 reported by Marius B. Kotsbak
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The update process is stuck at:

"Setting up apparmor (2.7.102-0ubuntu3) ..."

I see the following processes:

$ ps ax|grep dpkg
15941 ? SN 0:00 /bin/sh /var/lib/dpkg/info/winbind.prerm upgrade 2:3.6.3-2ubuntu2
17604 pts/1 Ss+ 0:00 /usr/bin/dpkg --configure -a
17621 pts/1 S+ 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/apparmor.postinst configure 2.7.102-0ubuntu2
17628 pts/1 S+ 0:00 /bin/sh /var/lib/dpkg/info/apparmor.postinst configure 2.7.102-0ubuntu2

$ ps ax|grep apparmor
17621 pts/1 S+ 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/apparmor.postinst configure 2.7.102-0ubuntu2
17628 pts/1 S+ 0:00 /bin/sh /var/lib/dpkg/info/apparmor.postinst configure 2.7.102-0ubuntu2
17637 pts/1 S+ 0:00 /bin/sh /usr/sbin/invoke-rc.d apparmor start
17653 pts/1 S+ 0:00 /bin/sh /etc/init.d/apparmor start

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apparmor 2.7.102-0ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
ApportVersion: 2.0.1-0ubuntu2
Architecture: i386
Date: Fri Apr 13 12:42:08 2012
EcryptfsInUse: Yes
ProcEnviron:
 LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en
 TERM=xterm
 PATH=(custom, user)
 LANG=nb_NO.UTF-8
 SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=f1d0446d-3ea3-46a7-9842-8773acca78e6 ro quiet splash i8042.noloop=1 vt.handoff=7
SourcePackage: apparmor
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

When apparmor is upgraded, the cache is cleared and all the profiles recompiled. Depending on the system, this can take a while-- eg, one minute or more. How long did you wait for the command to finish?

Changed in apparmor (Ubuntu):
status: New → Incomplete
Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

I can try again to give it some more time if it tries again, but I did not see any CPU or disk activity that indicated that it was doing anything.

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Some more output:

Gtk-Message **: Failed to load module "gail" at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 97.
WARNING **: (../../atk-adaptor/bridge.c:793):adaptor_init: runtime check failed: (root) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 97.
Gtk-Message **: Failed to load module "gail" at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 103.
WARNING **: (../../atk-adaptor/bridge.c:793):adaptor_init: runtime check failed: (root) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 103.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apparmor (Ubuntu) because there has been no activity for 60 days.]

Changed in apparmor (Ubuntu):
status: Incomplete → Expired
Revision history for this message
JmAbuDabi (dambldor91) wrote :

I am start virtualbox-4.2

terminal write:

Gtk-Message: Failed to load module "gail"

** (VirtualBox:6287): WARNING **: (../../atk-adaptor/bridge.c:793):adaptor_init: runtime check failed: (root)

Revision history for this message
JmAbuDabi (dambldor91) wrote :

sudo apt-get install libgail-common

And this problem goes away

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.