Publishing error during database attach upgrade

Upgrading the content database resulted in the following error:

"Upgrade incomplete for Feature 'PublishingSite'

After activating the Publishing feature from the site collection, I got the following error:

"Provisioning did not succeed. Details: Failed to create the 'Quick Deploy Items' list. "

Solution:

stsadm -o activatefeature -filename publishing\feature.xml -url https://... -force
stsadm -o activatefeature -filename publishingresources\feature.xml -url https://... - -force
stsadm -o activatefeature -filename publishingSite\feature.xml -url https://... - -force
stsadm -o activatefeature -filename publishingweb\feature.xml -url https://... - -force
stsadm -o activatefeature -filename publishinglayouts\feature.xml -url https://... - -force
stsadm -o activatefeature -filename navigation\feature.xml -url https://... - -force