Deleted everything in the .cache folder. Now new exciting errors on 
Pkg.update():

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.11 (2015-07-27 06:18 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32

julia> Pkg.update()
INFO: Updating METADATA...
INFO: Cloning cache of Hexagons from 
git://github.com/dcjones/Hexagons.jl.git
INFO: Cloning cache of Images from git://github.com/timholy/Images.jl.git
INFO: Cloning cache of Contour from git://github.com/tlycken/Contour.jl.git
INFO: Cloning cache of Lazy from 
git://github.com/one-more-minute/Lazy.jl.git
INFO: Cloning cache of Requires from 
git://github.com/one-more-minute/Requires.jl.git
INFO: Cloning cache of ArrayViews from 
git://github.com/JuliaLang/ArrayViews.jl.git
INFO: Cloning cache of Gadfly from git://github.com/dcjones/Gadfly.jl.git
INFO: Cloning cache of BinDeps from 
git://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of ImmutableArrays from 
git://github.com/JuliaGeometry/ImmutableArrays.jl.git
INFO: Cloning cache of StatsBase from 
git://github.com/JuliaStats/StatsBase.jl.git
INFO: Cloning cache of Graphics from 
git://github.com/JuliaLang/Graphics.jl.git
INFO: Cloning cache of MacroTools from 
git://github.com/one-more-minute/MacroTools.jl.git
INFO: Cloning cache of URIParser from 
git://github.com/JuliaWeb/URIParser.jl.git
INFO: Cloning cache of DataFrames from 
git://github.com/JuliaStats/DataFrames.jl.git
INFO: Cloning cache of Distributions from 
git://github.com/JuliaStats/Distributions.jl.git
INFO: Cloning cache of FactCheck from 
git://github.com/JuliaLang/FactCheck.jl.git
INFO: Cloning cache of Dates from git://github.com/quinnj/Dates.jl.git
INFO: Cloning cache of NaNMath from git://github.com/mlubin/NaNMath.jl.git
INFO: Cloning cache of DataArrays from 
git://github.com/JuliaStats/DataArrays.jl.git
INFO: Cloning cache of Grid from git://github.com/timholy/Grid.jl.git
INFO: Cloning cache of Loess from git://github.com/dcjones/Loess.jl.git
INFO: Cloning cache of Compose from git://github.com/dcjones/Compose.jl.git
INFO: Cloning cache of FixedPointNumbers from 
git://github.com/JeffBezanson/FixedPointNumbers.jl.git
INFO: Cloning cache of Compat from git://github.com/JuliaLang/Compat.jl.git
INFO: Cloning cache of SHA from git://github.com/staticfloat/SHA.jl.git
INFO: Cloning cache of Iterators from 
git://github.com/JuliaLang/Iterators.jl.git
INFO: Cloning cache of Color from git://github.com/JuliaLang/Color.jl.git
INFO: Cloning cache of WoodburyMatrices from 
git://github.com/timholy/WoodburyMatrices.jl.git
INFO: Cloning cache of JuliaParser from 
git://github.com/jakebolewski/JuliaParser.jl.git
INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git
INFO: Cloning cache of Codecs from git://github.com/dcjones/Codecs.jl.git
INFO: Cloning cache of GZip from git://github.com/JuliaLang/GZip.jl.git
INFO: Cloning cache of TexExtensions from 
git://github.com/Keno/TexExtensions.jl.git
INFO: Cloning cache of KernelDensity from 
git://github.com/JuliaStats/KernelDensity.jl.git
INFO: Cloning cache of Distances from 
git://github.com/JuliaStats/Distances.jl.git
INFO: Cloning cache of Reexport from 
git://github.com/simonster/Reexport.jl.git
INFO: Cloning cache of DataStructures from 
git://github.com/JuliaLang/DataStructures.jl.git
INFO: Cloning cache of Showoff from git://github.com/dcjones/Showoff.jl.git
INFO: Cloning cache of Optim from git://github.com/JuliaOpt/Optim.jl.git
INFO: Cloning cache of SortingAlgorithms from 
git://github.com/JuliaLang/SortingAlgorithms.jl.git
INFO: Cloning cache of Docile from 
git://github.com/MichaelHatherly/Docile.jl.git
INFO: Cloning cache of SIUnits from git://github.com/Keno/SIUnits.jl.git
INFO: Cloning cache of Zlib from git://github.com/dcjones/Zlib.jl.git
INFO: Cloning cache of LNR from git://github.com/one-more-minute/LNR.jl.git
INFO: Cloning cache of Calculus from 
git://github.com/johnmyleswhite/Calculus.jl.git
INFO: Cloning cache of PDMats from git://github.com/JuliaStats/PDMats.jl.git
INFO: Cloning cache of DualNumbers from 
git://github.com/JuliaDiff/DualNumbers.jl.git
INFO: Cloning cache of Jewel from 
git://github.com/one-more-minute/Jewel.jl.git
INFO: Computing changes...
INFO: Cloning cache of ColorTypes from 
git://github.com/JuliaGraphics/ColorTypes.jl.git
INFO: Cloning cache of ColorVectorSpace from 
git://github.com/JuliaGraphics/ColorVectorSpace.jl.git
INFO: Cloning cache of Colors from 
git://github.com/JuliaGraphics/Colors.jl.git
INFO: Cloning cache of HttpCommon from 
git://github.com/JuliaWeb/HttpCommon.jl.git
INFO: Cloning cache of StatsFuns from 
git://github.com/JuliaStats/StatsFuns.jl.git
INFO: Upgrading ArrayViews: v0.6.2 => v0.6.4
error: unable to create directory for 
C:\Users\ejfie\.julia\v0.3\ArrayViews\.git/refs/tags/v0.6.3
error: unable to create directory for 
C:\Users\ejfie\.julia\v0.3\ArrayViews\.git/refs/tags/v0.6.4
ERROR: failed process: Process(`git 
'--work-tree=C:\Users\ejfie\.julia\v0.3\ArrayViews' 
'--git-dir=C:\Users\ejfie\.
julia\v0.3\ArrayViews\.git' fetch -q 
'C:\Users\ejfie\.julia\v0.3\.cache\ArrayViews' 
+refs/*:refs/remotes/cache/*`,
ProcessExited(1)) [1]
 in error at error.jl:22 (repeats 2 times)

julia>

On Saturday, September 26, 2015 at 6:23:43 PM UTC-4, Stefan Karpinski wrote:
>
> The cache is just bunch of bare clones of package repos. Since those are 
> immutable and update only, it's safe to share them between arbitrarily many 
> working copies. I don't think manual management is ever necessary unless 
> one of the bare repos gets screwed up some how.
>
> On Friday, September 25, 2015, David Anthoff <ant...@berkeley.edu 
> <javascript:>> wrote:
>
>> Stefan, any pointers about this design?
>>
>>  
>>
>> I sometimes delete the folder of a package and then reinstall it with 
>> Pkg.update() if something got screwed up. Do I have to manually manage what 
>> is going on in .cache in that case as well?
>>
>>  
>>
>> Thanks,
>>
>> David
>>
>>  
>>
>> *From:* julia-users@googlegroups.com [mailto:julia-users@googlegroups.com] 
>> *On Behalf Of *Tony Kelman
>> *Sent:* Friday, September 25, 2015 5:46 PM
>> *To:* julia-users <julia-users@googlegroups.com>
>> *Subject:* Re: [julia-users] Re: Pkg.[update()/install()/build()] woes 
>> on Windows 10 64 bit
>>
>>  
>>
>> What is it? A cache. Other than that, no idea what it accomplishes (aside 
>> from reading the code to find out) or why it works the way it does. It was 
>> added in 
>> https://github.com/JuliaLang/julia/commit/df7a08893e4402182ec64178ffdb3130aa228943
>>  
>> but there are no design docs on the package manager. Ask Stefan.
>>
>>  
>>
>> .cache moved to being shared between different versioned package 
>> directories on 0.4 because of 
>> https://github.com/JuliaLang/julia/pull/7361. It worked that way on unix 
>> in 0.3 as well. With better support for making directory junctions via the 
>> symlink function (which was still a pretty new feature when 0.3.0 was 
>> released), that PR made the behavior consistent on Windows as well.
>>
>>
>>
>> On Friday, September 25, 2015 at 5:10:50 PM UTC-7, David Anthoff wrote:
>>
>> What is the .cache directory actually? And why is it moved into the 
>> ~\.julia folder for 0.4?
>>
>>  
>>
>> *From:* julia...@googlegroups.com [mailto:julia...@googlegroups.com] *On 
>> Behalf Of *Tony Kelman
>> *Sent:* Friday, September 25, 2015 2:35 PM
>> *To:* julia-users <julia...@googlegroups.com>
>> *Subject:* [julia-users] Re: Pkg.[update()/install()/build()] woes on 
>> Windows 10 64 bit
>>
>>  
>>
>> Try deleting everything in C:\Users\ejfie\.julia\v0.3\.cache  - 
>> something might be corrupt there
>>
>>
>> On Friday, September 25, 2015 at 12:29:14 PM UTC-7, Evan Fields wrote:
>>
>> I've been encountering problems with packages. Here's what happened:
>>
>> ·         I installed Julia 0.3.11 via the 64 bit .exe on julialang.org
>>
>>    - Changed the install path to C:\Julia-0.3.11 but otherwise all 
>>    default options
>>
>> ·         On Windows 10 x64, not using Cygwin or related
>>
>>    - Right after install I opened a Julia terminal window; I had the 
>>    session below.
>>
>> The errors are shown in the session below. I've tried
>>
>> - Running as an administrator
>>
>> - Running git config --global url."https://".insteadOf git:// in shell 
>> mode
>>
>> - Running Pkg.init() (already initialized)
>>
>> - Trying to clone a repository in Julia/Git using the git-bash there (it 
>> worked over https)
>>
>>  
>>
>>    _       _ _(_)_     |  A fresh approach to technical computing
>>
>>   (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
>>
>>    _ _   _| |_  __ _   |  Type "help()" for help.
>>
>>   | | | | | | |/ _` |  |
>>
>>   | | |_| | | | (_| |  |  Version 0.3.11 (2015-07-27 06:18 UTC)
>>
>>  _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
>>
>> |__/                   |  x86_64-w64-mingw32
>>
>>  
>>
>> julia> Pkg.add("Images")
>>
>> INFO: Nothing to be done
>>
>> INFO: METADATA is out-of-date — you may not have the latest version of Images
>>
>> INFO: Use `Pkg.update()` to get the latest versions of your packages
>>
>>  
>>
>> julia> Pkg.update()
>>
>> INFO: Updating METADATA...
>>
>> Checking out files: 100% (1627/1627), done.
>>
>> INFO: Updating cache of Hexagons...
>>
>> INFO: Updating cache of Gadfly...
>>
>> INFO: Updating cache of ArrayViews...
>>
>> INFO: Updating cache of Lazy...
>>
>> INFO: Updating cache of ImmutableArrays...
>>
>> INFO: Updating cache of Graphics...
>>
>> INFO: Updating cache of StatsBase...
>>
>> INFO: Updating cache of Requires...
>>
>> INFO: Updating cache of MacroTools...
>>
>> INFO: Updating cache of NaNMath...
>>
>> INFO: Updating cache of FactCheck...
>>
>> INFO: Updating cache of DataArrays...
>>
>> INFO: Updating cache of Grid...
>>
>> INFO: Updating cache of Loess...
>>
>> INFO: Updating cache of Compat...
>>
>> INFO: Updating cache of FixedPointNumbers...
>>
>> INFO: Updating cache of WoodburyMatrices...
>>
>> INFO: Updating cache of Compose...
>>
>> INFO: Updating cache of JuliaParser...
>>
>> INFO: Updating cache of Iterators...
>>
>> INFO: Updating cache of JSON...
>>
>> INFO: Updating cache of DataFrames...
>>
>> INFO: Updating cache of GZip...
>>
>> INFO: Updating cache of Reexport...
>>
>> INFO: Updating cache of Showoff...
>>
>> INFO: Updating cache of Distributions...
>>
>> INFO: Updating cache of Optim...
>>
>> INFO: Updating cache of Color...
>>
>> INFO: Updating cache of SortingAlgorithms...
>>
>> INFO: Updating cache of Docile...
>>
>> INFO: Updating cache of Calculus...
>>
>> INFO: Updating cache of PDMats...
>>
>> INFO: Updating cache of DualNumbers...
>>
>> INFO: Updating cache of DataStructures...
>>
>> INFO: Updating cache of Jewel...
>>
>> ERROR: couldn't update C:\Users\ejfie\.julia\v0.3\.cache\Hexagons using `git 
>> remote update`
>>
>>  in wait at task.jl:284
>>
>>  in wait at task.jl:194
>>
>>  in wait at task.jl:48
>>
>>  in sync_end at task.jl:311
>>
>>  in update at pkg/entry.jl:319
>>
>>  in anonymous at pkg/dir.jl:28
>>
>>  in cd at file.jl:30
>>
>>  in cd at pkg/dir.jl:28
>>
>>  in update at pkg.jl:41
>>
>>  
>>
>> julia> using Images
>>
>> ERROR: Images not properly installed. Please run Pkg.build("Images") then 
>> restart Julia.
>>
>>  in error at error.jl:21 (repeats 2 times)
>>
>> while loading 
>> C:\Users\ejfie\.julia\v0.3\Images\src\ioformats/libmagickwand.jl, in 
>> expression starting on line 31
>>
>> while loading C:\Users\ejfie\.julia\v0.3\Images\src\Images.jl, in expression 
>> starting on line 38
>>
>>  
>>
>> julia> Pkg.build("Images")
>>
>> INFO: Building Images
>>
>> =================================================[ ERROR: Images 
>> ]=================================================
>>
>>  
>>
>>  
>>
>> type Nothing has no field match
>>
>> while loading C:\Users\ejfie\.julia\v0.3\Images\deps\build.jl, in expression 
>> starting on line 37
>>
>>  
>>
>> ===================================================================================================================
>>
>>  
>>
>>  
>>
>> =================================================[ BUILD ERRORS 
>> ]==================================================
>>
>>  
>>
>>  
>>
>> WARNING: Images had build errors.
>>
>>  
>>
>>  - packages with build errors remain installed in C:\Users\ejfie\.julia\v0.3
>>
>>  - build the package(s) and all dependencies with `Pkg.build("Images")`
>>
>>  - build a single package by running its `deps/build.jl` script
>>
>>  
>>
>> ===================================================================================================================
>>
>>  
>>
>>  
>>
>> julia>
>>
>>  
>>
>> Hopefully I'm missing something simple here! Any suggestion?
>>
>>

Reply via email to