Microsoft repository by default higher priority than base system. Problem?

I’ve installed https://vscode.download.prss.microsoft.com/dbazure/download/insider/3e41bfbe49c8ba3165dfcd3ab54db75430950774/code-insiders-1.88.0-1711484226.el8.x86_64.rpm using the instructions available at vscode-docs/docs/setup/linux.md at 463630e70436308da191b917656571c7afb78797 · microsoft/vscode-docs · GitHub :

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
dnf check-update
sudo dnf install code-insiders

However,

dnf repolist

now reports

repo id                                                                                                                              repo name
code                                                                                                                                 Visual Studio Code
fedora                                                                                                                               Fedora 40 - x86_64
fedora-cisco-openh264                                                                                                                Fedora 40 openh264 (From Cisco) - x86_64
fedora-cisco-openh264-debuginfo                                                                                                      Fedora 40 openh264 (From Cisco) - x86_64 - Debug
fedora-debuginfo                                                                                                                     Fedora 40 - x86_64 - Debug
google-chrome                                                                                                                        google-chrome
rpmfusion-nonfree-steam                                                                                                              RPM Fusion for Fedora 40 - Nonfree - Steam
rpmfusion-nonfree-steam-debuginfo                                                                                                    RPM Fusion for Fedora 40 - Nonfree - Steam Debug
updates                                                                                                                              Fedora 40 - x86_64 - Updates
updates-debuginfo                                                                                                                    Fedora 40 - x86_64 - Updates - Debug
updates-testing                                                                                                                      Fedora 40 - x86_64 - Test Updates
updates-testing-debuginfo                                                                                                            Fedora 40 - x86_64 - Test Updates Debug

code is at position 2, above even fedora. Might this be problematic?

If so, I’ll file a Sign in to GitHub · GitHub.

They’re in alphabetical order; is that a problem for you?

1 Like

I thought they were in priority order, @sideburns. Used to zypper. Apologies.