Preparing to unpack .../34-pve-manager_5.0-29_amd64.deb ...
Unpacking pve-manager (5.0-29) over (5.0-23) ...
dpkg: warning: unable to delete old directory '/usr/local/share': Directory not empty
dpkg: warning: unable to delete old directory '/usr/local': Directory not empty
Preparing to unpack .../35-proxmox-ve_5.0-18_all.deb ...
Unpacking proxmox-ve (5.0-18) over (5.0-15) ...
Now to me trying to delete /usr/local or /usr/local/share seems like a really bad idea!