Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

Installation • Conflict between iptables-persistent and ufw Packages on Debian12 Bookworm

$
0
0
I've encountered issue while working with Debian 12 Bookworm Backport while installing `iptables-persistent` package.
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:

root@DEB-NUC11TNH-BTTN22900SU1:~# apt-get install iptables-persistent Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneThe following additional packages will be installed:  netfilter-persistentThe following packages will be REMOVED:  ufwThe following NEW packages will be installed:  iptables-persistent netfilter-persistent0 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]
**Additional Information:**

This issue appears to be specific to Debian 12 Bookworm, as there were no such conflicts observed on Debian 10 Buster.

System Details :

Code:

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=bookwormID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"root@DEB-NUC11TNH-BTTN22900SU1:~# uname -aLinux 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/Linuxroot@DEB-NUC11TNH-BTTN22900SU1:~#
Thank you for your attention, and I look forward to your contributions and insights on this matter.

Statistics: Posted by Rutuja — 2024-02-27 13:46



Viewing all articles
Browse latest Browse all 2901

Trending Articles