我尝试sudo dpkg -i chntpw*
在 PC 上的 USB 驱动器上运行 Ubuntu。我收到此消息。
(Reading database ... 169714 files and directories currently installed.)
Preparing to unpack chntpw_1.0-1+b1_amd64.deb ...
Unpacking chntpw (1.0-1+b1) over (1.0-1+b1) ...
dpkg: dependency problems prevent configuration of chntpw:
chntpw depends on libgcrypt20 (>= 1.6.0); however:
Package libgcrypt20 is not installed.
dpkg: error processing package chntpw (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
chntpw
我正在尝试恢复丢失的密码。
答案1
如果你跑
sudo apt-get update
sudo apt-get install -f
这应该可以解决。但您需要连接到互联网。