Skip to content
This repository was archived by the owner on Feb 20, 2021. It is now read-only.
This repository was archived by the owner on Feb 20, 2021. It is now read-only.

installing chocolatey via OneGet nukes C:\Chocolatey\bin #4

@0xabu

Description

@0xabu

Possibly related to #3...

I started with a clean install of Win10. I then installed a bunch of chocolatey packages through OneGet, using version 2.8.5.130 of the Chocolatey provider. These packages ended up in C:\Chocolatey\lib... with shims in C:\Chocolatey\bin. So far so good (although I had to manually add bin to my PATH).

I wanted to play with the choco command line, to be able to do upgrades etc., and made the mistake of using OneGet to do it via "Install-Package chocolatey", which pulled down chocolatey v0.9.9.8. This installed itself under C:\Chocolatey\lib, but it didn't know about any of the previously-installed packages (they still showed up in OneGet's Get-Package, but not in choco list). Worse, the chocolatey install nuked all the shims other than the new choco.bat in C:\Chocolatey\bin, and after uninstalling the wonky Chocolatey package I now have an empty bin directory :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions