CINXE.COM
Packaging/UploadErrors - Launchpad Help
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta name="robots" content="index,nofollow"> <title>Packaging/UploadErrors - Launchpad Help</title> <script type="text/javascript" src="/moin_static198/common/js/common.js"></script> <script type="text/javascript"> <!-- var search_hint = "Search"; //--> </script> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/moin_static198/lp20/css/common.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/moin_static198/lp20/css/screen.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/moin_static198/lp20/css/print.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/moin_static198/lp20/css/projection.css"> <!-- css only for MS IE6/IE7 browsers --> <!--[if lt IE 8]> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/moin_static198/lp20/css/msie.css"> <![endif]--> <link rel="alternate" title="Launchpad Help: Packaging/UploadErrors" href="/Packaging/UploadErrors?diffs=1&show_att=1&action=rss_rc&unique=0&page=Packaging%2FUploadErrors&ddiffs=1" type="application/rss+xml"> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12833497-4']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <link rel="Start" href="/FrontPage"> <link rel="Alternate" title="Wiki Markup" href="/Packaging/UploadErrors?action=raw"> <link rel="Alternate" media="print" title="Print View" href="/Packaging/UploadErrors?action=print"> <link rel="Up" href="/Packaging"> <link rel="Appendix" title="test doc.doc" href="/Packaging/UploadErrors?action=AttachFile&do=view&target=test+doc.doc"> <link rel="Search" href="/FindPage"> <link rel="Index" href="/TitleIndex"> <link rel="Glossary" href="/WordIndex"> <link rel="Help" href="/HelpOnFormatting"> </head> <body lang="en" dir="ltr"> <div id="header"> <h1> <a href="https://help.launchpad.net/" class="header-link"> <img src=' /moin_static198/lp20/img/logo.png ' /> launchpad <strong>help</strong></a> </h1> <div id="finder"> <div class="fixbox"> <form id="searchform" method="get" action=""> <input type="hidden" name="action" value="fullsearch"> <input type="hidden" name="context" value="180"> <input id="searchinput" type="text" name="value" value="" size="20" onfocus="searchFocus(this)" onblur="searchBlur(this)" onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search"> </form> </div> <ul class="editbar"><li><span class="disabled">Immutable Page</span></li><li><a class="nbinfo" href="/Packaging/UploadErrors?action=info" rel="nofollow">Info</a></li><li><a class="nbattachments" href="/Packaging/UploadErrors?action=AttachFile" rel="nofollow">Attachments</a></li><li> <form class="actionsmenu" method="GET" action="/Packaging/UploadErrors"> <div> <label>More Actions:</label> <select name="action" onchange="if ((this.selectedIndex != 0) && (this.options[this.selectedIndex].disabled == false)) { this.form.submit(); } this.selectedIndex = 0;"> <option value="raw">Raw Text</option> <option value="print">Print View</option> <option value="RenderAsDocbook">Render as Docbook</option> <option value="refresh">Delete Cache</option> <option value="show" disabled class="disabled">------------------------</option> <option value="SpellCheck">Check Spelling</option> <option value="LikePages">Like Pages</option> <option value="LocalSiteMap">Local Site Map</option> <option value="show" disabled class="disabled">------------------------</option> <option value="RenamePage" disabled class="disabled">Rename Page</option> <option value="DeletePage" disabled class="disabled">Delete Page</option> <option value="show" disabled class="disabled">------------------------</option> <option value="show" disabled class="disabled">Subscribe User</option> <option value="show" disabled class="disabled">------------------------</option> <option value="show" disabled class="disabled">Remove Spam</option> <option value="show" disabled class="disabled">Revert to this revision</option> <option value="PackagePages">Package Pages</option> <option value="SyncPages">Sync Pages</option> <option value="show" disabled class="disabled">------------------------</option> <option value="Load">Load</option> <option value="Save">Save</option> <option value="SlideShow">SlideShow</option> </select> <input type="submit" value="Do"> </div> <script type="text/javascript"> <!--// Init menu actionsMenuInit('More Actions:'); //--> </script> </form> </li></ul> </div> </div> <div id="locationline"> </div> <div id="sepbar"> </div> <div id="login"> <div class="fl"> <h1 class="maintitle"> Packaging/UploadErrors </h1> </div> <div class="fr"> Not logged in - <a href="/?action=login">Log In / Register</a> </div> </div> <div id="pageline"><hr style="display:none;"></div> <div class="message"> </div> <div id="page" lang="en" dir="ltr"> <div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span> <span class="anchor" id="line-1"></span><span class="anchor" id="line-2"></span><p class="line867"><small><a href="/FrontPage">Launchpad Help</a> > <a href="/Packaging">Packaging</a> > Upload errors </small> <span class="anchor" id="line-3"></span><span class="anchor" id="line-4"></span><div><table style="&quot; float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em; &quot;"><tbody><tr> <td style="&quot; padding:0.5em; &quot;"><p class="line891"><div class="table-of-contents"><p class="table-of-contents-heading">Contents<ol><li> <a href="#Package_upload_errors">Package upload errors</a></li><li> <a href="#Common_errors">Common errors</a><ol><li> <a href="#The_upload_appears_to_work_but_I_don.27t_get_any_email_about_it">The upload appears to work but I don't get any email about it</a></li><li> <a href="#clearsign_failed:_secret_key_not_available">clearsign failed: secret key not available</a></li><li> <a href="#Source.2Fbinary_.28i.e._mixed.29_uploads_are_not_allowed">Source/binary (i.e. mixed) uploads are not allowed</a></li><li> <a href="#Apparently_successful_upload_followed_by_a_rejection_email">Apparently successful upload followed by a rejection email</a></li><li> <a href="#Already_uploaded_to_.3Chost.3E_on_ppa.launchpad.net">Already uploaded to <host> on ppa.launchpad.net</a></li></ol></li><li> <a href="#Other_errors">Other errors</a></li></ol></div></td> </tr> </tbody></table></div><span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span><p class="line867"> <h1 id="Package_upload_errors">Package upload errors</h1> <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line862">Once you've made an upload either to your PPA or the official Ubuntu archive, Launchpad will send you a success or failure notice by email. <strong>If you do not receive a success or failure notice, please confirm that you have correctly signed your package and have used your corresponding email address in <tt class="backtick">debian/changelog</tt>.</strong> <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line862">Once a package is accepted you can check the status of your builds on your PPA's package listing (navigate to the relevant PPA from <a class="https" href="https://launchpad.net/~">your Launchpad page</a> and then "View package details"), or the <a class="https" href="https://launchpad.net/ubuntu/+builds?build_text=&build_state=all">Ubuntu build queue</a> if you're producing official Ubuntu packages. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span><p class="line867"> <h1 id="Common_errors">Common errors</h1> <span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span><p class="line867"> <h2 id="The_upload_appears_to_work_but_I_don.27t_get_any_email_about_it">The upload appears to work but I don't get any email about it</h2> <span class="anchor" id="line-15"></span><span class="anchor" id="line-16"></span><p class="line874">There are two main reasons for this: <span class="anchor" id="line-17"></span><ol type="1"><li>You failed to sign the .changes file on the source package that you uploaded <span class="anchor" id="line-18"></span></li><li><p class="line862">The signing key that you used is not known to Launchpad, <a class="https" href="https://launchpad.net/~/+editpgpkeys">you need to add it to your account</a> <span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span></li></ol><p class="line867"> <h2 id="clearsign_failed:_secret_key_not_available">clearsign failed: secret key not available</h2> <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><p class="line862">If you get an error when signing the changes file (<tt class="backtick"></tt><tt class="backtick">clearsign failed: secret key not available</tt><tt class="backtick"></tt>), pass an additional option <tt class="backtick"></tt><tt class="backtick">-k[key_id]</tt><tt class="backtick"></tt> to debuild. You can use <tt class="backtick"></tt><tt class="backtick">gpg --list-keys</tt><tt class="backtick"></tt> to get the key ID. Look for line similar to "<tt class="backtick"></tt><tt class="backtick">pub 12345/12ABCDEF</tt><tt class="backtick"></tt>"; the key is the alphanumeric section after the forward slash. <span class="anchor" id="line-23"></span><span class="anchor" id="line-24"></span><p class="line867"> <h2 id="Source.2Fbinary_.28i.e._mixed.29_uploads_are_not_allowed">Source/binary (i.e. mixed) uploads are not allowed</h2> <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line874">If you get the following error when uploading the packages <span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span><p class="line867"><tt class="backtick"></tt>` <span class="anchor" id="line-29"></span>Rejected: <span class="anchor" id="line-30"></span>Source/binary (i.e. mixed) uploads are not allowed. <span class="anchor" id="line-31"></span>This upload queue does not permit SECURITY uploads. <span class="anchor" id="line-32"></span><tt class="backtick"></tt>` <span class="anchor" id="line-33"></span><span class="anchor" id="line-34"></span><p class="line862">pass the <tt class="backtick">-S</tt> flag to <tt class="backtick">debuild</tt>. <span class="anchor" id="line-35"></span><span class="anchor" id="line-36"></span><p class="line867"> <h2 id="Apparently_successful_upload_followed_by_a_rejection_email">Apparently successful upload followed by a rejection email</h2> <span class="anchor" id="line-37"></span><span class="anchor" id="line-38"></span><p class="line874">If you're uploading to a PPA, your upload may appear to succeed, followed by an email with the following: <span class="anchor" id="line-39"></span><span class="anchor" id="line-40"></span><p class="line867"><span class="anchor" id="line-41"></span><span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><span class="anchor" id="line-44"></span><pre><span class="anchor" id="line-1"></span>Rejected: <span class="anchor" id="line-2"></span>Signer has no upload rights at all to this distribution. <span class="anchor" id="line-3"></span>Not permitted to upload to the RELEASE pocket in a series in the 'CURRENT' state.</pre><span class="anchor" id="line-45"></span><span class="anchor" id="line-46"></span><p class="line874">This means that you forgot to specify your PPA's name on the command-line (that is, the "my-ppa" part) and dput sent your upload to the primary Ubuntu archive, for which you don't have authorisation. You can disable that behaviour by adding these lines to your ~/.dput.cf: <span class="anchor" id="line-47"></span><span class="anchor" id="line-48"></span><p class="line867"><span class="anchor" id="line-49"></span><span class="anchor" id="line-50"></span><span class="anchor" id="line-51"></span><span class="anchor" id="line-52"></span><span class="anchor" id="line-53"></span><span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span><pre><span class="anchor" id="line-1-1"></span>[DEFAULT] <span class="anchor" id="line-2-1"></span>default_host_main = notspecified <span class="anchor" id="line-3-1"></span> <span class="anchor" id="line-4"></span>[notspecified] <span class="anchor" id="line-5"></span>fqdn = SPECIFY.A.PPA.NAME <span class="anchor" id="line-6"></span>incoming = .</pre><span class="anchor" id="line-56"></span><span class="anchor" id="line-57"></span><p class="line874">Now, if you omit the PPA name you'll immediately get an error. <span class="anchor" id="line-58"></span><span class="anchor" id="line-59"></span><p class="line874">The rejection email may also say something like: <span class="anchor" id="line-60"></span><span class="anchor" id="line-61"></span><p class="line867"><span class="anchor" id="line-62"></span><span class="anchor" id="line-63"></span><span class="anchor" id="line-64"></span><span class="anchor" id="line-65"></span><pre><span class="anchor" id="line-1-2"></span>Rejected: <span class="anchor" id="line-2-2"></span>File <UPLOADED_FILE> already exists in <LOCATION>, but uploaded version has different contents. <span class="anchor" id="line-3-2"></span>See more information about this error in https://help.launchpad.net/Packaging/UploadErrors.</pre><span class="anchor" id="line-66"></span><span class="anchor" id="line-67"></span><p class="line862">This mean you have uploaded a file that already exists in the pointed 'LOCATION' (your PPA or Ubuntu primary archive) but with different contents. Please note that you <strong>must</strong> give every upload a new version number; Launchpad never permits reusing version numbers in the same archive, even if they have been deleted. <span class="anchor" id="line-68"></span><span class="anchor" id="line-69"></span><p class="line862">If you did change the version number, this usually happens for re-packaged <tt class="backtick"></tt><tt class="backtick">orig.tar.gz</tt><tt class="backtick"></tt>. The <a class="http" href="http://en.wikipedia.org/wiki/Gzip">Gzip</a> header includes a timestamp, resulting in files with different checksums for each individual compression step. <span class="anchor" id="line-70"></span><span class="anchor" id="line-71"></span><p class="line874">The solution for this problem consists of: <span class="anchor" id="line-72"></span><span class="anchor" id="line-73"></span><ul><li>downloading the pristine original tarball from the location pointed in the rejection message; <span class="anchor" id="line-74"></span></li><li><p class="line862">regenerate the source upload using it, <tt class="backtick"></tt><tt class="backtick">debuild -S</tt><tt class="backtick"></tt> will do it, note that there is no need to include the original tarball in the upload, a reference to the right file will suffice; <span class="anchor" id="line-75"></span></li><li><p class="line862">reupload the just created source package as usual, <tt class="backtick"></tt><tt class="backtick">dput <TARGET> <CHANGES></tt><tt class="backtick"></tt>. <span class="anchor" id="line-76"></span><span class="anchor" id="line-77"></span></li></ul><p class="line874">Or, the rejection e-mail may say something like: <span class="anchor" id="line-78"></span><span class="anchor" id="line-79"></span><p class="line867"><span class="anchor" id="line-80"></span><span class="anchor" id="line-81"></span><span class="anchor" id="line-82"></span><span class="anchor" id="line-83"></span><pre><span class="anchor" id="line-1-3"></span>Rejected: <span class="anchor" id="line-2-3"></span>Unable to find distroseries: unstable <span class="anchor" id="line-3-3"></span>Further error processing not possible because of a critical previous error.</pre><span class="anchor" id="line-84"></span><span class="anchor" id="line-85"></span><p class="line874">The problem here is that your debian/changelog file specifies a distribution that is not present in Ubuntu. To solve this problem, edit your debian/changelog file, and change the distribution at the top line from "unstable" to something that fits Ubuntu (e.g. jaunty). Rebuild your package and try to upload again. <span class="anchor" id="line-86"></span><span class="anchor" id="line-87"></span><p class="line867"> <h2 id="Already_uploaded_to_.3Chost.3E_on_ppa.launchpad.net">Already uploaded to <host> on ppa.launchpad.net</h2> <span class="anchor" id="line-88"></span><span class="anchor" id="line-89"></span><p class="line862">If after a rejected upload you try to upload the same source package again and dput complains that the source package has already been uploaded, it's because the logfile <tt class="backtick"><package>_source.<host>.upload</tt> exists. Just remove the .upload file and re-run dput, or invoke dput with the flag <tt class="backtick">-f</tt>. <span class="anchor" id="line-90"></span><span class="anchor" id="line-91"></span><p class="line867"> <h1 id="Other_errors">Other errors</h1> <span class="anchor" id="line-92"></span><span class="anchor" id="line-93"></span><p class="line862">If you come across other errors when uploading a package to Launchpad, find us in #launchpad on irc.libera.chat or <a href="/Feedback">get in touch by email</a>. <span class="anchor" id="line-94"></span><span class="anchor" id="line-95"></span><div><table style="&quot; border: 0; width: 100%; &quot;"><tbody><tr> <td><p class="line862"> <small><a href="/Packaging/PPA/Deleting">< Deleting packages from a PPA</a> </small> </td> <td style="&quot; text-align: right; &quot;"><p class="line862"> <small><a href="/Packaging/BuildScores">How Launchpad prioritises builds ></a> </small></td> </tr> </tbody></table></div><span class="anchor" id="line-96"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">Packaging/UploadErrors (last edited 2023-07-07 15:42:12 by <span title="pelpsi @ 151.35.158.186[151.35.158.186]"><a class="interwiki" href="https://launchpad.net/~pelpsi" title="pelpsi @ 151.35.158.186[151.35.158.186]">pelpsi</a></span>)</p> <div id="pagebottom"></div> </div> <div id="footer"> <p class="menu"> <a href="https://help.launchpad.net/Legal">Terms of use</a> | <a href="https://launchpad.net/feedback">Help improve Launchpad</a> | <a href="https://launchpad.net/faq">FAQ</a> | <a href="/RecentChanges">Recent Changes</a></p> <p> <a rel="license" href="http://creativecommons.org/licenses/by/2.0/uk/"> <span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" property="dc:title" rel="dc:type">Launchpad Help</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://canonical.com/" property="cc:attributionName" rel="cc:attributionURL">Canonical Ltd</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/2.0/uk/">Creative Commons Attribution 2.0 UK: England & Wales License</a>. <img alt="Creative Commons License" style="border-width:0;vertical-align:middle;" src="https://licensebuttons.net/l/by/2.0/uk/80x15.png" /></a> </p> <p>© 2004-2019 <a href="https://canonical.com/" target="_blank">Canonical Limited.</a></p> </div> </body> </html>