use apt preference to fix the postgres package depencency versions