Skip to content

Debian package install fails with apparmor error #8931

@gaaf

Description

@gaaf

Hi,

Installing the signal-desktop package started failing recently with errors in the postinst. Something to do with apparmor, even though the system has never used or enabled apparmor (and never will).

I've ran the postinst manually to show the bug:

bash -x /var/lib/dpkg/info/signal-desktop.postinst configure
+ type update-alternatives
update-alternatives is /usr/bin/update-alternatives
++ readlink /usr/bin/signal-desktop
+ '[' -L /usr/bin/signal-desktop -a -e /usr/bin/signal-desktop -a /etc/alternatives/signal-desktop '!=' /etc/alternatives/signal-desktop ']'
+ update-alternatives --install /usr/bin/signal-desktop signal-desktop /opt/Signal/signal-desktop 100
+ [[ -L /proc/self/ns/user ]]
+ unshare --user true
+ chmod 0755 /opt/Signal/chrome-sandbox
+ hash update-mime-database
+ update-mime-database /usr/share/mime
+ hash update-desktop-database
+ update-desktop-database /usr/share/applications
+ APPARMOR_PROFILE_SOURCE=/opt/Signal/resources/apparmor-profile
+ APPARMOR_PROFILE_TARGET=/etc/apparmor.d/signal-desktop
+ test -d /etc/apparmor.d
+ apparmor_parser --skip-kernel-load --debug /opt/Signal/resources/apparmor-profile
+ cp -f /opt/Signal/resources/apparmor-profile /etc/apparmor.d/signal-desktop
+ hash apparmor_parser
+ apparmor_parser --replace --write-cache --skip-read-cache /etc/apparmor.d/signal-desktop
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.

This seems to have been caused by: 88cc0b0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions