Nothing provides fedora-release < 42 needed by packages-microsoft-prod-1.1-2.noarch

i get this error with Fedora 42, any help?

# dnf update
Updating and loading repositories:
Repositories loaded.
Problem: cannot install the best update candidate for package packages-microsoft-prod-1.1-1.noarch
  - nothing provides fedora-release < 42 needed by packages-microsoft-prod-1.1-2.noarch from packages-microsoft-com-prod

Package                              Arch    Version                              Repository                           Size
Skipping packages with broken dependencies:
 packages-microsoft-prod             noarch  1.1-2                                packages-microsoft-com-prod       2.5 KiB

Nothing to do.

It means that the package is not yet ready for Fedora 42. Either remove it and reinstall when it is updated to be compatible with Fedora 42, or stick with Fedora 41 until it is ready.

2 Likes

It looks like Visual Studio Code is not yet available for Fedora 42: