2

While developing a custom, commercial application, I need to provide appropriate automatic updates.

Can I create a package that, in addition to containing my specific application, also adds it's repository to the sources list?

Is it the appropriate procedure?

1
  • I think google chrome does the same thing ,when I installed google chrome ,it automatically add it is repository to sources.list
    – Tachyons
    May 8, 2012 at 10:50

1 Answer 1

1

It's quite a common approach. I don't think it's ideal, but it certainly works.

You can drop the sources list into

/etc/apt/sources.list.d

And add the APT key from the maintainer scripts.

4
  • Why do you think it isn't optimal? Any better solutions? The app doesn't have the market penetration to be included in any existing repo..
    – qdot
    May 11, 2012 at 14:27
  • In the future, we'd like to have .list files or something like that, that adds a repository to your system and installs a package. Installing a package shouldn't modify your system's APT configuration, that's not very friendly behavior.
    – tumbleweed
    May 11, 2012 at 16:10
  • .list files? Forgive my ignorance, but how would that work?
    – qdot
    May 11, 2012 at 16:44

You must log in to answer this question.

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