Can a debian package have a dependency on a snap package?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












We have an application that is packaged as a debian (.deb) package.
The application is deployed on Ubuntu 14.04 LTS.



We are looking to provide the application on 16.04 when it is released. However, one of the applications's dependencies -- couchdb -- is available as a snap package and not as a debian package.



Is there a way to tell the debian package that it requires a particular snap to be installed?










share|improve this question





















  • Hmmm. Ubuntu 16.04 was released --on time-- two years ago. And the couchdb deb package is indeed in both 14.04 and 16.04 (and every release since). Ubuntu 18.04 will be released later this month...and also has a couchdb deb.
    – user535733
    Apr 11 at 2:44















up vote
1
down vote

favorite












We have an application that is packaged as a debian (.deb) package.
The application is deployed on Ubuntu 14.04 LTS.



We are looking to provide the application on 16.04 when it is released. However, one of the applications's dependencies -- couchdb -- is available as a snap package and not as a debian package.



Is there a way to tell the debian package that it requires a particular snap to be installed?










share|improve this question





















  • Hmmm. Ubuntu 16.04 was released --on time-- two years ago. And the couchdb deb package is indeed in both 14.04 and 16.04 (and every release since). Ubuntu 18.04 will be released later this month...and also has a couchdb deb.
    – user535733
    Apr 11 at 2:44













up vote
1
down vote

favorite









up vote
1
down vote

favorite











We have an application that is packaged as a debian (.deb) package.
The application is deployed on Ubuntu 14.04 LTS.



We are looking to provide the application on 16.04 when it is released. However, one of the applications's dependencies -- couchdb -- is available as a snap package and not as a debian package.



Is there a way to tell the debian package that it requires a particular snap to be installed?










share|improve this question













We have an application that is packaged as a debian (.deb) package.
The application is deployed on Ubuntu 14.04 LTS.



We are looking to provide the application on 16.04 when it is released. However, one of the applications's dependencies -- couchdb -- is available as a snap package and not as a debian package.



Is there a way to tell the debian package that it requires a particular snap to be installed?







deb snap






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 10 at 19:25









S. Adams

61




61











  • Hmmm. Ubuntu 16.04 was released --on time-- two years ago. And the couchdb deb package is indeed in both 14.04 and 16.04 (and every release since). Ubuntu 18.04 will be released later this month...and also has a couchdb deb.
    – user535733
    Apr 11 at 2:44

















  • Hmmm. Ubuntu 16.04 was released --on time-- two years ago. And the couchdb deb package is indeed in both 14.04 and 16.04 (and every release since). Ubuntu 18.04 will be released later this month...and also has a couchdb deb.
    – user535733
    Apr 11 at 2:44
















Hmmm. Ubuntu 16.04 was released --on time-- two years ago. And the couchdb deb package is indeed in both 14.04 and 16.04 (and every release since). Ubuntu 18.04 will be released later this month...and also has a couchdb deb.
– user535733
Apr 11 at 2:44





Hmmm. Ubuntu 16.04 was released --on time-- two years ago. And the couchdb deb package is indeed in both 14.04 and 16.04 (and every release since). Ubuntu 18.04 will be released later this month...and also has a couchdb deb.
– user535733
Apr 11 at 2:44











1 Answer
1






active

oldest

votes

















up vote
1
down vote













No, these are independent packaging systems. You can use debian/control to specify another debian package using the Depends: xxx syntax but not a snap. This is the whole point about snaps: they bundle their own dependencies to prevent things like distro version mismatches, etc.



Maybe you want to consider packaging your application as a snap?






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1023773%2fcan-a-debian-package-have-a-dependency-on-a-snap-package%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    No, these are independent packaging systems. You can use debian/control to specify another debian package using the Depends: xxx syntax but not a snap. This is the whole point about snaps: they bundle their own dependencies to prevent things like distro version mismatches, etc.



    Maybe you want to consider packaging your application as a snap?






    share|improve this answer
























      up vote
      1
      down vote













      No, these are independent packaging systems. You can use debian/control to specify another debian package using the Depends: xxx syntax but not a snap. This is the whole point about snaps: they bundle their own dependencies to prevent things like distro version mismatches, etc.



      Maybe you want to consider packaging your application as a snap?






      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        No, these are independent packaging systems. You can use debian/control to specify another debian package using the Depends: xxx syntax but not a snap. This is the whole point about snaps: they bundle their own dependencies to prevent things like distro version mismatches, etc.



        Maybe you want to consider packaging your application as a snap?






        share|improve this answer












        No, these are independent packaging systems. You can use debian/control to specify another debian package using the Depends: xxx syntax but not a snap. This is the whole point about snaps: they bundle their own dependencies to prevent things like distro version mismatches, etc.



        Maybe you want to consider packaging your application as a snap?







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 10 at 20:29









        Martin W

        74238




        74238



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1023773%2fcan-a-debian-package-have-a-dependency-on-a-snap-package%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            Trouble downloading packages list due to a “Hash sum mismatch” error

            How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

            How do I move numbers in filenames, in a batch renaming operation?