5

I want to install updates in my system if they've been submitted in repo for at least 2 weeks.

I know the settings in software & update, but they don't quite meet my requirements.

software & updates settings

Is there anyway to achieve something like this

sudo apt update && sudo apt upgrade where release_date < (Date.Now - 15 days)
  • Why do you want this feature? – sudodus Oct 2 '17 at 9:31
  • @sudodus, I want to keep a buffer time so if there are any bugs on the freshly released updates, they'll get fixed. I know that's highly improbable, but still I'd like to know if there is an option. – Sirajus Salekin Oct 2 '17 at 9:38
  • 1
    If you stay with an LTS release, the updates will be extra carefully tested, and the risk is small. (I don't know if/how you can delay the updates 15 days, but let us hope that someone else can help you.) – sudodus Oct 2 '17 at 9:56
  • 3
    Some updates are important security updates. Let the system update normally and if you get a buggy update roll it back. It's not hard to do it that way, and your system will be more secure. – karel Oct 2 '17 at 10:24
  • 1
    @karel, thank you. linux mint introduced this feature in their software update manager, so there must be a way. – Sirajus Salekin Oct 3 '17 at 10:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.