Comment 5 for bug 1429285

Revision history for this message
Robie Basak (racb) wrote :

IMHO, in the use case for "apt install", "apt update" should be considered an implementation detail and the user shouldn't need to call it directly. "apt install" should just do the right thing. The same applies to "apt-cache search", etc. It's seems quite tedious and unnecessary to have to run both commands when starting a container manually for some quick testing.

There should be a default of some automatic "update" if the cache is older than some set time, and a default setting of whether failure to update fails the entire operation. There could be CLI options to override these defaults (change the time, always update first, never update, try to update but proceed anyway if that fails, etc).