linutil icon indicating copy to clipboard operation
linutil copied to clipboard

apt error after installing vscodium on Debian Bookworm

Open bsmith149810 opened this issue 1 year ago • 3 comments

Describe the bug

A clear and concise description of what the bug is. Updating apt package manager ends with error message after installing VScodium via linutl.

To Reproduce

Install VScodium from linutil's interface. Using Debian 12 Bookworm open bash terminal. run sudo apt update Command ends with error message:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://download.vscodium.com/debs vscodium InRelease' doesn't support architecture 'i386'

To Resolve

Using Debian 12 Bookworm open bash terminal run sudo apt edit-sources vscodium.list

Original /etc/apt/sources.list.d/vscodium.list opens:

deb [signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg] https://download.vscodium.com/debs vscodium main

add "arch=amd64" at beginning & inside of square brackets:

deb [arch=amd64 signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg] https://download.vscodium.com/debs vscodium main

Save and exit vscodium.list.

Additional context

Apologies if I missed this being resolved elsewhere or if the issue is outside of linutil. I'm not a developer at all, and this is the first bug report I've sent after Three years of using Linux so this may be completely wrong, but it looks like changing line 11 in /applications/Developer-tools/vscodium-setup.sh could resolve it.

See https://askubuntu.com/questions/741410/skipping-acquire-of-configured-file-main-binary-i386-packages-as-repository-x for more detailed solutions.

bsmith149810 avatar Oct 25 '24 02:10 bsmith149810

In a terminal, run uname -a and add a comment with the output, please.

cartercanedy avatar Oct 25 '24 04:10 cartercanedy

Just read your fix. Please submit a PR with your change. If you're not familiar with the contributing workflow on GitHub, though, either I or one of the other maintainers can submit the fix for you. Thanks for the bug report

cartercanedy avatar Oct 25 '24 04:10 cartercanedy

If you're not familiar with the contributing workflow on GitHub

... then read the Contributing Guidelines :)

adamperkowski avatar Oct 25 '24 12:10 adamperkowski