Oh I see what you mean by delete the package at .trash.
On Tuesday, June 9, 2015 at 7:22:33 PM UTC-4, Yifei Ni wrote:
>
> I have tried Pkg.update(). Besides, I have used Pkg.rm() before using
> Pkg.clone(). Is this correct?
>
> On Tuesday, June 9, 2015 at 7:18:40 PM UTC-4, Tony Kelman wrote:
>>
>> Have you done Pkg.init() and Pkg.update() ?
>>
>> If you tried using Pkg.clone at any point, you may need to remove the
>> copy of Zlib that is now at joinpath(Pkg.dir(),".trash","Zlib")
>>
>>
>> On Tuesday, June 9, 2015 at 4:12:33 PM UTC-7, Yifei Ni wrote:
>>>
>>> Hi Tony,
>>>
>>> Here is the full error message.
>>>
>>> julia> Pkg.add("Zlib")
>>> ERROR: unknown package Zlib
>>> in wait at task.jl:51
>>> in sync_end at task.jl:311
>>> in add at pkg/entry.jl:319
>>> in add at pkg/entry.jl:71
>>> in anonymous at pkg/dir.jl:28
>>> in cd at file.jl:30
>>> in cd at pkg/dir.jl:28
>>> in add at pkg.jl:20
>>>
>>>
>>> On Tuesday, June 9, 2015 at 5:34:05 PM UTC-4, Tony Kelman wrote:
>>>>
>>>> What is the full error message when you try Pkg.add("Zlib") ?
>>>>
>>>>
>>>> On Tuesday, June 9, 2015 at 1:57:21 PM UTC-7, Yifei Ni wrote:
>>>>>
>>>>> Hi everyone,
>>>>>
>>>>> I am now confronting a problem of adding the package Zlib when I try
>>>>> to add the package GSL. The Pkg.add() cannot find Zlib and Pkg.clone("
>>>>> https://github.com/dcjones/Zlib.jl.git") fixed the version of Zlib at
>>>>> 0.0.0- which is in conflict with requirement of WinRPM, which is
>>>>> [0.1.4,inf). Does anyone know how to solve this problem?
>>>>>
>>>>> Thanks,
>>>>> Yifei
>>>>>
>>>>