PDA

View Full Version : apt-get install not working....



rrfish72
09-17-2004, 06:21 AM
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)

UnderScore
09-17-2004, 07:02 AM
I had the same problem. I fixed it by removing ntfsprogs, then adding/updating libnfs, then re-adding ntfsprogs.
I hope this helps.
James

rrfish72
09-17-2004, 02:22 PM
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)

champagnemojo
09-17-2004, 04:00 PM
You don't need to remove it. It just needs to overwrite a file. Try:


dpkg -i --force-all /var/cache/apt/archives/libntfs5_1.9.2-2_i386.deb

rrfish72
09-17-2004, 04:22 PM
Thank You that solved it.