Launchpad logo and name.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index ][Thread Index ]

Re: [Launchpad-users] dput problem: PPA uploads must be for the RELEASE pocket



On Tuesday 09 February 2010 10:20:54 Oded Arbel wrote:
> Hi people.
> 
> This has probably came up in the past, but a web search has failed to
> produce any solutions for me:
> 
> I want to patch a package and upload the new patched package to my PPA
> (see LP bug #36812 for details about the patch). I downloaded the
> current source release from karmic-updates, patched it, build it using
> pbuilder and ran 'dput my-ppa target/*.changes', which completed
> successfully.
> 
> I then got an email saying the the package was rejected because "PPA
> uploads must be for the RELEASE pocket." As far as I understand (from an
> IRC log that Google found for me) its because I based my changes on a
> package from karmic-updates and not from the karmic release repository.
> So I went and got the source package from the karmic release repo, then
> did a debdiff against my new source package (after I already patched
> it), and applied the patch to the karmic release package.
> 
> So now I got this in the source directory:
> xorg-server-1.6.4
> xorg-server_1.6.4.orig.tar.gz
> xorg-server_1.6.4-2ubuntu4.dsc
> xorg-server_1.6.4-2ubuntu4.diff.gz
> xorg-server_1.6.4-2ubuntu4.2.dsc
> xorg-server_1.6.4-2ubuntu4.2_amd64.build
> xorg-server_1.6.4-2ubuntu4.2_source.changes
> xorg-server_1.6.4-2ubuntu4.2.diff.gz
> xorg-server_1.6.4-2ubuntu4.2_source.ppa.upload
> 
> 2ubuntu4 is the release package, 2ubuntu4.1 is the package from
> karmic-updates and when I ran 'dch -n' it created 2ubuntu4.2 for me. Now
> even though the original dsc is for 2ubuntu4, after I pdebuild the
> source with my patches (containing both the 4.1 patch from updates as
> well as my patch) the source.changes file only has the changes from my
> patch, and when I try to upload it, I get the "RELEASE pocket" error
> again.
> 
> What am I doing wrong and how to fix it?
> 
> Thanks in advance,
> 


You need to edit your debian/changelog to remove the -updates from the 
distribution and build a new source package.  e.g.

xorg-server (1.6.4-2~oded1~ppa0) karmic; urgency=low

The other thing you can do is use the upload-path override feature, where you 
can upload to ~<personname>[/ppa_name]/<distroname>[/distroseriesname] and it 
will override the suite (distroseries-pocket) used in the source changes.



This is the launchpad-users mailing list archive — see also the general help for Launchpad.net mailing lists.

(Formatted by MHonArc.)