opam is no longer able to function correctly on the current opam OCaml respository with the internal solver (it will be removed in the next version of opam). You will have to install an external solver, see here.
dbm.1.0 troobleshooting =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=> This package relies on external (system) dependencies that may be missing. `opam depext dbm.1.0' may help you find the correct installation for your system.
and opam config report :
# OPAM config report
# opam-version 1.2.2
# self-upgrade no
# os linux
# external-solver aspcud $in $out $criteria
# criteria -count(removed),-notuptodate(request),-sum(request,version-lag),-count(down),-notuptodate(changed),-count(changed),-notuptodate(solution),-sum(solution,version-lag)
# jobs 4
# repositories 3* (http)
# pinned 0
# current-switch system*
# last-update 2017-08-22 20:46
mchl@shemesh:~/ocaml/ocsigen$ eliom-distillery -name myapp -template os.pgocaml
The program 'eliom-distillery' is currently not installed. You can install it by typing:
sudo apt install eliom
mchl@shemesh:~/ocaml/ocsigen$ opam install eliom
[NOTE] Package eliom is already installed (current version is 6.2.0)
You can have a specific OCaml compiler version as well as associated libraries for each of your projects
You can alias a switch (give it a specific name) so that it’s easy to remember
Upcoming opam version will allow you to automatically install the specific compiler and library versions for a project when you download the project and start working on it.