安装testdisk有问题

时间:2019-07-07 17:57:36

标签: linux installation sudo

我不知道如何解决这个问题,有人可以帮我吗。

The following packages have unmet dependencies:
 testdisk : Depends: libntfs-3g861
E: Unable to correct problems, you have held broken packages.

2 个答案:

答案 0 :(得分:0)

尝试以下操作:

sudo apt autoremove

这将删除所有独立的依赖项。然后尝试重新安装它。

或者您也可以尝试按照以下步骤删除损坏的程序包

sudo apt-get remove package_name

答案 1 :(得分:0)

在运行use std::sync::{Arc, Mutex}; use std::{thread, time}; fn main() { let data1 = Arc::new(Mutex::new(1)); let data2 = data1.clone(); let ten_millis = time::Duration::from_millis(10); let a = thread::spawn(move || loop { let mut data = data1.lock().unwrap(); thread::sleep(ten_millis); println!("ping "); *data += 1; if *data > 10 { break; } }); let b = thread::spawn(move || loop { let mut data = data2.lock().unwrap(); thread::sleep(ten_millis); println!("pong "); *data += 1; if *data > 10 { break; } }); a.join().unwrap(); b.join().unwrap(); } 之前尝试使用sudo apt updatesudo apt upgrade更新现有软件包