Adds mariadb apt preferences.