Article 52WTB [SOLVED] Using slackpkg in unattended/batch mode

[SOLVED] Using slackpkg in unattended/batch mode

by
drgibbon
from LinuxQuestions.org on (#52WTB)
I'm looking for a way to do an unattended upgrade to bring a clean container environment in sync with a Slackware mirror. I'm guessing that I could do:
Code:slackpkg -batch=on -default_answer=y -postinst=off upgrade-allfor a forced upgrade of everything without prompting for *.new file handling. I was hoping then that I could overwrite any old config files with:
Code:slackpkg -batch=on -default_answer=o new-configbut the man page for slackpkg.conf says that -default_answer only accepts "y" or "n". Is there any way around this, apart from just handling the .new files myself?latest?d=yIl2AUoC8zA latest?i=Uxk39VcjJFc:ZnJj4tORQ4Y:F7zBnMy latest?i=Uxk39VcjJFc:ZnJj4tORQ4Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=Uxk39VcjJFc:ZnJj4tORQ4Y:gIN9vFwUxk39VcjJFc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments