xen-tools not detected even though installed on ubuntu

After 2 days of search why xen-tools is not detected by xen center or orchestra I managed to get it working by doing this: apt-get purge xen* rm -Rf /var/lib/xen/* update-grub LinuxGuestTools-7.20.1-1/Linux/install.sh