Try renaming or removing your .julia directory, and then run `Pkg.init()`
first followed by the add steps.

On Wed, Oct 1, 2014 at 12:48 AM, <[email protected]> wrote:

> Thanks for the information.
> I installed another Julia version, but still cannot use packages; now
> error messages are different:
>
> julia> versioninfo()
> Julia Version 0.3.1
> Commit c03f413* (2014-09-21 21:30 UTC)
> Platform Info:
>   System: Windows (x86_64-w64-mingw32)
>   CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
>   WORD_SIZE: 64
>   BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
>   LAPACK: libopenblas
>   LIBM: libopenlibm
>   LLVM: libLLVM-3.3
>
> julia> Pkg.clone("https://github.com/dcjones/Zlib.jl.git";)
> ERROR: stat: unknown error (UNKNOWN)
>  in stat at stat.jl:40
>
> julia> Pkg.clone("https://github.com/JuliaLang/WinRPM.jl.git";)
> ERROR: stat: unknown error (UNKNOWN)
>  in stat at stat.jl:40
>
> julia> Pkg.add("Example")
> INFO: Cloning cache of Example from git://
> github.com/JuliaLang/Example.jl.git
> INFO: Installing Example v0.3.3
> error: internal error: refs/remotes/origin/master is not a valid packed
> reference!
> error: internal error: refs/tags/v0.0.1 is not a valid packed reference!
> error: internal error: refs/tags/v0.0.2 is not a valid packed reference!
> error: internal error: refs/tags/v0.1 is not a valid packed reference!
> error: internal error: refs/tags/v0.1.0 is not a valid packed reference!
> error: internal error: refs/tags/v0.2.0 is not a valid packed reference!
> error: internal error: refs/tags/v0.2.1 is not a valid packed reference!
> error: internal error: refs/tags/v0.3.0 is not a valid packed reference!
> error: internal error: refs/tags/v0.3.1 is not a valid packed reference!
> error: internal error: refs/tags/v0.3.2 is not a valid packed reference!
> error: internal error: refs/tags/v0.3.3 is not a valid packed reference!
> error: Trying to write ref refs/heads/master with nonexistent object
> 98f978a0c5276e0df5445f0a3891380adda788bc
> fatal: Cannot update the ref 'HEAD'.
> fatal: The remote end hung up unexpectedly
>
> ERROR: failed process: Process(`git clone -q
> 'S:\.julia\v0.3\.cache\Example' Example`, ProcessExited(128)) [128]
>  in wait at task.jl:51
>
>
>
> julia>
> julia> Pkg.add("Gadfly")
> fatal: Not a git repository: 'S:\.julia\v0.3\Example\.git'
> ERROR: failed process: Process(`git '--work-tree=S:\.julia\v0.3\Example'
> '--git-dir=S:\.julia\v0.3\Example\.git' rev-parse HEAD`,
> ProcessExited(128)) [128]
>  in wait at task.jl:51
>  in cmd_gen at process.jl:608
>  in add at pkg/entry.jl:319
>  in add at pkg/entry.jl:44
>
> julia>
>
> julia> Pkg.add("Helpme")
> fatal: Not a git repository: 'S:\.julia\v0.3\Example\.git'
> ERROR: failed process: Process(`git '--work-tree=S:\.julia\v0.3\Example'
> '--git-dir=S:\.julia\v0.3\Example\.git' rev-parse HEAD`,
> ProcessExited(128)) [128]
>  in wait at task.jl:51
>  in cmd_gen at process.jl:608
>  in add at pkg/entry.jl:319
>  in add at pkg/entry.jl:44
>
> julia>
>
> What else can I try?
>
> Regards, Igor
>

Reply via email to