Add a cache valid time to mariadb apt call