Ubuntu Pastebin

Paste from Federico Gimenez at Thu, 17 Sep 2015 09:11:18 +0000

Download as text
1
2
3
4
fgimenez@arkham:~$ curl -X POST -H "X-Allow-Unsigned: 1" http://localhost:8090/1.0/packages < /tmp/config-example_1.0.6_all.snap
{"result":{"created_at":"1442481012779923","may_cancel":false,"output":null,"resource":"/1.0/operations/b8e6f037-f921-3787-5ae4-47d8f68cfa06","status":"running","updated_at":"1442481012779923"},"status":"Accepted","status_code":202,"type":"async"}
fgimenez@arkham:~$ curl http://localhost:8090/1.0/operations/b8e6f037-f921-3787-5ae4-47d8f68cfa06
{"result":{"created_at":"1442481012779923","may_cancel":false,"output":{"obj":{},"str":"Signature verification failed: Internal error. E.g. Package corrupt, gpg failed, etc. (exit code 14)"},"resource":"/1.0/operations/b8e6f037-f921-3787-5ae4-47d8f68cfa06","status":"failed","updated_at":"1442481012783355"},"status":"OK","status_code":200,"type":"sync"}
Download as text