Error on install basic package iputils with microdnf

Hello all!

ok, i am trying to install iputils in container from almalinux:9.4-minimal in kubernetes.

kubectl run -it myalma --image=almalinux:9.4-minimal -- bash

next, i am going to install it.

[root@myalma /]# microdnf install -y iputils
Downloading metadata...
Downloading metadata...
Downloading metadata...
Package                                                                                                                              Repository                                           Size
Installing:                                                                                                                                                                                   
 iputils-20210202-9.el9.x86_64                                                                                                       baseos                                           171.1 kB
Transaction Summary:
 Installing:        1 packages
 Reinstalling:      0 packages
 Upgrading:         0 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Installing: iputils;20210202-9.el9;x86_64;baseos
error: Error -1 running transaction

I have no idea where to start to fix it. Tools from this packages are mandatory for my container.
Very interesting is also my try to do microdnf update this time i get same error for updating shadow-utils.

[root@myalma2 /]# microdnf update 
Downloading metadata...
Downloading metadata...
Downloading metadata...
Package                                                                                                                              Repository                                          Size
Upgrading:                                                                                                                                                                                   
 shadow-utils-2:4.9-9.el9.x86_64                                                                                                     baseos                                            1.2 MB
   replacing shadow-utils-2:4.9-8.el9.x86_64                                                                                                                                                 
Transaction Summary:
 Installing:        0 packages
 Reinstalling:      0 packages
 Upgrading:         1 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Is this ok [y/N]: y
Downloading packages...
Running transaction test...
Updating: shadow-utils;2:4.9-9.el9;x86_64;baseos
error: Error -1 running transaction

No idea if these two problems are connected to each other.

So i need to ask. How can i debug it? What i am doing wrong? I need my beloved ping :smiley:

problem solved

i added SETFCAP capabilities to k8s manifest

       securityContext:
          runAsUser: 0
          capabilities:
            add:
            - SETFCAP
            - NET_RAW

i thought that NET_RAW is enough, but not - i also need SETFCAP