<p dir="auto">On a Ubuntu 14.04 machine with a fresh copy of Julia master installed and an existing <code class="notranslate">~/.julia/v0.5</code> setup, <code class="notranslate">Pkg.clone</code> of an unregistered package throws an error:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; Pkg.clone(&quot;https://github.com/JaredCrean2/PETSc.jl.git&quot;) #For example
INFO: Cloning PETSc from https://github.com/JaredCrean2/PETSc.jl.git
ERROR: unlink: no such file or directory (ENOENT)
 in cd at pkg/dir.jl:37
 in clone at pkg.jl:38"><pre class="notranslate">julia<span class="pl-k">&gt;</span> Pkg<span class="pl-k">.</span><span class="pl-c1">clone</span>(<span class="pl-s"><span class="pl-pds">"</span>https://github.com/JaredCrean2/PETSc.jl.git<span class="pl-pds">"</span></span>) <span class="pl-c"><span class="pl-c">#</span>For example</span>
INFO<span class="pl-k">:</span> Cloning PETSc from https<span class="pl-k">:</span><span class="pl-k">//</span>github<span class="pl-k">.</span>com<span class="pl-k">/</span>JaredCrean2<span class="pl-k">/</span>PETSc<span class="pl-k">.</span>jl<span class="pl-k">.</span>git
ERROR<span class="pl-k">:</span> unlink<span class="pl-k">:</span> no such file or directory (ENOENT)
 <span class="pl-k">in</span> cd at pkg<span class="pl-k">/</span>dir<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">37</span>
 <span class="pl-k">in</span> clone at pkg<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">38</span></pre></div>
<p dir="auto">On a Ubuntu 14.04 machine with Julia master and no package repo, <code class="notranslate">Pkg.init</code> gives an error:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; Pkg.init()
INFO: Initializing package repository /afs/csail.mit.edu/u/j/jiahao/.julia/v0.5
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: [Code:ERROR, Class:Net]: Unsupported URL protocol
 [inlined code] from libgit2/error.jl:96
 in clone at libgit2/repository.jl:95
 in clone at libgit2.jl:303
 in anonymous at pkg/dir.jl:57
 in cd at file.jl:22
 in init at pkg/dir.jl:55
 in init at pkg.jl:23"><pre class="notranslate">julia<span class="pl-k">&gt;</span> Pkg<span class="pl-k">.</span><span class="pl-c1">init</span>()
INFO<span class="pl-k">:</span> Initializing package repository <span class="pl-k">/</span>afs<span class="pl-k">/</span>csail<span class="pl-k">.</span>mit<span class="pl-k">.</span>edu<span class="pl-k">/</span>u<span class="pl-k">/</span>j<span class="pl-k">/</span>jiahao<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>v0.<span class="pl-c1">5</span>
INFO<span class="pl-k">:</span> Cloning METADATA from https<span class="pl-k">:</span><span class="pl-k">//</span>github<span class="pl-k">.</span>com<span class="pl-k">/</span>JuliaLang<span class="pl-k">/</span>METADATA<span class="pl-k">.</span>jl
ERROR<span class="pl-k">:</span> [Code<span class="pl-k">:</span>ERROR, Class<span class="pl-k">:</span>Net]<span class="pl-k">:</span> Unsupported URL protocol
 [inlined code] from libgit2<span class="pl-k">/</span>error<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">96</span>
 <span class="pl-k">in</span> clone at libgit2<span class="pl-k">/</span>repository<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">95</span>
 <span class="pl-k">in</span> clone at libgit2<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">303</span>
 <span class="pl-k">in</span> anonymous at pkg<span class="pl-k">/</span>dir<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">57</span>
 <span class="pl-k">in</span> cd at file<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">22</span>
 <span class="pl-k">in</span> init at pkg<span class="pl-k">/</span>dir<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">55</span>
 <span class="pl-k">in</span> init at pkg<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">23</span></pre></div>