Results 1 to 3 of 3

Thread: Visual Studio Code repo fails signature verification

  1. #1
    Join Date
    May 2015
    Location
    Italy
    Posts
    377

    Default Visual Studio Code repo fails signature verification

    Hi all,
    I know this is not an official repository, but I just would like to know if anybody else is seeing this problem with MS Visual Studio Code repository.

    Problem is, starting today I have this message:

    Code:
    Retrieving repository 'Visual Studio Code' metadata -----------------------------------------------------------------------------------------------------------------------------------[\]
    Signature verification failed for file 'repomd.xml' from repository 'Visual Studio Code'.
    
        Note: Signing data enables the recipient to verify that no modifications occurred after the data
        were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
        and in extreme cases even to a system compromise.
    
        Note: File 'repomd.xml' is the repositories master index file. It ensures the integrity of the
        whole repo.
    
        Warning: This file was modified after it has been signed. This may have been a malicious change,
        so it might not be trustworthy anymore! You should not continue unless you know it's safe.
    
    Signature verification failed for file 'repomd.xml' from repository 'Visual Studio Code'. Continue? [yes/no] (no):
    Retrieving repository 'Visual Studio Code' metadata ...............................................................................................................................[error]
    Repository 'Visual Studio Code' is invalid.
    [code|https://packages.microsoft.com/yumrepos/vscode] Valid metadata not found at specified URL
    Please check if the URIs defined for this repository are pointing to a valid repository.
    Skipping repository 'Visual Studio Code' because of the above error.
    VSCode web page does not mention changing the key, and it apparently has no expiration date.

    Thank you in advance
    Cris
    Last edited by Cris70; 11-Oct-2019 at 04:10. Reason: Adding more useful info
    Desktop: OpenSUSE Tumbleweed (x86_64) - AMD FX-8350 Eight-Core Processor, 16Gb RAM, 120GB Samsung Evo 840 SSD
    Laptop: OpenSUSE Tumbleweed (x86_64) - Thinkpad T440 - Intel i5-4210U, 12Gb RAM, 250GB Samsung EVO 750 SSD

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,293
    Blog Entries
    2

    Default Re: Visual Studio Code repo fails signature verification

    Without actually looking at this,
    I'm not too surprised that there might be problems...
    There's another thread about accessing MSSQL 15/17 on Linux, and that repo had problems too, but likely different

    A brief look suggests to me that this repository might be an older, deprecated version of YUM.

    If you look at the individual packages, they're also all over 2 years old... Who knows when it'll be updated again.

    So,
    My suggestions...
    Assuming these are install packages,
    If you want the latest, I'd recommend you just go to Github, clone the current source and build. This used to be the only way to install years ago and I assume should work just as well today.

    If you want to install an RPM (I'm not sure why if there are no updates) then just point your zypper install directly at the package (yes, you can install a package using a URL).

    IMO,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    May 2015
    Location
    Italy
    Posts
    377

    Default Re: Visual Studio Code repo fails signature verification

    Hi TSU, and thank you for your reply.

    I don't know where you looked, but I suspect you're looking at the wrong spot.

    VSCode is updated quite regularly, and the most recent package at https://packages.microsoft.com/yumrepos/vscode/ is from today.

    There are actually several ways of installing VSCode in linux: there are official .deb and .rpm packages as well as a snap package, as you can see on https://code.visualstudio.com/.

    You can also install through an official repository as you can read from https://code.visualstudio.com/docs/setup/linux, and openSUSE is mentioned on that very same page (https://code.visualstudio.com/docs/s...-distributions).

    They must have noticed that something was wrong, because I checked again right before writing this message, and zypper is not complaining anymore.

    Thank you btw for your willingness to help, and I hope this thread can be of help to others having the same problem or looking for information about vscode.

    Cris
    Desktop: OpenSUSE Tumbleweed (x86_64) - AMD FX-8350 Eight-Core Processor, 16Gb RAM, 120GB Samsung Evo 840 SSD
    Laptop: OpenSUSE Tumbleweed (x86_64) - Thinkpad T440 - Intel i5-4210U, 12Gb RAM, 250GB Samsung EVO 750 SSD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •