I did 2 steps from http://d-apt.sourceforge.net/
$ sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
$ sudo apt-get update && sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && sudo apt-get update
And now when I am trying to install dub I am getting next message: root@66898:/# apt-get install dub Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: dub : Depends: dmd-bin but it is not going to be installed or dmd but it is not installable PreDepends: multiarch-support but it is not installable E: Broken packages