Closed ar-jan closed 4 years ago
P.S. I reformatted packages to a single package per line and alphabetized them, because as I was making multiple successive changes the diffs looked a bit chaotic. Also makes it easier to check the list (found sudo
defined twice), I hope you agree :).
Hmm, well that didn't seem to work. You're certain it's Debian 9? I have been running against Google Cloud Platform's Debian 9 distro which I believe is pretty standard, so I'd like to get to the bottom of what might be different. Adding sendmail-bin seems totally safe, but also seems like it should be unnecessary. It feels like there is something wrong here that is causing all these errors but not sure what it might be.
It's certainly Debian 9, on a Hetzner VPS. I seems to be just a clean Debian distro, but one difference is they have configured some local repository mirrors. I can see what happens if I remove those -- maybe they affect resolving of dependencies?
What about the other packages -- do you expect all of setuptools, wheel, build-essential, and python-dev to be there?
Yes certainly expected all those to be there. The "held broken packages" error seems like a clue that something is wrong but whatever it is, I'd like to get to the bottom. If you find any more clues please let me know.
I'd checked that there aren't actually any held packages with dpkg --get-selections | grep hold
. But I just found a bit more info:
root# aptitude why-not sendmail-bin i exim4-config Conflicts sendmail-bin
Exim appears to be configured by default on Debian. I tried apt-get remove --purge exim4-config
. This also fixes the sendmail install but is maybe a bit more invasive than adding sendmail-bin. The next missing package (setuptools) is still same as before. Perhaps Google has chosen to include a number of commonly used packages that aren't in the default Debian install?
Quite possibly. I'll round up a Debian 9 ISO and see if I can reproduce locally.
Looks good! Install working ok for you?
Great! Yes, the updated installation works for me.
Hello! I've been looking to try out Aquameta for a while, and I finally got to it. I used a clean Debian 9 VPS on Hetzner, and ran into a few missing dependencies. I'll list the changes I made here for a pull request.
sendmail-bin
. Without it, I get this:Even though there are no held packages or other broken packages. (I believe running apt-get again as
apt-get --fix-broken
could also work but this seems simpler).Add
setuptools
via pip. First I gotImportError: No module named setuptools. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-PWWDMw/fusepy/
. But withpython-setuptools
installed I later ran intoUserWarning: Unknown distribution option: 'project_urls'
while building the psycopg2 wheel, so I used a more recent version from pip instead.Add
wheel
. (Running setup.py bdist_wheel for fusepy: finished with status 'error'. error: invalid command 'bdist_wheel')Add
build-essential
. I got the impression clang was intended, but psycopg2 asks for gcc:And also for uwsgi I got a failure that was fixed with build-essential:
python-dev
.With these changes the installation worked and I have an Aquameta install to play with. It looks fascinating!