Ubuntu: HC Package on Holo Tutorial

Hey there!
Im trying to rrun the Hello Holo tutorial with Ubuntu, everything was fine until I created the zomes then wrote ´hc package´ and got this error:

error: failed to acquire package cache lock

Caused by:
  failed to open: //.cargo/.package-cache

Caused by:
  Permission denied (os error 13)

Hope someone can help me fix this issue.


Hi @sdelvalle57 welcome to the forum. Sorry to hear you are having issues.
Just checking did you run hc generate and hc package from the root of the project?
Also where have you setup the project? I’d recommend placing it in your home directory.
It looks like the .cargo directory has been placed somewhere that requires high privileges?
Maybe something was run using sudo? (If so you shouldn’t need to ever use sudo.)

1 Like

Hi @freesig, is solved now, just had to restart the nix-shell after installing holchain love for the first time.

1 Like