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.

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50
Lenovo IdeaPad Flex 5 14ITL05 Laptop 14" Intel i5-1135G7 8GB RAM 512GB SSD
$220.15
Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$319.99
Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99
Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1539.00
Lenovo - IdeaPad Slim 3i 15.3" 2K Touchscreen Laptop - Intel Core 7 350 2026 ...
$679.99
Lenovo ThinkPad X13 Gen 1 i5-10310U 16GB 512GB SSD Touch Win 11 Pro Good
$222.99
Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50