私は16.04によ、これを使用して16.04ゲストをインストールしようとしている:ubuntu-vm-builderが/ etc/sudoersで失敗する - 回避策はありますか?
ubuntu-vm-builder kvm xenial -v --mem 1024 --hostname tester
--addpkg openssh-server --mirror http://office:3142/ubuntu
かなり正常な右?
それはで死ぬ:
Setting up sudo (1.8.16-0ubuntu1.2) ...
Configuration file '/etc/sudoers'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** sudoers (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package sudo (--configure):
end of file on stdin at conffile prompt
.... more message....
Errors were encountered while processing:
sudo
Extracting templates from packages: 100%
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)
この上の任意のアイデアを?
ubuntu-vm-builderは今でも使用するのに適したツールですか、それとも現代的なものがありますか?私はそこにいろいろなVM作成ツールで少し失われています。
私はこれと唯一の情報を検索しました。/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.pyを編集するための提案が見つかりました。私はこれを行うことができますが...本当にUbuntuのVM作成を扱う標準的な方法ですか?
編集:私はそのファイルを編集し、推奨されるようにdist-updateをupgradeに置き換えました。 Ubuntu LTSパッケージは、毎回失敗するような方法で出荷されることになります(誰もそれがリリース前に一度もテストされていません)。
は、このための回避策はあり
[この質問](http://askubuntu.com/questions/819844/kvm-vmbuilder-fails)を参照してください。 –
私は14.04で同じ問題を抱えています14.04 VMをインストール – s1mmel
これはバグです。 cf. https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1618899 –