nginx upgrade error due to directory/symlink conflict
Upgrading nginx resulted in the following error:
ERROR: nginx-1.12.2-r0: failed to rename var/lib/nginx/tmp.apk-new to var/lib/nginx/tmp.
/var/lib/nginx/tmp already exists as a folder, preventing the symlink from being moved.
This commit seems to have introduced this conflict.
(from redmine: issue id 8057, created on 2017-10-25, closed on 2019-05-03)