vercel / hyper

A terminal built on web technologies

Home Page:https://hyper.is

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hyper snap package failed to install with tempdir error

mwoz123 opened this issue · comments

  • I am on the latest Hyper.app version

  • I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: Ubuntu 20.04 Linux pc 5.13.0-28-generic

  • Hyper.app version: hyper_3.2.0_amd64.snap

  • Link of a Gist with the contents of your .hyper.js:

  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):

  • The issue is reproducible in vanilla Hyper.app:

Issue

Can't install hyper snap package it seems broken :

marcin@pc:~/Pobrane$ sudo snap install ./hyper_3.2.0_amd64.snap 
error: cannot create temporary file: open /var/lib/snapd/snaps/.local-install-937340009: no such
       file or directory
marcin@pc:~/Pobrane$ sudo snap install ./hyper_3.2.0_amd64.snap 
error: cannot create temporary file: open /var/lib/snapd/snaps/.local-install-436111221: no such
       file or directory
marcin@pc:~/Pobrane$ sudo snap install ./hyper_3.2.0_amd64.snap 
error: cannot create temporary file: open /var/lib/snapd/snaps/.local-install-426828702: no such
       file or directory

I was able to install laterst 3.2.3 from snap with such options:

sudo snap install ./hyper_3.2.3_amd64.snap --dangerous --classic

confused why --dangerous ?
It relates to "assertions" in snapd. In this case, that is the verification that the snap comes from a trusted party. Since you're installing a local snap, you have no assertions for it, and snapd doesn't trust it.

source https://askubuntu.com/questions/822765/snap-install-failure-error-cannot-find-signatures-with-metadata-for-snap