Debian 9自动安装(OpenVZ)挂在两个不同的对话框屏幕上

手工重做安装后,我有更多的信息,所以我完全编辑我的post,所以它更好的可读性,希望有人可以提供一个可行的解决scheme或解决此问题。

我正在使用一个OpenVZ容器,并试图做一个Debian 9(Stretch)的自动安装,但是由于许多原因失败了。 所以我现在正在做不同的事情。 我做了一个Debian 8的自动安装,之后我做了一个就地升级到Debian 9。

如果我手动这样做,它会工作,但是当我自动执行它挂在两(2)个不同的对话框屏幕上。 当我手动做,然后我提出了2个对话框屏幕。 这两个屏幕都只是用“ENTER”键来回答。 我不需要填写任何东西。 一个纯粹是关于旧的内核的警告,但按“ENTER”将使安装继续。 另一个对话框是关于wide-dhcpv6-client。 这个屏幕也可以通过简单地按下“ENTER”来传递。

但是,在自动化安装期间,它挂在这两个对话框上。 由于您没有自动安装屏幕,因此无法继续。 所以它等待input,然后才能继续。

我有关于这两个问题的一切都记下。

第一次挂起,是在旧的内核消息:

root 10918 10890 0 16:15 pts/0 00:00:00 dialog --backtitle Package configuration --title Configuring libc6 --output-fd 11 --nocancel --msgbox Kernel version not supported This version of the GNU libc requires kernel version 3.2 or later. Older versions might work but are not officially supported. Please consider upgrading your kernel. 11 75 

这纯粹是一个警告信息(我不能更新内核,所以这是不可能的,因为OpenVZ)。 如果我手动(手动)运行更新,我可以通过按“ENTER”来通过这个。 而已。

第二次挂在宽dhcpv6客户端

 root 19436 19428 0 16:44 pts/0 00:00:00 /usr/bin/dpkg --status-fd 29 --configure man-db:amd64 mlocate:amd64 wide-dhcpv6-client:amd64 root 19437 19436 6 16:44 pts/0 00:00:00 /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/wide-dhcpv6-client.postinst configure 20080615-12 root 19443 19437 0 16:44 pts/0 00:00:00 /bin/sh /var/lib/dpkg/info/wide-dhcpv6-client.config configure 20080615-12 root 19445 19437 0 16:44 pts/0 00:00:00 dialog --backtitle Package configuration --title Configuring wide-dhcpv6-client --output-fd 11 --nocancel --inputbox Network interfaces on which the DHCPv6 client sends requests should be specified here. Multiple interfaces are separated with spaces. An empty line temporarily disables dhcp6c. Interfaces on which the DHCPv6 client sends requests: 11 78 

我也可以通过这个对话框,当我手动安装(手动),只需按“ENTER”。

我还拿下了两个问题的截图。

  • 内核消息对话框: https : //i.imgur.com/26eD8uq.jpg
  • 宽-dhcpv6-client对话框: https ://i.imgur.com/7IZD4ki.jpg

在这两种情况下(当手动安装时)按下“ENTER”就足够了,或者select“确定”。

我已经尝试了很多事情来避免自动安装期间的这些对话框屏幕,但迄今为止失败了。 我在这里真的很无能。

例如,我尝试了几个选项“debconf-set-selections”,但没有运气。 另外我试着将安装设置为“非交互式”,但仍然是相同的结果。 所有其他的选项,问题等都没有问题的传递,只有这两个对话框。

我希望有人能为此提供一个解决scheme或解决方法。