Feedback

type to search

DEB package - dependency checks

Asked by

Hello,

My question is about dependency checks for the DEB package.

Using a third-party install generation tool, I created a .DEB installation package for my application.

There are several dependencies that are required to be present on user’s Linux OS for my application to run properly. Specifically, “make”, and several “.so” libraries from libgcc, like libgcc.so,libc.so, etc.

Not all of our users may have required dependencies installed prior to running my package installer.

This third-party installer tool that I used, generates DEB package, but does not include dependency checks.

As members of the Debian community, could you please comment on how a custom .DEB package without dependency checks may be received by Linux-Debian users?

Is it acceptable enough to deliver .DEB for a custom application that does not check dependencies?

Or is it uncommon enough to ‘anger’ Linux users?

Thank you.

or Cancel

2 answers

1

onlyjob [ Editor ] from Australia

From support prospective, shipping .DEB without Depends is inviting troubles. More often than you might expect people will be unable to run application or it won’t work as expected. This will surely consume more time than usually needed to identify and list dependencies not to mention the negatively impact to the reputation of otherwise good software.
It is a good practice for .DEB package to Depend on all required components so one can be sure what is needed to install and run it.

or Cancel
0

helmut [ Editor ]

Is there a reason not to include proper dependencies in your package? If the required dependencies are not installed and the user installs the package using dpkg -i, the installation will simply fail. Missing dependencies can then be installed using apt-get -f install, which will also configure your package left in a half-installed state in the previous step.

You could also try to provide a custom archive to be added to the users sources.list. While this adds more complexity, it allows your software to be updated with the rest of the system.

or Cancel

Your answer

You need to join Debian to complete this action, click here to do so.