This answer is based on the output of the following command:
As mentioned in another answer, there is no automatic way in the Open Source version of Chocolatey to update the Chocolatey Package version, based on the version of the application being updated in another way. In a licensed version of Chocolatey, this feature is available.
If you want to do the initial install of an application with Chocolatey, i.e.
choco install paint.net
and then leave the application to update itself, then the best advice would be to pin the package using the pin
command. This would be done with the following command:
choco pin add -n="paint.net"
This will mean that when you run the
choco upgrade all command, assuming that you are using it, that this package will no longer be considered for an upgrade, even if a new version is found. Additionally, the output from the
choco outdated command will change to the following:
If you REALLY want to remove the entry from the
choco outdated report, but you also want to rely on the application's ability to update itself, then you should be able to run the following command:
choco upgrade paint.net --skip-automation-scripts
This tells Chocolatey to upgrade the package to the currently available version, but it will also prevent the execution of the chocolateyInstall.ps1 (and other files) file, which will mean that the application installer will never be executed. As shown here:
After running the above command, the output of the
choco outdated command then becomes: