Cannot install packages -- Problem with Git?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot install packages -- Problem with Git?

Daniel Carrera
Hello,

I am running Julia 0.2.1 and for some reason I can no longer install any packages. Here is an example:

julia> Pkg.add("Cosmology")
ERROR: failed process: Process(`git --git-dir=/home/daniel/.julia/.cache/Stats merge-base 87d1c8d890962dfcfd0b45b82907464787ac7c64 5113ce6044fc554b350ea16f92502f8d6e077a62`, ProcessExited(1)) [1]
 in pipeline_error at process.jl:476
 in readbytes at process.jl:430
 in readall at process.jl:437
 in readchomp at git.jl:26
 in installed_version at pkg/read.jl:70
 in installed at pkg/read.jl:121
 in resolve at pkg/entry.jl:316
 in edit at pkg/entry.jl:24
 in add at pkg/entry.jl:44
 in add at pkg/entry.jl:48
 in anonymous at pkg/dir.jl:28
 in cd at file.jl:22
 in cd at pkg/dir.jl:28
 in add at pkg.jl:19


It doesn't matter what the package is, the error is always exactly the same, down to the exact hash sums in the merge-base line. So it really looks like there is something that Git needs to do before I can install anything and it looks like it is not doing it. So I tried running that exact git command on the terminal but that didn't produce any obvious error message, and it did not help the packages install.

Does anyone have any idea?

Cheers,
Daniel.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot install packages -- Problem with Git?

Mike Nolta
https://github.com/JuliaLang/julia/issues/7392

-Mike

On Wed, Jul 23, 2014 at 11:17 AM, Daniel Carrera <[hidden email]> wrote:

> Hello,
>
> I am running Julia 0.2.1 and for some reason I can no longer install any
> packages. Here is an example:
>
> julia> Pkg.add("Cosmology")
> ERROR: failed process: Process(`git
> --git-dir=/home/daniel/.julia/.cache/Stats merge-base
> 87d1c8d890962dfcfd0b45b82907464787ac7c64
> 5113ce6044fc554b350ea16f92502f8d6e077a62`, ProcessExited(1)) [1]
>  in pipeline_error at process.jl:476
>  in readbytes at process.jl:430
>  in readall at process.jl:437
>  in readchomp at git.jl:26
>  in installed_version at pkg/read.jl:70
>  in installed at pkg/read.jl:121
>  in resolve at pkg/entry.jl:316
>  in edit at pkg/entry.jl:24
>  in add at pkg/entry.jl:44
>  in add at pkg/entry.jl:48
>  in anonymous at pkg/dir.jl:28
>  in cd at file.jl:22
>  in cd at pkg/dir.jl:28
>  in add at pkg.jl:19
>
>
> It doesn't matter what the package is, the error is always exactly the same,
> down to the exact hash sums in the merge-base line. So it really looks like
> there is something that Git needs to do before I can install anything and it
> looks like it is not doing it. So I tried running that exact git command on
> the terminal but that didn't produce any obvious error message, and it did
> not help the packages install.
>
> Does anyone have any idea?
>
> Cheers,
> Daniel.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot install packages -- Problem with Git?

Daniel Carrera
Thanks!


On 23 July 2014 20:48, Mike Nolta <[hidden email]> wrote:
https://github.com/JuliaLang/julia/issues/7392

-Mike

On Wed, Jul 23, 2014 at 11:17 AM, Daniel Carrera <[hidden email]> wrote:
> Hello,
>
> I am running Julia 0.2.1 and for some reason I can no longer install any
> packages. Here is an example:
>
> julia> Pkg.add("Cosmology")
> ERROR: failed process: Process(`git
> --git-dir=/home/daniel/.julia/.cache/Stats merge-base
> 87d1c8d890962dfcfd0b45b82907464787ac7c64
> 5113ce6044fc554b350ea16f92502f8d6e077a62`, ProcessExited(1)) [1]
>  in pipeline_error at process.jl:476
>  in readbytes at process.jl:430
>  in readall at process.jl:437
>  in readchomp at git.jl:26
>  in installed_version at pkg/read.jl:70
>  in installed at pkg/read.jl:121
>  in resolve at pkg/entry.jl:316
>  in edit at pkg/entry.jl:24
>  in add at pkg/entry.jl:44
>  in add at pkg/entry.jl:48
>  in anonymous at pkg/dir.jl:28
>  in cd at file.jl:22
>  in cd at pkg/dir.jl:28
>  in add at pkg.jl:19
>
>
> It doesn't matter what the package is, the error is always exactly the same,
> down to the exact hash sums in the merge-base line. So it really looks like
> there is something that Git needs to do before I can install anything and it
> looks like it is not doing it. So I tried running that exact git command on
> the terminal but that didn't produce any obvious error message, and it did
> not help the packages install.
>
> Does anyone have any idea?
>
> Cheers,
> Daniel.



--
When an engineer says that something can't be done, it's a code phrase that means it's not fun to do.