Did you run `Pkg.add` from an admin-started REPL, and tried to later run
`Pkg.rm` from a non-admin REPL? Otherwise I think we backported the change
that allows deleting read-only files on Windows for 0.3.3 or thereabouts.
You really shouldn't have to start julia as admin.
On Thursday, March 26, 2015 at 3:32:59 PM UTC-7, SixString wrote:
>
> The following worked fine in the Julia v0.3.5 REPL run with admin
> privileges on Win8.1 x64:
> julia> Pkg.update()
> julia> Pkg.add("WAV")
> julia> Pkg.checkout("WAV")
> julia> Pkg.pin("WAV")
> julia> Pkg.free("WAV")
> The problem occurred when I tried this:
> julia> Pkg.rm("WAV")
> I got an error saying the unlink operation is not permitted. I retried
> after closing and rerunning the REPL with no improvement. I manually
> removed the WAV package from the REQUIRE file and executed this:
> julia> Pkg.resolve()
> Same problem.
> Now, when new package version are available at GitHub, the update fails
> because the WAV package cannot be unlinked.
>
> Do I need to execute another command to make the unlink in Git work? Or
> is this a bug in Julia v0.3.5? I plan to upgrade to v0.3.7 when the next
> build of WinPython is available.
>