Open sedlund opened 5 years ago
fix:
curl https://raw.githubusercontent.com/headmelted/codebuilds/master/codebuilds.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/codebuilds.gpg
chmod 644 /etc/apt/trusted.gpg.d/codebuilds.gpg
apt update
apt install code-oss
Thanks for the update on this and providing the fix - as the GPG key is actually installed in the post-install step of configuring the deb package, something must be wrong with how this is being set in the post-install script. I'll get a look at this asap and update this ticket.
Thanks again!
The gpg key needs to be installed before apt will read the repository. It will refuse to install any package from it.
localhost# . <( wget -O - https://code.headmelted.com/installers/apt.sh )
--2018-10-16 15:05:40-- https://code.headmelted.com/installers/apt.sh Resolving code.headmelted.com (code.headmelted.com)... 104.27.187.80, 104.27.186.80, 2606:4700:30::681b:ba50, ... Connecting to code.headmelted.com (code.headmelted.com)|104.27.187.80|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-sh] Saving to: ‘STDOUT’
2018-10-16 15:05:42 (1.72 MB/s) - written to stdout [2449]
Ensuring curl is installed Reading package lists... Done Building dependency tree
Reading state information... Done curl is already the newest version (7.52.1-5+deb9u6). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Architecture detected as ... bash: line 1: 404:: command not found Updating headmelted repository Repository install complete. Installing Visual Studio Code... Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package code-oss Visual Studio Code install failed.