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.

I already published my proprietary app on Ubuntu Software Centre (https://myapps.developer.ubuntu.com), and now I want to update it with the new version.

This time I wanted to upload multiple builds for a single app (one for Ubuntu 12.04 i386, one for Ubuntu 12.04. amd64, one for Ubuntu 11.10 i386, ...) The problem is that it doesn't seem possible. New upload overwrites the old one.

Is it correct that the Software Centre only supports a single binary package per application ? I could try creating the new app per build, but that seems like a wrong solution.

Any tips to solve the problem ?

share|improve this question
    
Have you seen this, might help you - serverfault.com/a/279360 –  Elfy Jul 28 '12 at 13:01
    
This may sound stupid but have you tryed uploadig your using diffrent names eg, "myapp v1" "myapp v2" etc. –  mark kirby Jul 29 '12 at 15:39

6 Answers 6

up vote 2 down vote accepted
+50

MyApps isn't setup to handle the situation of separate binaries per arch/series.

I'd suggest just ensuring that all your binaries get to the reviewer and they'll handle uploading the correct binaries to the PPA for you (until myapps is updated to handle this situation).

  • Option 1: If your binaries are small, gzip them together to a single file and use the package upload field
  • Option 2: If they're large, it'll be easier to upload them somewhere else (Ubuntu1 or dropbox) and share them via a url, noting that in your myapps submission.
  • Option 3: (I need to check if this'd be OK, policy-wise) If your binaries will build fine on Launchpad's build service, create a PPA, find me on IRC (noodles775 on freenode) and we can privatise your PPA, then you can dput your source and have them built by LP for the distroseries/arches automatically.
share|improve this answer
    
Thanks, #1 seems like a good idea. –  user1099994 Aug 6 '12 at 5:06

Michael Nelson's answer should be considered, ahem, "canonical", but since I had a draft almost done, here's my two cents :)

I think the Dev Portal's policy on how to upload proprietary packages pretty much explains why you have this problem and what your alternatives are:

enter image description here

Let's break it down:

  1. Sources or binaries

    • It appears you want to upload multiple binaries. Generally, proprietary binary apps are either statically linked, or bundle their necessary dependencies with relative paths, so that nothing extra needs to be installed via apt-get, except perhaps ia32-libs.
    • It would be up to you to make sure that such a binary runs on Ubuntu 11.04/11.10/12.04 (whichever you're targeting), without failing on any platform; AFAIK the core requirement is that the libc used to compile your app/libraries be backwards-compatible with the oldest-possible kernel you wish to target; I believe anything that is Lucid or newer is fine with the current libc 2.15 on Precise.
    • I don't know how extensive Canonical's packaging services to commercial devs are if you submit a non-debianized source, but I assume it would have to be compile-able to something similar to the above "universal" binary.
  2. Debian Source Package:

    • If you go with this option, all you need to do is (a) ensure that any dependencies are available in the repos for the oldest release you want to target, and that (b) your app does not use any new-fangled functions/API/ABI in those dependencies such that it works on say, 12.04 but fails on 11.04.
    • In this case, I believe Canonical/Soyuz (the build system) will take care of creating multiple packages for each release.
  3. Get a human involved - pack all your different binaries into a giant tarball and contact noodles775 ;p

share|improve this answer

It looks to me like the myapps site is designed to cater mainly for Python/GTK applications - cross platform apps of only the latest version. For these reasons there is no facility to allow selections based on CPU and version, although obviously that facility does exist for Software Centre and automatic updates using the repositories.

I think that myapps is the wrong tool for the job if you want to publish compiled versions (binaries) of your program for different releases and CPUs. You might need to look at setting up a project on Launchpad and going mainstream with the development.

https://launchpad.net/projects/+new

Alternately, I believe the PPAs should be able to be set up to do what you want with regards to 32 and 64 bit versions, however it's not the same as publishing with myapps because they would not be accessible until someone adds the PPA to their sources.

share|improve this answer

Use Launchpad's PPA system - makes an easy Ubuntu repository. Go to launchpad.net. If you sign up, you should be able to add different builds for the same package.

share|improve this answer
2  
If this is of help then please expand on how to accomplish what the question requires. –  Elfy Jul 28 '12 at 13:05

Use either Synaptic or aptitude instead of the Ubuntu Software Centre. This way, you will have more control over exactly which packages are going to be installed and you will be able to check the dependencies, recommends packages, etc. before the packages are installed.

share|improve this answer
    
This will not actually be of help as this will just overwrite the old. –  Elfy Jul 28 '12 at 13:06

just update with update manager and it will be done

share|improve this answer
    
This will not actually be of help as this will just overwrite the old. –  Elfy Jul 28 '12 at 13:04

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.