Results 1 to 5 of 5

Thread: DEB package - dependency checks

  1. #1
    Join Date
    Oct 2012
    Beans
    1

    DEB package - dependency checks

    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, like libgcc.so,libc.so, etc.

    Not all of our Ubuntu 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 Ubuntu community, could you please comment on how a custom .DEB package without dependency checks may be received by Linux-Ubuntu 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?
    Last edited by lisati; October 19th, 2012 at 02:12 AM. Reason: Normalise font

  2. #2
    Join Date
    Apr 2011
    Location
    Maryland
    Beans
    1,461
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: DEB package - dependency checks

    My opinion (for what it's worth) is that people generally expect a deb package to handle dependency issues for them. Otherwise, they would be content with compiling the package from source. Not having the dpkg system handle the dependencies kind of takes the steam out of the whole idea. Again, just my opinion.

  3. #3
    Join Date
    Jun 2009
    Location
    0:0:0:0:0:0:0:1
    Beans
    5,169
    Distro
    Kubuntu

    Re: DEB package - dependency checks

    since you are requiring make that means you expect the client to compile your program
    debs are pre-compiled apps
    you would be better off imo giving a install bash script and a source archive if you want to do it like that

    i don't know how to make a deb, i just use a install script, stuff i make is just scripts (php, bash, or sh) and does not require compiling
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  4. #4
    Join Date
    Nov 2007
    Location
    Wisconsin
    Beans
    1,139

    Re: DEB package - dependency checks

    Manually installing dependencies on a debian system in preparation of installing a deb is very rare and unusual. I would consider a deb package without proper dependency information to be malformed or broken, and perhaps untrustworthy...who knows what other important conventions were overlooked? It defeats the purpose of package management. You may as well just use an install/uninstall script instead.

    See http://www.debian.org/doc/manuals/de...#s-controlfile for a good place to start on how to include dependency information in your package. The list of dependencies (packages, not files) goes in your source's debian control file.

    There are easy tools to figure out which files come from which packages, and what versions of packages you need to use. Just ask if you don't know!

    The package manager (apt, Synaptic, Software Center, etc.) uses that dependency information to ensure all dependencies are installed automatically. It's a great system, and it's quite easy to use.

  5. #5
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: DEB package - dependency checks

    Duplicate threads merged and font edited. Please do not start multiple threads for the same problem, it dilutes the community's ability to help.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •