3

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?

1
  • 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, 2018 at 2:44

1 Answer 1

3

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?

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .