Category Archives: Ubuntu

npm install fails with “npm ERR! tar.unpack untar error”

Problem npm failed randomly while installing packages. It didn’t matter which packages or if running on Debian itself or inside virtual machines using Ubuntu (vagrant). Upgrading npm to the latest version (sudo npm install -g npm@latest¬†) and clearing npm’s cache … Continue reading

Posted in Debian, Node.js, Ubuntu, Vagrant | Comments Off on npm install fails with “npm ERR! tar.unpack untar error”

Ubuntu: Mount encrypted home directory

After changing harddrives I needed to transfer some files from the old harddrive which had an encrypted home directory. The command sudo ecryptfs-recover-private did not work: sudo ecryptfs-recover-private /home/.ecryptfs/user/.ecryptfs/ INFO: Found [/home/.ecryptfs/user/.ecryptfs/]. Try to recover this directory? [Y/n]: INFO: Found … Continue reading

Posted in Ubuntu | Comments Off on Ubuntu: Mount encrypted home directory