B
blendOS•6mo ago
autumn (CIPG)

`visual-studio-code-bin` broken

Upon running VS Code, installed via the AUR package visual-studio-code-bin package, it prints this:
/usr/bin/code: line 11: /opt/visual-studio-code/bin/code: No such file or directory
/usr/bin/code: line 11: /opt/visual-studio-code/bin/code: No such file or directory
During AUR build, the only thing out of the ordinary printed is attached. I've also attached my system.yaml file.
Solution:
Use the flatpak or the tar.gz
Jump to solution
13 Replies
Valkyrja
Valkyrja•6mo ago
@hanna (password generator), you've gained the level 1
Asterisk
Asterisk•6mo ago
We know, /opt is emptied during build for some reason
Solution
Asterisk
Asterisk•6mo ago
Use the flatpak or the tar.gz
autumn (CIPG)
autumn (CIPG)OP•4mo ago
So I dug around a bit a few days ago, my best guess is that /opt needs to be copied over to /.update_rootfs/ or whatever but isn't, but I haven't really looked into it I'll look into it more once I'm feeling better, I'm sick rn Just sent over an MR/PR to fix this - was a super simple fix
Asterisk
Asterisk•4mo ago
🤩 I’ll merge it once I get back to my pc
autumn (CIPG)
autumn (CIPG)OP•4mo ago
well the commit ceased to exist sooooo i'll figure that out after lunch
Asterisk
Asterisk•4mo ago
huh Did you push Or somebody force pushed Which I doubt
autumn (CIPG)
autumn (CIPG)OP•4mo ago
@ム丂イ乇尺ノ丂ズ apparently i can't type ("borken" instead of "broken") so that's why it was being super wonky
autumn (CIPG)
autumn (CIPG)OP•4mo ago
GitLab
AUR packages work now (!6) · Merge requests · blendOS / System Tool...
Copies over /opt/ in the hook so that AUR packages (especially Electron ones) like VS Code work now. (see MR #5)
Asterisk
Asterisk•4mo ago
lol Merged
autumn (CIPG)
autumn (CIPG)OP•4mo ago
alright <3
Asterisk
Asterisk•4mo ago
I don’t think @Rudra set up repo automation so he’ll have to build manually I see a repo runner but it’s stale and hasn’t run any jobs Then we can build a new iso and you can update Once it’s packaged
autumn (CIPG)
autumn (CIPG)OP•4mo ago
btw, minor correction/nitpick: /opt actually was never emptied as far as I know (and if it was, that wasn't the issue), it just wasn't moved over to /new_root/ in akshara.hook

Did you find this page helpful?