-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Package area for Linux is not being kept up to date. #7883
Comments
If you look in the link ( https://packages.microsoft.com/yumrepos/vscode/Packages/c/ ) the highest version is ( v1.95.2 ) but when the client does an update it states that ( v1.95.0 ) is the highest version. Does this have something to do with what is pointed to some gpg link? code-1.94.2-1728494086.el8.x86_64.rpm 10-Oct-2024 15:05 138.8 MB |
A newer version has been posted. On SUSE 15 SP6 if I check the code ( zypper info code ) it says I am up to date. If I take a look at the web location, there is a new kit posted but I am not seeing it. code-1.95.3-1731513157.el8.x86_64.rpm `# zypper info code Information for package code:Repository : @System |
Just tried to execute ( zypper refresh 'Visual Studio Code' ) before the command ( zypper update ) and after the refresh, the SUSE system detects the newer VScode. Interesting that for the rest of the native ( SUSE ) repositories, a simple ( zypper update ) will detect newer versions where I have to perform an extra step to refresh the metadata for "Visual Studio Code". |
Figured it out. The command to add the "Visual Studio Code' repository to a new system does not include the line "autorefresh=1" when creating the local metadata file. The example how to add the repo looks like this and is missing the "autorefresh" flag, it would be nice if the instructions were updated and include the refresh flag. sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc |
If you make the change then the step in the example to refresh can be removed and automated system updates will also work for VScode. |
If you follow the instructions at the following URL https://code.visualstudio.com/docs/setup/linux for adding the VScode repositories to a Linux host for auto updating the area is not being kept up to date.
The current version available if you execute on SuSE 15 SP6 ( zypper info code ) you get the following.
Information for package code:
Repository : Visual Studio Code
Name : code
Version : 1.95.0-1730153639.el8
Arch : x86_64
Vendor : Microsoft Corporation
Support Level : unknown
Installed Size : 377.2 MiB
Installed : Yes
Status : up-to-date
Source package : code-1.95.0-1730153639.el8.src
Upstream URL : https://code.visualstudio.com/
Summary : Code editing. Redefined.
Description :
Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle. See https://code.visualstudio.com/docs/setup/linux
for installation instructions and FAQ.
If you run the Linux port of VScode and ask if there are any updates it will redirect you to Microsoft and tell you that the latest version is ( 1.95.2 ).
If Microsoft does not keep their repositories up to date it make it difficult for administrators to automatically keep the software up to date.
The text was updated successfully, but these errors were encountered: