Utility functions for interacting with xbps