I have attempted to publish a snap which stages the public “ufw” snap. When I try to push to the store, I get rejected by the automated review with the following error:
check your prime directory or look at /snap/<snapname>/current on a locally installed snap, if the link is really there, you can use an override-prime: scriptlet to rm it … like:
override-prime: |
snapcraftctl prime
rm -rf usr/lib/python3/dist-packages/ufw/pycache
The automatic review flagged this link as “external”, however the link target looks to be within the $SNAP directory. Perhaps I am misunderstanding the error.
My current issue is solved, but I’d love to get any additional thoughts on this so I can avoid it going forward. Thank you again!