← Back to team overview

launchpad-users team mailing list archive

Re: Orig.tar.xz Already Exists


On Thu, Nov 29, 2018 at 02:02:27AM -0700, hundredseven@xxxxxxxxx wrote:
> I'm having difficulty uploading a patched package to my ppa. I keep
> getting warnings that I'm trying to overwrite a .orig.tar.xz in the
> Primary Archive for Ubuntu, but my dput output doesn't claim to upload
> that file at all.

The thing that matters is what's in the .dsc file (which necessarily
contains the .orig checksums).

> I saw another user's post who accidentally downloaded an incorrect
> version of the orig file, and I've made sure that the file I'm using is
> the same as the one that I edited.
> Maybe this is related: debuild -S will not function if I use the
> .orig.tar.xz downloaded from the original Ubuntu Launchpad. It only
> builds if I make the tar.xz myself, which results in my upload being
> rejected.

If you can't fix this, it sounds like you need to add the -sa option to
debuild until you get your version of the .orig into your PPA for the
first time.  It's probably not being included by default due to
version-based heuristics, but you need to upload it if it's different.

However, in exactly what way does "debuild -S" fail?  It's usually
better to figure out why things aren't working with the Ubuntu .orig and
fix that.

Colin Watson                                    [cjwatson@xxxxxxxxxxxxx]