Story is I installed Firefox from choco, then I uninstall it from Program and Features manually. After that I found it still list in choco list --local-only. I cannot run choco install firefox because choco thought it already "exists".
How to update choco list? or anyone know how to re-install it?
Thanks.
Completely offline installGo to https://community.chocolatey.org/packages/chocolatey and find a version you want. Click on Download to download that version's nupkg file.
You can find the version of the chocolatey that is installed by running the choco command. To upgrade chocolatey, open command prompt as administrator and run choco upgrade chocolatey . c:\> choco upgrade chocolatey Chocolatey v0.
📝 NOTE A package with a failing uninstall can be removed with the -n --skipautouninstaller flags. This will remove the package from chocolatey without attempting to uninstall the program.
Chocolatey packages are installed to ChocolateyInstall\lib , but the software could go to various locations, depending on how the package maintainer created the package. Some packages are installed under ChocolateyInstall\lib , others - especially packages that are based on Windows installers (.
You can issue a choco uninstall firefox -y
, then a choco install firefox
or a forced reinstall via choco install firefox --force --force-dependencies
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With