You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Title: Uninstallation Fails Due to Dependencies
Description:
When running the choco2winget.ps1 script, the uninstallation of a Chocolatey package fails if the package has dependencies that are not being uninstalled. This prevents the script from proceeding to the Winget installation step.
Steps to Reproduce:
Run the choco2winget.ps1 script.
When prompted, confirm the uninstallation and reinstallation of a package that has dependencies in Chocolatey.
Expected Behavior:
The script should be able to handle the situation where a package has dependencies. It could prompt the user to confirm the uninstallation of the dependencies, or it could automatically uninstall the dependencies.
Actual Behavior:
The script fails to uninstall the package from Chocolatey when the package has dependencies, and it does not proceed to the Winget installation step.
Additional Context:
This issue can lead to packages being left installed in Chocolatey, preventing the migration to Winget.
Possible Solution:
Modify the script to handle the case where a package has dependencies in Chocolatey. This could involve prompting the user to confirm the uninstallation of the dependencies, or automatically uninstalling the dependencies.
The text was updated successfully, but these errors were encountered:
Issue Title: Uninstallation Fails Due to Dependencies
Description:
When running the
choco2winget.ps1
script, the uninstallation of a Chocolatey package fails if the package has dependencies that are not being uninstalled. This prevents the script from proceeding to the Winget installation step.Steps to Reproduce:
choco2winget.ps1
script.Expected Behavior:
The script should be able to handle the situation where a package has dependencies. It could prompt the user to confirm the uninstallation of the dependencies, or it could automatically uninstall the dependencies.
Actual Behavior:
The script fails to uninstall the package from Chocolatey when the package has dependencies, and it does not proceed to the Winget installation step.
Additional Context:
This issue can lead to packages being left installed in Chocolatey, preventing the migration to Winget.
Possible Solution:
Modify the script to handle the case where a package has dependencies in Chocolatey. This could involve prompting the user to confirm the uninstallation of the dependencies, or automatically uninstalling the dependencies.
The text was updated successfully, but these errors were encountered: