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

Abierto
#6,602 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
43/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
backend, cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
C++
Estrellas
26.6k
Forks
1.8k
Merge medio
3 d 10 h
PR fusionados (30 d)
41

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/winget-cli

Todos los issues de microsoft/winget-cli

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.