[Bug 976914] New: package apparmor-profiles: installation error
http://bugzilla.opensuse.org/show_bug.cgi?id=976914 Bug ID: 976914 Summary: package apparmor-profiles: installation error Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: AppArmor Assignee: suse-beta@cboltz.de Reporter: comes@naic.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After a standard installation, I found this error in /var/log/zypp/history: # 2016-04-20 20:35:54 apparmor-profiles-2.10-3.2.noarch.rpm installed ok # Additional rpm output: # /var/tmp/rpm-tmp.03xP9z: line 2: rm: command not found # 2016-04-20 20:35:54|install|apparmor-profiles|2.10-3.2|noarch||openSUSE-42.1-0|7af325592efeb305ac6a705fa93ac4defa98a4fe| The problem is that apparmor-profiles is installed before coreutils and at that time the binary rm, used in the postinstall scriptlet, is not available yet. A possible fix is to add this line in apparmor.spec: BuildArch: noarch +Requires(pre): coreutils -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=976914
http://bugzilla.opensuse.org/show_bug.cgi?id=976914#c1
--- Comment #1 from Christian Boltz
http://bugzilla.opensuse.org/show_bug.cgi?id=976914
http://bugzilla.opensuse.org/show_bug.cgi?id=976914#c2
Christian Boltz
participants (1)
-
bugzilla_noreply@novell.com