Hello Abhishek Looks like you are trying to install a 3rd party nmap deb
``` Start-Date: 2024-07-16 22:37:17 Commandline: apt install ./ncat_7.95-3_amd64.deb Requested-By: abhishek (1000) Upgrade: ncat:amd64 (7.94+git20230807.3be01efb1+dfsg-3build2, 7.95-3) End-Date: 2024-07-16 22:37:21 Start-Date: 2024-07-16 22:39:03 Commandline: apt install ./nmap_7.95-3_amd64.deb Requested-By: abhishek (1000) Upgrade: nmap:amd64 (7.94+git20230807.3be01efb1+dfsg-3build2, 7.95-3) ``` A simple solution is to uninstall the `ndiff` from Ubuntu ``` Start-Date: 2024-07-16 22:34:36 Commandline: apt install zenmap Requested-By: abhishek (1000) Install: zenmap:amd64 (7.94+git20230807.3be01efb1+dfsg-3build2), ndiff:amd64 (7.94+git20230807.3be01efb1+dfsg-3build2, automatic) End-Date: 2024-07-16 22:34:40 ``` This is a problem because the nmap deb you are trying to install has a whole different set of files - as compared to the one from Ubuntu archives. ** Changed in: nmap (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073289 Title: package nmap 7.94+git20230807.3be01efb1+dfsg-3build2 failed to install/upgrade: trying to overwrite '/usr/bin/ndiff', which is also in package ndiff 7.94+git20230807.3be01efb1+dfsg-3build2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/2073289/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs