-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use dpkg instead of apt for install local packages #1
Conversation
Not sure I agree with this as dpkg won't pull in any missing dependencies |
You probably need to add in an apt update, and apt upgrade, at the start of the script then? the apt install will fail if the database hasn't been initiated (I think?). So if apt has never been run on the machine before. |
@XECDesign Can you advise? If I get a chance I'll try to reproduce the error this afternoon. |
I think that's because you needed an apt update, apt upgrade. I'm not sure I want to force that in case it breaks something else for the user, but maybe just refuse to run if there are out of date packages? |
As an alternative approach, how close are we to being able to install the right version of vscode directly from the apt repos @XECDesign , instead of having to use wget to download the deb file manually? |
So, I've been investigating this today with a freshly-flashed SD card each time... see logs below. The setup script always installs VSCode okay on RPiOS Lite, it seems the only situation in which it doesn't work is if you're running RPiOS (GUI) and haven't done an Log snippets(apart from the failing-case, I've copied each log from
|
My guess was correct: #3 |
Microsoft are going to add VSCode to their repo soon, so we should be able to point at their repo to install Microsoft stuff (including .NET libraries etc.) Otherwise we cannot re-distribute the .deb file and therefore can't add it to our repo. Gordon |
No description provided.