SQL Developer 2025 - "--include-unknown" installs another instance

Ouverte
#6,602 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 2 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
43/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
cpp
Domaine
backend, cli

Piste de recherche

Start by reproducing the issue with SQL Server 2025 Developer installed, then compare the output of winget update --include-unknown and winget update --all --include-unknown. The report identifies package version detection and repeated installation as the failure, but names no source files or tests, so trace how WinGet identifies installed package versions and find the relevant tests. Done means the installed version is recognized and repeated updates do not create another SQL Server instance.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Issue-Bug
Relevant area(s)

WinGet CLI

Relevant command(s)

No response

Brief description of your issue

SQL Server 2025 Developer is already installed on the PC.

When doing a "winget update all --include-unknown" switch, it downloads and starts another installation of SQL 2025 Developer, so another instance is created. This happens every time you run the update with the switch.

If you do a "winget update --include-unknown", it shows UNKNOWN for the installed SQL 2025 version.

Steps to reproduce

Install SQL Server 2025 Developer (either downloaded or through Winget)
Run "winget update --include-unknown" and you'll see a number of ODBC and other connection updates. SQL Server 2025 will show "UNKNOWN" for installed version.
Run "winget update --all --include-unknown" and another SQL server instance is installed with all available updates.
Once done, run "winget update --include-unknown" and it shows no updates are available, but SQL server 2005 will show "UNKNOWN" version.
Run "winget update --all --include-unknown" again, and another SQL server instance is installed.

Expected behavior

Not another installation of SQL server and another instance.

Actual behavior

SQL Server Developer 2025 version isn't seen by Winget, so whenever --include-unknown is used, another instance is installed.

Environment
Winget: v1.29.380
Windows: Windows 11 - 10.0.26300 Build 26300
Package: Microsoft.SQLServer.2025.Developer 17.0.1000.7
Langage dominant
C++
Étoiles
26.6k
Forks
1.8k
Merge moyen
3 j 10 h
PR mergées (30 j)
41

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de microsoft/winget-cli

Toutes les issues de microsoft/winget-cli

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.