LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt-get dist-upgrade errors (https://www.linuxquestions.org/questions/debian-26/apt-get-dist-upgrade-errors-193453/)

Pebcak 06-14-2004 02:55 PM

apt-get dist-upgrade errors
 
This weekend I installed Knoppix 3.4 to my hardrive as a stepping stone to installing Debian. It all went smoothly, once that is, I figured out that it was no longer knx-hdinstall but knx2hd. :rolleyes:

I then edited the /etc/apt/sources.list so it was looking to sid mirrors. I then did apt-get clean and apt-get update, all without a problem.

I then did apt-get dist-upgrade which is where it all fell apart on me. On doing the apt-get dist-upgrade I got the following:

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:
testdisk: Depends: libntfs5 (>= 1.9.0) but it is not installed
E: Unmet dependencies. Try using -f.

I do apt-get -f install I get the following:

Unpacking libntfs5 (from .../libntfs5_1.9.0-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libntfs5_1.9.0-1_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.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Does anyone have an idea as to what I can do to fix this so I can do the dist-upgrade?

Thanks

comprookie2000 06-14-2004 05:13 PM

I don't think you should do a dist-upgrade when you are green,you will most likely break something.I would apt-get install synaptic and then upgrade or install just what you need or want.

Pebcak 06-14-2004 08:22 PM

Quote:

Originally posted by comprookie2000
I don't think you should do a dist-upgrade when you are green,you will most likely break something.I would apt-get install synaptic and then upgrade or install just what you need or want.
Break something? What ever do you mean? :)

Be that as it may comprookie, got any ideas, pointers, suggestions on how I get myself out of this mess? :study:

Dead Parrot 06-14-2004 08:33 PM

Do you really need the testdisk program? Perhaps you should try removing the offending packages. You can reinstall them later, once you've got your system upgraded properly.

You can also try "apt-get -f dist-upgrade".

Pebcak 06-15-2004 04:27 AM

sigh. Thanks Dead Parrot removing testdisk worked. That'w what happens when you stare at an error message to long. The, what turns out to be, obvious idea is hidden from you.

I hate it when I do that.

Thanks for the help folks.


All times are GMT -5. The time now is 09:08 AM.