Get this error running the D blog about containerizing D in Docker

Andre Pany andre at s-e-a-p.de
Wed Mar 27 16:36:34 UTC 2019


On Tuesday, 26 March 2019 at 21:58:49 UTC, WhatMeWorry wrote:
> On Tuesday, 26 March 2019 at 21:20:06 UTC, Andre Pany wrote:
>> On Tuesday, 26 March 2019 at 17:36:15 UTC, WhatMeWorry wrote:
>>> [...]
>>
>> This error should not occur in recent versions of dub. Which 
>> dub version do you have (dub --version)?
>>
>> Kind regards
>> Andre
>
> Thanks,
>
> I'm running Ubuntu 18.0. When I do a
>
> sudo apt-get install dub
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> dub is already the newest version (1.8.0-2).
> 0 upgraded, 0 newly installed, 0 to remove and 151 not upgraded.
>
>
> but dub list returns 1.14.0
>
>   dub 1.14.0: /home/generic/.dub/packages/dub-1.14.0/dub/
>
> Do I have two versions of dub?  1.8.0-2 and 1.14.0?
>
> Get the same error.

The old dub version is causing the issue. Use the install script 
from https://dlang.org/download.html to install a recent ldc / 
dmd.

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list