Xmetalfanx / linuxSetup

Xmetal's Linux Scripts
GNU General Public License v3.0
2 stars 2 forks source link

Test VScode again #243

Closed Xmetalfanx closed 1 year ago

Xmetalfanx commented 1 year ago

since i will likely add vscodium and the vscode ..code is getting bloated in the f_ProductivitySoftware file i moved it to it's own file ... I just want to test that it still works after the move and I didn't break anything

Xmetalfanx commented 1 year ago

I saw an issue in my OpenSUSE Tumbleweed install but KDE Neon passes (with or without deb-get) no problem

Unexpected exception.
/etc/zypp/repos.d/vscode.repo: Section []: Line 1 contains garbage (no '=' or ':/?|,\' in key)
Please file a bug report about this.
See http://en.opensuse.org/Zypper/Troubleshooting for instructions.

note: it may have been because vscode and that file was already installed during the test

-e [code]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
type=rpm-md
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc

These are the official instructions ... where is the extra -e coming from? "echo -e " in the line below is the only idea i have

Xmetalfanx commented 1 year ago

source: https://en.opensuse.org/Visual_Studio_Code source: https://code.visualstudio.com/docs/setup/linux

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo zypper addrepo https://packages.microsoft.com/yumrepos/vscode vscode
sudo zypper refresh
sudo zypper install code

is on the OpenSUSE Page ... Are MS's docs out of date?

Switching to Open's simple instructions work a-ok ... I want to check fedora now because i do not trust MS's code for Fedora until i see it work.

Commit for OpenSUSE changes https://github.com/Xmetalfanx/linuxSetup/commit/fc5063675a3c5fed40abd625c954101d9fc6414f

Fedora's instructions say use the flatpak by the way

Xmetalfanx commented 1 year ago

Fedora (non-FP ... Microsoft's code) works fine in my VM test ... I am closing this