-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build Debian pkg in addition to Ubuntu #2464
Comments
Thanks for reporting this issue! Did you try: sudo dpkg -i /path/to/geoda_deb_file, then sudo apt install -f ? which might automatically install the listed dependencies of GeoDa. Btw, can you help to provide a list of the correct names of the dependent libraries? Thank you! |
Yes, I tried your approach and failed for the same reason. libgdal33 |
Thanks! I will update the dependencies. |
@faridcher I've tried to install the original GeoDa package on a clean Ubuntu 22.04 Jammy. The original dependencies in the control file work fine:
Is it possible that some of the above dependent libraries have been upgraded by other packages on your Ubuntu Jammy? |
@faridcher The new installer is ready https://github.com/GeoDaCenter/geoda/actions/runs/6590707617. Can you help to verify if the changes in this PR work? Thanks! |
@lixun910 Debian and Ubuntu are distinct linux distros. Debian has it own releases i.e. trixie, bookworm, etc. which are different from Ubuntu Jammy, Focal, etc. I don't have Ubuntu installed: I use Debian sid/unstable. The new packages still complain about missing freeglut3.
I think you should change |
I see. Thanks for your explanation! I just change |
@faridcher I think maybe it's worth creating a deb package for Debian. Do you have any naming suggestions? Thanks! |
You may opt to use the same name as your software name. Debian has 3 main releases: stable, testing and unstable. Debian uploaders/maintainers build their packages for each release with its own libraries versions. E.g. Debian stable (currently aka buster) uses libgdal v2.4 but testing has v3.2.2 and so on. link . So I suggest not to change the package name; use plain geoda1.22.deb but build it with different releases' libraries (and headers). thank you for you efforts |
The new pkg installs well but as I suspected it does not run. Because you have built in with Ubuntu and it's specific libraries. It should be built with a Debian distro. |
@faridcher It seems the Github action runners only have Ubuntu distro https://github.com/actions/runner-images. Do you know any specific Debian docker images that are used to build open-source packages? I can try to use the Debian docker to build GeoDa if possible. |
Unfortunately, I have no idea. |
Hi, I'm also looking for a way to install GeoDa in Debian. I'm using debian 12 (bookworm) and stable packages are libgdal32 and freeglut3-dev |
All I know form github is using it to install software. However, I hope these links help somehow: https://github.com/linuxcontainers/debian-slim https://github.com/docker-library/official-images/blob/master/library/debian |
Ubuntu is Debian derivative but their repositories and package naming differ. Trying to install Ubuntu package on Debian unstable gives:
please provide pure Debian packages.
thanks
The text was updated successfully, but these errors were encountered: