Saturday, April 27, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 444  / 2 Years ago, mon, september 5, 2022, 8:44:27

I'm using quickly and I can't seem to upload to my ppa. This is what I get:



$ quickly share --ppa swink/ppa
Get Launchpad Settings
Launchpad connection is ok
.........An error has occurred when creating debian packaging
ERROR: can't create or update ubuntu package
ERROR: share command failed
Aborting


I can create a package but I do get a warning:



$ quickly package --extras
........Ubuntu packaging created in debian/
............................................................................................................................................................................................................................
Command returned some WARNINGS:
----------------------------------
** (setup.py:26291): WARNING **: Error sending credentials: Error sending message: Operation not permitted
----------------------------------
Ubuntu package has been successfully created in ../unity-bookmarks_1.0-public4_all.deb


What could be the issue?



Edit:



when I run debuild -S, I get this: clearsign failed: secret key not available



Edit 2:



I even tried to setup a fresh pgp key, but I get exactly the same errors...


More From » application-development

 Answers
0

I have not used quickly so excuse the ignorance but...



When you are trying to create a source package with debuild, dpkg-buildpackage will go through and try to sign using gpg. If gpg is not setup properly then that will obviously fail, but also if your key's uid does not correspond with the changelog entry, it will fail to sign as well.



If you use debuild -us -S that will create an unsigned package. You can sign the files later for upload.



Ensure the changelog entry (email and name) match your key's uid. You can always set it in bashrc with DEBEMAIL and DEBFULLNAME entries.



You can verify the correct key uid using gpg --list-key


[#37253] Wednesday, September 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aclavadoug

Total Points: 317
Total Questions: 103
Total Answers: 125

Location: Bangladesh
Member since Wed, Mar 24, 2021
3 Years ago
;