OS Name/Version: Ubuntu 20.04
Problem Description:
I had an install and wanted to uninstall so i did “apt remove ampinstmgr” and deleted the amp under home. (Found on earler forum post)
I ended up wanting to use it anyway and when i try to install again.
I did: sudo su -l
and then: bash <(wget -qO- getamp.sh)
and got this error:
[Error] Failed to unpack AMP.
[Error] UnauthorizedAccessException
[Error] [0] (UnauthorizedAccessException) : Access to the path '/home/amp/.ampdata/instances/ADS01' is denied.
[Error] at IO.FileCreateDirectory (String fullPath)
at IO.Directory.CreateDirectory (String path)
at InstanceManagerPlugin.LocalInstanceManager.DownloadAndUnpack (InstanceManagerPlugin.LocalAMPInstance Spec, Boolean SkipCache)
[Error] IOException
[Error] [1] (IOException) : Permission denied
[Info] Instance creation failed. Reason: "The core archive failed to download or unpack"