RejectedSoftware Forums

Sign up

Remove a specific dependency version from cache ?

I would like to remove DerelictUtil v2.0.0 from my cache, how do I specify this dependency ?
It is stored in %appdata"/dub/packages/derelict-util-2.0.0
dub list displays derelict-util 2.0.0 and then the path above.

remove derelict-util 2.0.0
results in "Expecting exactly one argument."

remove derelict-util-2.0.0
results in "Cannot find package to remove. (id:derelict-util-2.0.0, version:, ... )

So how do I specify the dependency and version correctly ?

Re: Remove a specific dependency version from cache ?

On Tue, 02 Jun 2015 09:58:55 GMT, ParticlePeter wrote:

I would like to remove DerelictUtil v2.0.0 from my cache, how do I specify this dependency ?
It is stored in %appdata"/dub/packages/derelict-util-2.0.0
dub list displays derelict-util 2.0.0 and then the path above.

remove derelict-util 2.0.0
results in "Expecting exactly one argument."

remove derelict-util-2.0.0
results in "Cannot find package to remove. (id:derelict-util-2.0.0, version:, ... )

So how do I specify the dependency and version correctly ?

dub remove derelict-util --version=2.0.0 should work. See also dub remove --help.