Build and upload the same amd64 and i386 package

Asked by Raffaele Forte

I would like to upload two different packages in my repository with the same name but different architecture.

Example:
mypackage-1.0 for amd64
mypackage-1.0 for i386

I edit the two control file like this:
"Architecture: amd64" for the first package and "Architecture: i386" for the second

The result are two files called: mypackage-1.0.tar.gz (but different!)

No problem when uploading the first package, but for the second:

Rejected:
File mypackage-1.0.tar.gz already exists, but uploaded version has different contents.

Am I wrong to give my name to the source package??? (mypackage-1.0.tar.gz)

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Julian Edwards
Solved:
Last query:
Last reply:
Revision history for this message
Best Julian Edwards (julian-edwards) said :
#1

You just need to specify both architectures on the same Architecture: header and it will build for both.

Or a better idea is to specify "any" and it will build on all available builder architectures in the build farm.

Revision history for this message
Raffaele Forte (raffaele.forte) said :
#2

Thanks Julian Edwards, that solved my question.