Run Ecryptfs from Live Usb (Solved)

Run Ecryptfs from Live Usb (Solved)

I am trying to recover an encrypted home folder from a broken system. I found several posts on this, referring to running ecryptfs-recover-private from a live session. Trying this using a 18.04 on a USB flash drive but ecryptfs is not installed. Output from terminal:

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

As an alternate is it possible to copy the entire encryped folder over to another hard drive before fresh install of 18.04 and then recover it?

1 Answer

sudo nano /etc/apt/sources.list

Then add universe on the end of each repository line (except for the deb cdrom line).

You can then run sudo apt update && sudo apt install ecryptfs-utils to install the package.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.