Update package list before installing postgresql