package apparmor 2.12-4ubuntu5.3+esm1 installed the 20.04 release, with words, "mer/upgrade: new apparmor package pre-installation script subprocess returned error exit status 1

Bug #2044604 reported by Herb Picoski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
New
Undecided
Unassigned

Bug Description

rors occurred" did manual reboot. But system just logged out and back in quickly. I pressed start button to reboot, and the system took a half hout to connect until I right clicked the start-page. Then the log-in page appeared and the system came up.....
h94b@h94b-HP-EliteBook-8460p:~$ dpkg -1 | grep linux-image
dpkg: error: unknown option -1

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
h94b@h94b-HP-EliteBook-8460p:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
h94b@h94b-HP-EliteBook-8460p:~$

thank You

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: apparmor 2.12-4ubuntu5.3+esm1
ProcVersionSignature: Ubuntu 5.4.0-167.184~18.04.1-generic 5.4.252
Uname: Linux 5.4.0-167-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.9-0ubuntu7.29
Architecture: amd64
Date: Sat Nov 25 04:39:23 2023
DuplicateSignature:
 package:apparmor:2.12-4ubuntu5.3+esm1
 Preparing to unpack .../09-apparmor_2.13.3-7ubuntu5.2_amd64.deb ...
 rm: cannot remove '/etc/apparmor.d/cache/e10c1cf9.0': Is a directory
 dpkg: error processing archive /tmp/apt-dpkg-install-x2AWLZ/09-apparmor_2.13.3-7ubuntu5.2_amd64.deb (--unpack):
  new apparmor package pre-installation script subprocess returned error exit status 1
ErrorMessage: new apparmor package pre-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-11-24 (0 days ago)
InstallationMedia: Ubuntu 18.04.6 LTS "Bionic Beaver" - Release amd64 (20210915)
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-167-generic root=UUID=4bc5fd69-6854-4ec0-b0bb-a914ce15ecce ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3.2
 apt 2.0.10
SourcePackage: apparmor
Title: package apparmor 2.12-4ubuntu5.3+esm1 failed to install/upgrade: new apparmor package pre-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2023-11-25 (0 days ago)

Revision history for this message
Herb Picoski (her3bert1) wrote :
Revision history for this message
Herb Picoski (her3bert1) wrote : Re: [Bug 2044604] Re: package apparmor 2.12-4ubuntu5.3+esm1 installed the 20.04 release, with words, "mer/upgrade: new apparmor package pre-installation script subprocess returned error exit status 1
Download full text (3.6 KiB)

Hi Georgia,
Your response is greatly appreciated.
Long story short:
I have a beautiful dual-boot Ubuntu setup now.
I have a 22.04 and an 18.04 on a 500gig hard drive.
Really working well.
Thanks.

HerbPicoski

Sent with Proton Mail secure email.

On Tuesday, November 28th, 2023 at 6:41 AM, Georgia Garcia <email address hidden> wrote:

> *** This bug is a duplicate of bug 2032851 ***
> https://bugs.launchpad.net/bugs/2032851
>
> ** This bug has been marked a duplicate of bug 2032851
> package apparmor 2.12-4ubuntu5.3 failed to install/upgrade: new apparmor package pre-installation script subprocess returned error exit status 1
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2044604
>
> Title:
> package apparmor 2.12-4ubuntu5.3+esm1 installed the 20.04 release,
> with words, "mer/upgrade: new apparmor package pre-installation script
> subprocess returned error exit status 1
>
> Status in apparmor package in Ubuntu:
> New
>
> Bug description:
> rors occurred" did manual reboot. But system just logged out and back in quickly. I pressed start button to reboot, and the system took a half hout to connect until I right clicked the start-page. Then the log-in page appeared and the system came up.....
> h94b@h94b-HP-EliteBook-8460p:~$ dpkg -1 | grep linux-image
> dpkg: error: unknown option -1
>
> Type dpkg --help for help about installing and deinstalling packages [*];
> Use 'apt' or 'aptitude' for user-friendly package management;
> Type dpkg -Dhelp for a list of dpkg debug flag values;
> Type dpkg --force-help for a list of forcing options;
> Type dpkg-deb --help for help about manipulating .deb files;
>
> Options marked [] produce a lot of output - pipe it through 'less' or 'more' !
> h94b@h94b-HP-EliteBook-8460p:~$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=20.04
> DISTRIB_CODENAME=focal
> DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
> h94b@h94b-HP-EliteBook-8460p:~$
>
> thank You
>
> ProblemType: Package
> DistroRelease: Ubuntu 20.04
> Package: apparmor 2.12-4ubuntu5.3+esm1
> ProcVersionSignature: Ubuntu 5.4.0-167.184~18.04.1-generic 5.4.252
> Uname: Linux 5.4.0-167-generic x86_64
> NonfreeKernelModules: wl
> ApportVersion: 2.20.9-0ubuntu7.29
> Architecture: amd64
> Date: Sat Nov 25 04:39:23 2023
> DuplicateSignature:
> package:apparmor:2.12-4ubuntu5.3+esm1
> Preparing to unpack .../09-apparmor_2.13.3-7ubuntu5.2_amd64.deb ...
> rm: cannot remove '/etc/apparmor.d/cache/e10c1cf9.0': Is a directory
> dpkg: error processing archive /tmp/apt-dpkg-install-x2AWLZ/09-apparmor_2.13.3-7ubuntu5.2_amd64.deb (--unpack):
> new apparmor package pre-installation script subprocess returned error exit status 1
> ErrorMessage: new apparmor package pre-installation script subprocess returned error exit status 1
> InstallationDate: Installed on 2023-11-24 (0 days ago)
> InstallationMedia: Ubuntu 18.04.6 LTS "Bionic Beaver" - Release amd64 (20210915)
> ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-167-generic root=UUID=4bc5fd69-6854-4ec0-b0bb-a914ce15ecce ro quiet splash vt.handoff=1
> Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2...

Read more...

Revision history for this message
Georgia Garcia (georgiag) wrote :

Hi Herb!

The fix is already on the way and should be available to you soon. Meanwhile, as a workaround, you can remove the /etc/apparmor.d/cache/e10c1cf9.0 directory with
rm -r /etc/apparmor.d/cache/e10c1cf9.0
and try the upgrade again.

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.