VSCODE Help
#1
First off Noob as in, I haven't touched a Linux based machine in a very, very long time and my skills are RUSTY so go easy on me.

I'm trying to install VSCode on my new Pinebook Pro with the hopes of using it for light front-end dev work. I downloaded the Debian version of the package. When I initiate the install I get this error...


"error wrong architecture amd64 run dpkg --add-architecture to add it and update afterwards"

I've done some digging but many of the solutions are 2 and 3 years old and nothing that specifically speaks to the error listed.

What steps should I take to install the amd64 and update as suggested?

Any help is appreciated.

Thanks
#2
amd64 is the wrong architecture (it's x86)... Since the Pinebook has an ARM SoC, it uses arm64 as architecture. You can run either arm64 or armhf packages directly, everything else would need an emulator. Check if there are either arm64 packages for VSCODE or how to build it natively.
Come have a chat in the Pine IRC channel >>
#3
(11-04-2019, 05:41 PM)xalius Wrote: amd64 is the wrong architecture (it's x86)... Since the Pinebook has an ARM SoC, it uses arm64 as architecture. You can run either arm64 or armhf packages directly, everything else would need an emulator. Check if there are either arm64 packages for VSCODE or how to build it natively.


Chose armhf over arm64 otherwise, I assume, you would need to pull in the arm64 run-time environment (libc etc) as well.
#4
I successfully installed this: https://github.com/headmelted/codebuilds
Check instructions here to install a working version (latest  onejust shows a blank screen) https://github.com/headmelted/codebuilds/issues/64

As indicated in this Github issue, the package that works for me is  code-oss=1.29.0-1539702286
#5
Thanks for the input everyone. I'm going to work on it tonight. Fingers crossed.
#6
(11-04-2019, 08:48 PM)xircledev Wrote: Thanks for the input everyone. I'm going to work on it tonight. Fingers crossed.


I was able to get an older version running in another thread: 

https://forum.pine64.org/showthread.php?...5#pid51655

Code:
# Install package cloud repo
curl -s https://packagecloud.io/install/repositories/headmelted/codebuilds/script.deb.sh | sudo bash
# Install code-oss
sudo apt install code-oss=1.29.0-1539702286
# Prevent upgrade
sudo apt-mark hold code-oss
#7
(11-05-2019, 11:09 AM)electriccrowbar Wrote:
(11-04-2019, 08:48 PM)xircledev Wrote: Thanks for the input everyone. I'm going to work on it tonight. Fingers crossed.


I was able to get an older version running in another thread: 

https://forum.pine64.org/showthread.php?...5#pid51655

Code:
# Install package cloud repo
curl -s https://packagecloud.io/install/repositories/headmelted/codebuilds/script.deb.sh | sudo bash
# Install code-oss
sudo apt install code-oss=1.29.0-1539702286
# Prevent upgrade
sudo apt-mark hold code-oss

Having used this workaround for several months, I decided to try the latest version of headmelted's code-oss on my Ubuntu Mate Pinebook Pro.
I am now running code-oss version 1.45.0-1586135927 (armhf) and all seems to be working fine.
#8
(11-04-2019, 04:46 PM)xircledev Wrote: First off Noob as in, I haven't touched a Linux based machine in a very, very long time and my skills are RUSTY so go easy on me.

I'm trying to install VSCode on my new Pinebook Pro with the hopes of using it for light front-end dev work. I downloaded the Debian version of the package. When I initiate the install I get this error...


"error wrong architecture amd64 run dpkg --add-architecture to add it and update afterwards"

I've done some digging but many of the solutions are 2 and 3 years old and nothing that specifically speaks to the error listed.

What steps should I take to install the amd64 and update as suggested?

Any help is appreciated.

Thanks

I run VSCodium on my Pinebook Pro successfully. It has aarch64 packages on it GitHub page as well as an AUR script for Arch...

https://github.com/VSCodium/vscodium


Forum Jump:


Users browsing this thread: 2 Guest(s)