Can we remove dependency on IPtables from kinfocenter

# Dependency tree
~ pactree -r iptables
iptables
└─iproute2
  └─kinfocenter

# Attempting to remove iptables
~ sudo pacman -R iptables   
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing iptables breaks dependency 'libxtables.so=12-64' required by iproute2

# Attempting to remove iproute2
~ sudo pacman -R iproute2 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing iproute2 breaks dependency 'iproute2' required by kinfocenter

# Removing kinfocenter removes iptables
~ sudo pacman -Runs kinfocenter      
checking dependencies...
:: powerdevil optionally requires kinfocenter: for the Energy Information KCM
:: systemd optionally requires iptables: firewall features

Packages (14) aha-0.5.1-3  clinfo-3.0.23.01.25-1  dmidecode-3.6-1  iproute2-6.14.0-1  iptables-1:1.8.11-2  libmnl-1.0.5-2  libnetfilter_conntrack-1.0.9-2  libnfnetlink-1.0.2-2  libnftnl-1.2.9-1  mesa-utils-9.0.0-5
              vulkan-tools-1.4.309.0-1  wayland-utils-1.2.0-2  xorg-xdpyinfo-1.3.4-2  kinfocenter-6.3.4-1

Total Removed Size:  11.22 MiB

:: Do you want to remove these packages? [Y/n]

iproute2 - does NOT require iptables. See Arch Linux - iproute2 6.14.0-1 (x86_64)

Why kinfocenter does then? Can we make it optional? I do not use IPtables. KDEInfoCenter should only be pulling hardware stuff, there should be no need to access iptables.

That dependency would be set by the distro.

It isn’t on mine, so I don’t have it installed, just iproute2.

You would want to bring this up with Arch.

2 Likes