Why does 'quickly package' fail with "An error has occurred when creating debian packaging"?

Solution 1:

You are probably using a version of the python-distutils-extra package from the precise-proposed pocket in the archive, that is newer than the stable release and that it is known to cause trouble with the latest Quickly version.

Try to downgrade it by running the following command, and then re-run the Quickly packaging command:

sudo apt-get install python-distutils-extra=2.32-2