-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package installed from private repository is being listed as being installed from public repository #227
Comments
This doesn't seem to be an issue on every machine. I just pushed the package to 35 machine and it is reporting incorrectly on about half of them. |
Was this application installed on any of the devices before the push? It's possible an entry from the installed database showed winget as the source before the private source was added. Possible work around: We don't have a notion of an order of preference for a source when the package is available in more than one source yet. |
Yes, the application was already installed. I tried to upgrade it to a newer version. Unfortunately, uninstalling it and reinstalling did not work. I even updated the package to have the same ID as the public repository to see if that would help, but it did not. Oddly enough, this was not an issue with the previous version. In doing this testing, I may have found why I am having issues. I am having trouble with the internal repository after I uploaded a new version of an (unrelated) application. It looks like that may be keeping WinGet from exporting packages from the private repository. This is the error I am seeing on the other repository:
|
@Smith8154 I'm going to transfer this issue to the winget-cli-restsource repository so we can look into troubleshooting what went wrong since it seems like it may be an issue with the REST implementation then. |
@denelon Is there anyone who can help me look into this? |
Below is the YAML for the manifest. I only started having this issue after I uploaded version 8.05 to the repository.
|
Brief description of your issue
When installing an application from our internal WinGet repository, WinGet is listing the package as being installed from the public WinGet repository.
Steps to reproduce
Upload a package to an internal WinGet repository, where the same package exists in the public WinGet repository.
Install the package from the private repository.
Export the list of installed packages. It will show the package as being installed from the public repository, not the private one.
Expected behavior
I would expect WinGet to show the package as being installed from the correct repository.
Actual behavior
WinGet shows the package as being installed from the wrong repository.
Environment
The text was updated successfully, but these errors were encountered: