Package Base Details: apparmor

Git Clone URL: https://aur.archlinux.org/apparmor.git (read-only)
Keywords: hardening linux LSM MAC security
Submitter: Harvie
Maintainer: edh
Last Packager: edh
Votes: 100
Popularity: 0.903064
First Submitted: 2010-10-28 14:55
Last Updated: 2018-04-16 18:33

Pinned Comments

phil.dubois commented on 2018-05-01 00:05

@sipakli That error has to do with the perl-rpc-xml package and is documented here: https://github.com/rjray/rpc-xml/issues/14

My workaround was to comment out the IPv6 part of my /etc/hosts file during the installation. I don't use IPv6 so I don't know if you'll be affected.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

svadkos commented on 2018-08-14 13:37

aa-notify

Can't locate LibAppArmor.pm in @INC (you may need to install the LibAppArmor module) (@INC contains: /usr/lib/perl5/5.28/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.28/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.28/core_perl /usr/share/perl5/core_perl) at /usr/bin/aa-notify line 28.

Already tried to rebuild perl-rpc-xml and apparmor.

edh commented on 2018-07-30 00:32

Please provide full logs of the makepkg output (not just the output of an AUR helper). This way one may avoid ambiguity.

viq commented on 2018-07-29 19:00

@edh FWIW, same complaint is presented by makepkg -i in the cloned dir.

viq commented on 2018-07-23 11:17

@edh I just had the same issue on another system, trying to install using aurman after commenting out #::1 localhost.localdomain localhost in /etc/hosts, just aurman -S apparmor ends up eventually in

Packages (2) apparmor-2.13.0-2  apparmor-utils-2.13.0-2

Total Installed Size:  1,13 MiB

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring                                         [########################################] 100%
(2/2) checking package integrity                                       [########################################] 100%
(2/2) loading package files                                            [########################################] 100%
(2/2) checking for file conflicts                                      [########################################] 100%
error: failed to commit transaction (conflicting files)
apparmor-utils: /usr/bin/aa-teardown exists in filesystem (owned by apparmor-parser)
apparmor-utils: /usr/lib/systemd/system/apparmor.service exists in filesystem (owned by apparmor-parser)
Errors occurred, no packages were upgraded.
2018-07-23 13:14:53,699 - wrappers - pacman - ERROR - pacman query ['sudo', 'pacman', '--upgrade', '--asdeps', 'apparmor-utils-2.13.0-2-x86_64.pkg.tar.xz', 'apparmor-2.13.0-2-x86_64.pkg.tar.xz'] failed                                   
~~ the following packages are now orphans
:: aur/apparmor-pam, community/perl-file-tail, aur/apparmor-profiles, aur/perl-rpc-xml, aur/apparmor-vim

francoism90 commented on 2018-07-23 08:13

@edh I still need to uncomment the IPV6 entry in /etc/hosts as commented by @phil.dubois and @imriss. Maybe a sticky should be added? :)

edh commented on 2018-07-23 05:28

@viq Sorry, but I can not reproduce your error in a clean chroot. Would you be so kind as to elaborate a little as to what you have done prior to installing the package and which commands you used to do so?

viq commented on 2018-07-22 21:01

error: failed to commit transaction (conflicting files)
/usr/bin/aa-teardown exists in both 'apparmor-parser' and 'apparmor-utils'
/usr/lib/systemd/system/apparmor.service exists in both 'apparmor-parser' and 'apparmor-utils'

imriss commented on 2018-06-19 12:18

@edh I agree. Regarding the patch, it is for RPC-XML, not apparmor. I do not suggest to add it to the package. Just mentioned it, in case someone had problem with t/40 error while compiling the RPC-XML dependency. The tracking ticket for that patch is available here: https://rt.cpan.org/Public/Bug/Display.html?id=120472

edh commented on 2018-06-15 18:16

@imriss Regarding the GPG key retrieval: This is not how the web of trust works or let alone the AUR. GPG keys are supposed to be fetched manually and with heightened attention.

Regarding the patch: Would you be so kind as to elaborate why it is essential to back-port the change. Packages in Arch Linux are supposed to be as clean as possible.

Btw. how you chose to pipe around the shell output is overly convoluted since you actually just want the IP address.

imriss commented on 2018-06-15 01:37

Also, this could be used to retrieve their GPG key:

ping -c 1 pool.sks-keyservers.net | grep -i 'bytes from' | awk -F'(' '{print $2}' | awk -F')' '{print $1}' | xargs -I '{}' gpg --recv-keys --keyserver '{}' 3ECDCBA5FB34D254961CC53F6689E64E3D3664BB;