AptUpdate has to explicitly depend on WritePreferences

Hi,

I fixed a bug w/ regards to APT preferences.
`AptUpdate` did not explicitly depend on `WritePreferences`, so apt might run w/o having written the preferences.

Cheers,
Jan