[apparmor] Installing apparmor-tools with zypper/yast (openSUSE 13.2): too many dependencies?

s at schinger.de s at schinger.de
Fri Oct 16 10:04:06 UTC 2015


Hi,
thanks for your answers! The zypper option "--no-recommends" doesn't
helped much, because most of the dependencies were forced packages (only
a few were recommended). But it gave my the idea to install it without
zypper but instead using rpm directly:
rpm -i apparmor-utils-2.9.1-4.1.noarch.rpm

Now everything seems to be fine and the yast- and aa-tools are working
as expected without hundreds of unneccessary packages. So I also guess
it is a Suse-specific problem or bug (not the first one)... ;-)
Regards,
Sascha

Am 14.10.2015 um 19:42 schrieb Christian Boltz:
> Hello,
> 
> Am Mittwoch, 14. Oktober 2015 schrieb Robert Munteanu:
>> On Tue, Oct 13, 2015 at 1:54 PM,  <s at schinger.de> wrote:
>>> I don't know if this is the right way to ask for help, sorry. But
>>> can
>>> you please tell me if it is normal when installing apparmor-tools
>>> with zypper or yast under openSUSE 13.2, than there will be also
>>> hundreds (~250!) of further packages installed like Mesa,
>>> PackageKit, samba-client and many libraries? I can't get the point
>>> why they should be neccessary. It is a webserver which should NOT
>>> run samba etc. so how it would be possible (if so) to install
>>> apparmor WITHOUT this stuff (~300 Mb!) but only with the minimum
>>> needs for managing profiles?
>> This is most likely SUSE-specific, but IIRC apparmor-utils recommends
>> libnotify-send, to send desktop notifications.
> 
> Right. That's used by aa-notify -p - and I'm sure you'll never use 
> desktop notifications on a server ;-)  (the other parts of aa-notify 
> work without libnotify-send)
> 
> That said: that's indeed an interesting[tm] dependency chain!
> 
>> The solution is to use zypper in --no-recommends for installing
>> apparmor.
> 
> Or zypper al libnotify-send ;-)
> 
> BTW: apparmor-utils also recommend net-tools (in 13.2 and leap) or
> net-tools-deprecated (tumbleweed) because aa-unconfined needs netstat.
> The good thing about net-tools{,-deprecated} is that it doesn't drag in 
> a large dependency chain, so you might want to install that one.
> 
> 
> Regards,
> 
> Christian Boltz
> 



More information about the AppArmor mailing list