how auto do-release-upgrade by special configuration

Asked by lijan

I use "do-release-upgrades" for upgrade ubuntu 14.04---16.04 。
In process,I have to choose some configurations.

  What do you want to do about modified configuration file 50uattended-upgrades?
                           install the package maintainer's version
                           keep the local version currently installed
                           ..................................

I want to upgrade with no prompts,so I use "do-release-upgrades -d -f DistUpgradeViewNonInteractive".
It works,upgrade with nonInteractive.
But,I want choose the "install the ..........." not the default value "keep the local..........".

So, I use debconf-set-selections
"ucf ucf/changeprompt select install_new"
"unattended-upgrades unattended-upgrades/enable_auto_updates boolean true"
But,it don't works.

How can I solve this question?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.