The simplest thing is to perhaps just nuke ~/.julia and install the 
packages again. This is rarely required nowadays, but sometimes it is 
simpler to do just that.

-viral

On Monday, August 25, 2014 8:38:47 PM UTC+5:30, Henry Smith wrote:
>
> Many thanks for the replies! A big help...
> I did the rm thing and also did a Pkg.rm("Stats") so it no longer appears 
> at all in a status request.
> Now however when I do a Pkg.update I also get an error which I have not 
> succeeded in figuring it out.
> Below is what I get when I request a Pkg.update() - Do I need to 
> completely re-install the pkgs I have or some such? I would think not 
> but... And what does it mean by "Terminal's requirements..." (I did this 
> from the Mac Terminal program - the default on OSX, it seems...)
>
> TIA again
>
> Henry
>   
>
> julia> Pkg.update()
> INFO: Updating METADATA...
> INFO: Computing changes...
> ERROR: Terminals's requirements can't be satisfied because of the following 
> fixed packages: julia
>  in error at error.jl:22
>  in resolve at 
> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>  in update at 
> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>  in anonymous at pkg/dir.jl:28
>  in cd at 
> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>  in __cd#227__ at 
> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>  in update at 
> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib 
> (repeats 2 times)
>
> julia> 
>
>   
> On Friday, August 22, 2014 4:52:16 PM UTC-4, Henry Smith wrote:
>>
>> Hi,
>>
>> Just d/led it and tried it out.  I had a couple of old versions of 0.2.x 
>> (and still have 0.2.1 installed but trashed the others - some rc's). The 
>> computer is an iMac with 20 GB of RAM, 2.7 GHz quad i5.
>>
>> When I asked about the Pkg.status(), it came up with an error and similar 
>> for PKG.installed() and Pkg.update(). I copy the output below (not too big, 
>> I hope) I can't figure out what if anything I did "wrong" and did not find 
>> anything about problems on the Mac -- TIA for any help
>>
>> Henry 
>>
>> Last login: Fri Aug 22 16:07:45 on ttys009
>> iMac-162:~ hs$ exec 
>> '/Applications/Julia-0.3.0.app/Contents/Resources/julia/bin/julia'
>>                _
>>    _       _ _(_)_     |  A fresh approach to technical computing
>>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
>>    _ _   _| |_  __ _   |  Type "help()" for help.
>>   | | | | | | |/ _` |  |
>>   | | |_| | | | (_| |  |  Version 0.3.0 (2014-08-20 20:43 UTC)
>>  _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
>> |__/                   |  x86_64-apple-darwin13.3.0
>>
>> julia> help()
>>
>>  Welcome to Julia. The full manual is available at
>>
>>     http://docs.julialang.org
>>
>>  To get help, try help(function), help("@macro"), or help("variable").
>>  To search all help text, try apropos("string").
>>
>> julia> Pkg.status()
>> ERROR: failed process: Process(`git 
>> --git-dir=/Users/hs/.julia/.cache/Stats merge-base 
>> 87d1c8d890962dfcfd0b45b82907464787ac7c64 
>> 8208e29af9f80ef633e50884ffb17cb25a9f5113`, ProcessExited(1)) [1]
>>  in readbytes at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in readchomp at pkg/git.jl:24
>>  in installed_version at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in installed at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in status at pkg/entry.jl:107
>>  in anonymous at pkg/dir.jl:28
>>  in cd at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in cd at pkg/dir.jl:28
>>  in status at pkg.jl:28 (repeats 2 times)
>>
>> julia> Pkg.installed()
>> ERROR: failed process: Process(`git 
>> --git-dir=/Users/hs/.julia/.cache/Stats merge-base 
>> 87d1c8d890962dfcfd0b45b82907464787ac7c64 
>> 8208e29af9f80ef633e50884ffb17cb25a9f5113`, ProcessExited(1)) [1]
>>  in readbytes at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in readchomp at pkg/git.jl:24
>>  in installed_version at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in installed at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib 
>> (repeats 3 times)
>>  in anonymous at pkg/dir.jl:28
>>  in cd at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in cd at pkg/dir.jl:28
>>  in installed at pkg.jl:25
>>
>> julia> Pkg.add("Distributions")
>> INFO: Nothing to be done
>> INFO: METADATA is out-of-date — you may not have the latest version of 
>> Distributions
>> INFO: Use `Pkg.update()` to get the latest versions of your packages
>>
>> julia> 
>>
>> julia> Pkg.update()
>> INFO: Updating METADATA...
>> INFO: Updating cache of IniFile...
>> INFO: Updating cache of Cairo...
>> INFO: Updating cache of PyPlot...
>> INFO: Updating cache of Debug...
>> INFO: Updating cache of Calculus...
>> INFO: Updating cache of Units...
>> INFO: Updating cache of HDF5...
>> INFO: Updating cache of ICU...
>> INFO: Updating cache of Homebrew...
>> INFO: Updating cache of BinDeps...
>> INFO: Updating cache of Compose...
>> INFO: Updating cache of Color...
>> INFO: Updating cache of TimeSeries...
>> INFO: Updating cache of Gadfly...
>> ERROR: failed process: Process(`git 
>> --git-dir=/Users/hs/.julia/.cache/Stats merge-base 
>> 87d1c8d890962dfcfd0b45b82907464787ac7c64 
>> 8208e29af9f80ef633e50884ffb17cb25a9f5113`, ProcessExited(1)) [1]
>>  in readbytes at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in readchomp at pkg/git.jl:24
>>  in installed_version at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in installed at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in update at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in anonymous at pkg/dir.jl:28
>>  in cd at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in __cd#227__ at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib
>>  in update at 
>> /Applications/Julia-0.3.0.app/Contents/Resources/julia/lib/julia/sys.dylib 
>> (repeats 2 times)
>>
>> julia> 
>>
>>

Reply via email to