我正在尝试从损坏的系统中恢复加密的主文件夹。我找到了几篇关于此的帖子,其中提到从实时会话运行 ecryptfs-recover-private。尝试使用 USB 闪存驱动器上的 18.04 进行此操作,但未安装 ecryptfs。终端输出:
sudo apt-get install -y ecryptfs-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ecryptfs-utils 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 'ecryptfs-utils' has no installation candidate
另外,是否可以在全新安装 18.04 之前将整个加密文件夹复制到另一个硬盘驱动器,然后恢复它?
答案1
sudo nano /etc/apt/sources.list
然后在每个存储库行的末尾添加 universe(该deb cdrom
行除外)。
然后您可以运行sudo apt update && sudo apt install ecryptfs-utils
来安装该包。