Apt-get install config files
With --force-confdef if old config files still exist, they won't get overridden. So you probably won't use it, I'm just documenting it for others. See sudoers 5 about how to allow password-less sudo invocations. You can see the openssh-server. We've had to use all the tricks on this page in addition to being liberal users of debconf preseeding.
Our use case is an operator starting the operation. The upgrade is expected to be non-interactive, but the operator is present if something goes wrong and a dialog presents itself. Your situation may be different. And e. But of course you don't use that, so you'll be fine! Alternatively to what forcefsck suggested I suggest you add this into APT settings so you are not required to add these hard-to-write options all the time.
Also, this would be helpful for unattended upgrades if you have these setup. Note from Geoff : this change would be a global change. But, putting it somewhere entirely different is a good idea. I was trying to be generic; for my. Nikolay Chuprina Nikolay Chuprina 3 3 bronze badges. Does that actually restore missing configuration files?
No, that doesn't work. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta.
New post summary designs on greatest hits now, everywhere else eventually. If that answer does not answer your use case, you should edit your question to include why it doesn't. That's all new information not present in your original question. Please edit your question rather than posting comments with further requirements for an answer. That's how this site works. It shouldn't be that difficult to use find -exec to automate gertvdijk 's solution.
So don't delete. Move them. And read the manpages before asking for documentation: manpages. Show 1 more comment. Active Oldest Votes. Improve this answer. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Visit chat. Linked Related Hot Network Questions.
Question feed.
0コメント