deb package not compatible with Debian 11
Summary
Installation of the .deb package fails on Debian 11 because of unmet dependencies: the gfortran version used for creating the package is not available in Debian 11.
What version of openCARP are you using?
openCARP v9.0, deb package
What operating system and processor architecture are you using?
Docker image debian:11 .
Steps to reproduce
wget https://git.opencarp.org/api/v4/projects/16/packages/generic/opencarp-linux/v9.0/opencarp-v9.0.deb
apt update
apt install ./opencarp-v9.0.deb
What is the current bug behavior?
Output:
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:
opencarp : Depends: libgfortran4 (>= 7) but it is not installable
E: Unable to correct problems, you have held broken packages.
What is the expected correct behavior?
The openCARP package is installed successfully
Possible fixes
- Create a new
.deb
package for Debian 11. or - Propose two
.deb
packages, one for latest Ubuntu (20.04, and soon 22.04) and Debian (11) versions, and the second one for Ubuntu 18.04 (also works on Ubuntu 20.04) and Debian 10. or - Find a solution that would make a single package compatible with all versions.
I can implement any of the two first solutions, if we decide that it is acceptable.