It appears that there is a conflict between the `iptables-persistent` and `ufw` packages, leading to the automatic removal of the `ufw` package during the installation process.
Problem Description:
When attempting to install `iptables-persistent` on Debian 12 Bookworm, I noticed that it automatically removes the `ufw` package.
This behavior is different from Debian 10 Buster, where both packages could coexist without any issues.
Steps to Reproduce:
1. Attempt to install `iptables-persistent` on Debian 12 Bookworm.
2. Observe that the installation process automatically removes the `ufw` package.
Expected Behavior:
Ideally, both `iptables-persistent` and `ufw` should be able to coexist on the system without one package being automatically removed during the installation of the other.
Installation Issue:
Code: Select all
root@DEB-NUC11TNH-BTTN22900SU1:~# apt-get install iptables-persistent
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
netfilter-persistent
The following packages will be REMOVED:
ufw
The following NEW packages will be installed:
iptables-persistent netfilter-persistent
0 upgraded, 2 newly installed, 1 to remove and 3 not upgraded.
Need to get 0 B/16.4 kB of archives.
After this operation, 788 kB disk space will be freed.
Do you want to continue? [Y/n]
This issue appears to be specific to Debian 12 Bookworm, as there were no such conflicts observed on Debian 10 Buster.
System Details :
Code: Select all
root@DEB-NUC11TNH-BTTN22900SU1:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@DEB-NUC11TNH-BTTN22900SU1:~# uname -a
Linux DEB-NUC11TNH-BTTN22900SU1 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux
root@DEB-NUC11TNH-BTTN22900SU1:~#