I had the same problem. I fixed it by removing ntfsprogs, then adding/updating libnfs, then re-adding ntfsprogs.
I hope this helps.
James
I keep getting this:
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
testdisk: Depends: libntfs5 (>= 1.9.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@rrfish72:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libntfs5
The following NEW packages will be installed:
libntfs5
0 upgraded, 1 newly installed, 0 to remove and 89 not upgraded.
306 not fully installed or removed.
Need to get 0B/61.8kB of archives.
After unpacking 160kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 109097 files and directories currently installed.)
Unpacking libntfs5 (from .../libntfs5_1.9.2-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libntfs5_1.9.2-2_i386.deb (--unpack):
trying to overwrite `/usr/lib/libntfs.so.5.0.0', which is also in package ntfsprogs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libntfs5_1.9.2-2_i386.deb
How do I fix the unmet dependancy?
E: Sub-process /usr/bin/dpkg returned an error code (1)
I had the same problem. I fixed it by removing ntfsprogs, then adding/updating libnfs, then re-adding ntfsprogs.
I hope this helps.
James
So how do I remove it when the apt-get feature is not even working because of that:
root@rrfish72:~# apt-get --purge remove ntfsprogs
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
ntfsprogs-dev: Depends: ntfsprogs (= 200309071734captive1) but it is not going to be installed
testdisk: Depends: libntfs5 (>= 1.9.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@rrfish72:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libntfs5
The following NEW packages will be installed:
libntfs5
0 upgraded, 1 newly installed, 0 to remove and 89 not upgraded.
306 not fully installed or removed.
Need to get 0B/61.8kB of archives.
After unpacking 160kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 109097 files and directories currently installed.)
Unpacking libntfs5 (from .../libntfs5_1.9.2-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libntfs5_1.9.2-2_i386.deb (--unpack):
trying to overwrite `/usr/lib/libntfs.so.5.0.0', which is also in package ntfsprogs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libntfs5_1.9.2-2_i386.deb
Is there another way to remove?
E: Sub-process /usr/bin/dpkg returned an error code (1)
You don't need to remove it. It just needs to overwrite a file. Try:
Code:dpkg -i --force-all /var/cache/apt/archives/libntfs5_1.9.2-2_i386.deb
Thank You that solved it.

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives
$59.99
1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10
Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99
USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09
USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47
Wholesale 5/10/100PCS 1MB- 64GB USB 2.0 Flash Drive Memory Stick Jump Drive Lot
$280.00
LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80
2021 Full Version Office Professional Plus for 1 PC Flash USB Drive
$59.99
128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99