LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   humbly asking how to silently update all apt packages and do dpkg --configure -a after (https://www.linuxquestions.org/questions/linux-software-2/humbly-asking-how-to-silently-update-all-apt-packages-and-do-dpkg-configure-a-after-4175721609/)

finalturismo 02-02-2023 07:10 PM

humbly asking how to silently update all apt packages and do dpkg --configure -a after
 
So i have about 1000+ packages to update on my system and i don't have all day to answer yes and no to the config file updates.

Does anyone know one know how to update all packages for apt or apt-get and do the configuration later with dpkg --configure -a ???

uteck 02-02-2023 07:16 PM

This link has a few options to automate the question: https://superuser.com/questions/1645...pt-get-install
but it is either yes or no to everything. You should not be getting a lot of config questions unless you are doing an upgrade to a newer release.

finalturismo 02-02-2023 09:07 PM

Quote:

Originally Posted by uteck (Post 6408792)
This link has a few options to automate the question: https://superuser.com/questions/1645...pt-get-install
but it is either yes or no to everything. You should not be getting a lot of config questions unless you are doing an upgrade to a newer release.



Thanks!!!

boughtonp 02-03-2023 07:35 AM


 
Wouldn't unattended-upgrades be the way do this - I would guess that is designed to answer the default (safer?) option in any yes/no question?



All times are GMT -5. The time now is 09:24 PM.