Per Make apt-get(或aptitude)与-y一起运行,但不提示替换配置文件吗?
我做了以下工作:
ec2run ami-3c994355 --region us-east-1 -n 1 -t m1.large -z us-east-1d
在机器上:
sudo apt-get update
sudo apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade
我仍然收到提示,询问我要使用哪个配置文件。这些是提示之前的行:
Setting up grub-pc (1.99-21ubuntu3.1) ...
然后:
┌───────────────────────────────────────────────────────┤ Configuring grub-pc ├───────────────────────────────────────────────────────┐
│ A new version of configuration file /etc/default/grub is available, but the version installed currently has been locally modified. │
│ │
│ What do you want to do about modified configuration file grub? │
│ │
│ install the package maintainer's version │