安装 testdisk 时出现依赖 libntfs10 错误

安装 testdisk 时出现依赖 libntfs10 错误

我想将 testdisk 安装到 ubuntu 10.04 LTS,但出现错误。有什么帮助吗?以下是输出:

# 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

我也尝试过:

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

我收到此错误:

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

答案1

运行以下命令:

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

现在,重试安装testdisk

sudo apt-get install testdisk

笔记:以上说明适用于 64 位机器。

相关内容