The The Community is live! Post new content or topics so our teams can assist.

Please contact your support team if you have a question or need assistance for any Rackspace products, services, or articles.

Fix for the broken postintallation script for the Ubuntu cloudmonitoring meta package on 18.04

Installation of the meta package fails since the script doesn't use a path separator when creating the APT configuration paths. The error is in lines 64 and 65 of rackspace-cloud-monitoring-meta-stable.postinst

Variables returned by successive calls to the apt_config_val() function need to be separated by / and are not. The corrected lines are as follows:

APT_SOURCES="$APTDIR/$APTETC/$(apt_config_val 'Dir::Etc::sourcelist')"
APT_SOURCESDIR="$APTDIR/$APTETC/$(apt_config_val 'Dir::Etc::sourceparts')"