wiki:Linux/Ubuntu/Packages/PPA

Preparing and Uploading PPA Packages

Ensure the package builds locally

configure ~/.dput.cf

[your_launchpad_name-ppa]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~your_launchpad_name/ubuntu/
login = anonymous
allow_unsigned_uploads = 0

Add the launchpad package signing info (matching your digital key) to the shell environment. Edit ~/.bashrc

export DEBEMAIL="username@domain.net"
export DEBFULLNAME="Your Name"

Note: You'll need to log-out and log-in for this to be re-read, or you can just do:

source ~/.bashrc

Prepare the package and sign it:

cd package-1.2.3
fakeroot debian/rules clean
debuild -S -sa
cd ..
dput your_launchpad_name-ppa package_1.2.3-0ubuntu1~ppa1_source.changes

Check your email for Accept/Reject? messages. If you see this:

Rejected:
Signer has no upload rights at all to this distribution.
Signer is not permitted to upload to the component 'universe' of file 'package_1.2.3-0ubuntu1~ppa1.dsc'

you probably forgot to specify your_launchpad_name-ppa for the dput command.