Score:0

Best strategy for pausing apt updates

us flag

I'm running a Postfix/Dovecot stack and I absolutely do not want unattended upgrades (tends to break things). However, I do want to update at some point. I'm thinking of adding packages to /etc/apt/apt.conf.d/50unattended-upgrades. My concern is their dependencies updating, which may break them.

If I blacklist the main packages, their dependencies won't update right?

David avatar
cn flag
Sounds like a great plan for killing the whole system.
us flag
Care to elaborate?
Score:2
gb flag

I presume your are using ubuntu. You can mark the package on hold which will stop updates to these packages.

To hold back updates e.g. google-chrome

sudo apt-mark hold google-chrome-stable

To re-eanble updates use

sudo apt-mark unhold google-chrome-stable 
us flag
And again, this will hold any dependencies related to that package?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.