OPiZ fail to install
OPiZ running ARMBIAN 5.59 stable Ubuntu 18.04.1 LTS 4.14.65-sunxi.
I ssh into OPiZ.
Per instructions I run: . <( wget -O - https://code.headmelted.com/installers/chromebook.sh )
Fails to find code-oss and drops out of ssh session.
A similar problem arose for a RPi body and suggestion was to run :
sudo apt-get install -y apt-transport-https
Running that does not solve the problem.
Original session log is:
root@orangepizero:~# . <( wget -O - https://code.headmelted.com/installers/apt.sh )
--2018-10-07 03:29:35-- https://code.headmelted.com/installers/apt.sh
Resolving code.headmelted.com (code.headmelted.com)... 104.27.186.80, 104.27.187.80, 2606:4700:30::681b:ba50, ...
Connecting to code.headmelted.com (code.headmelted.com)|104.27.186.80|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-sh]
Saving to: ‘STDOUT’
- [ <=> ] 2.09K --.-KB/s in 0s
2018-10-07 03:29:36 (5.27 MB/s) - written to stdout [2136]
Detecting architecture...
Ensuring curl is installed
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpthread-stubs0-dev libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libx11-6 libx11-data libxau-dev libxau6
libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 python python-cliapp python-markdown python-minimal python-ttystatus
python-yaml python2.7 python2.7-minimal x11proto-core-dev x11proto-dev xorg-sgml-doctools xtrans-dev
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libcurl4
The following packages will be upgraded:
curl libcurl4
2 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
Need to get 336 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com bionic-security/main armhf curl armhf 7.58.0-2ubuntu3.3 [152 kB]
Get:2 http://ports.ubuntu.com bionic-security/main armhf libcurl4 armhf 7.58.0-2ubuntu3.3 [183 kB]
Fetched 336 kB in 2s (150 kB/s)
(Reading database ... 33036 files and directories currently installed.)
Preparing to unpack .../curl_7.58.0-2ubuntu3.3_armhf.deb ...
Unpacking curl (7.58.0-2ubuntu3.3) over (7.58.0-2ubuntu3.2) ...
Preparing to unpack .../libcurl4_7.58.0-2ubuntu3.3_armhf.deb ...
Unpacking libcurl4:armhf (7.58.0-2ubuntu3.3) over (7.58.0-2ubuntu3.2) ...
Setting up libcurl4:armhf (7.58.0-2ubuntu3.3) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up curl (7.58.0-2ubuntu3.3) ...
Architecture detected as ...
Detected operating system as Ubuntu/bionic.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/headmelted_codebuilds.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.
The repository is setup! You can now install packages.
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.
Connection to 192.168.0.100 closed.
I take it you meant . <( wget -O - https://code.headmelted.com/installers/apt.sh ), not chromebook.sh as you initially said. Were you able to reproduce this more recently, as the install script has been changed quite a bit since then, and perhaps the package index wasn't being updated after the headmelted repo was added or something like that.