Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
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 '12 at 10:50

1 Answer 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.

share|improve this answer
    
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 '12 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 '12 at 16:10
    
.list files? Forgive my ignorance, but how would that work? –  qdot May 11 '12 at 16:44
    

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.