Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install testdisk to ubuntu 10.04 LTS but i'm getting an error. Any help? Here is the output:

# sudo apt-get install testdisk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  testdisk: Depends: libntfs10 (>= 2.0.0) but it is not installable
E: Broken packages

I also tried:

wget http://launchpadlibrarian.net/40386584/libntfs10_2.0.0-1ubuntu4_i386.deb; sudo dpkg -i *.deb

And i get this error:

dpkg: error processing libntfs10_2.0.0-1ubuntu4_i386.deb (--install):
 package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
 libntfs10_2.0.0-1ubuntu4_i386.deb
share|improve this question
    
What does sudo apt-get install libntfs10 give you? Edit your question to add the above details please. –  SirCharlo Sep 7 '12 at 15:09
    
sudo apt-get install libntfs10 Reading package lists... Done Building dependency tree Reading state information... Done Package libntfs10 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package libntfs10 has no installation candidate –  user260223 Sep 7 '12 at 15:18
    
As I stated above, edit your question. Please do not post comments giving additional details. // Try this: cd /tmp; sudo mkdir temp; cd temp; sudo wget http://launchpadlibrarian.net/40386584/libntfs10_2.0.0-1ubuntu4_i386.deb; sudo dpkg -i *.deb; cd. Now, retry to install testdisk: sudo apt-get install testdisk. –  SirCharlo Sep 7 '12 at 15:19
    
Oh, you're on a 64-bit machine :) Here you go! cd /tmp; sudo mkdir temp2; cd temp2; sudo wget http://ubuntu.mirror.iweb.ca//pool/main/l/linux-ntfs/libntfs10_2.0.0-1ubuntu4_am‌​d64.deb; sudo dpkg -i *.deb; cd. Now, retry to install testdisk: sudo apt-get install testdisk. –  SirCharlo Sep 7 '12 at 15:34
    
thank you very much. –  user260223 Sep 7 '12 at 16:51

1 Answer 1

up vote 0 down vote accepted

Run the following commands:

cd /tmp
sudo mkdir download
cd download
sudo wget http://ubuntu.mirror.iweb.ca//pool/main/l/linux-ntfs/libntfs10_2.0.0-1ubuntu4_am‌​d64.deb
sudo dpkg -i *.deb
cd

Now, retry to install testdisk:

sudo apt-get install testdisk

Note: The above instructions are for a 64-bit machine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.