`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•3mo ago
@hanna (password generator), you've gained the level 1
🎄 Asterisk
🎄 Asterisk•3mo ago
We know, /opt is emptied during build for some reason
Solution
🎄 Asterisk
🎄 Asterisk•3mo ago
Use the flatpak or the tar.gz
hanna (password generator)
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•2mo ago
🤩 I’ll merge it once I get back to my pc
hanna (password generator)
well the commit ceased to exist sooooo i'll figure that out after lunch
🎄 Asterisk
🎄 Asterisk•2mo ago
huh Did you push Or somebody force pushed Which I doubt
hanna (password generator)
@ム丂イ乇尺ノ丂ズ apparently i can't type ("borken" instead of "broken") so that's why it was being super wonky
hanna (password generator)
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•2mo ago
lol Merged
hanna (password generator)
alright <3
🎄 Asterisk
🎄 Asterisk•2mo 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
hanna (password generator)
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
Want results from more Discord servers?
Add your server