parameterised pkglist update to work on centos as well as ubuntu