14.04 preseed 中的 Tasksel 错误

14.04 preseed 中的 Tasksel 错误

我有一个 14.04 预装版本,出现错误并退出,并向系统日志报告此问题:

Jul 23 17:54:12 pkgsel: starting tasksel
Jul 23 17:54:13 in-target: Unknown option: debconf-apt-from
Jul 23 17:54:13 in-target: Unknown option: debconf-apt-to
Jul 23 17:54:13 in-target: Usage:
Jul 23 17:54:13 in-target: tasksel install <task>...
Jul 23 17:54:13 in-target: tasksel remove <task>...
Jul 23 17:54:13 in-target: tasksel [options]
Jul 23 17:54:13 in-target:  -t, --test          test mode; don't really do anything
Jul 23 17:54:13 in-target:      --new-install   automatically install some tasks
Jul 23 17:54:13 in-target:      --list-tasks    list tasks that would be displayed and exit
Jul 23 17:54:13 in-target:      --task-packages list available packages in a task
Jul 23 17:54:13 in-target:      --task-desc     returns the description of a task
Jul 23 17:54:13 main-menu[220]: WARNING **: Configuring 'pkgsel' failed with error code 1
Jul 23 17:54:13 main-menu[220]: WARNING **: Menu item 'pkgsel' failed.
Jul 23 17:54:16 main-menu[220]: INFO: Modifying debconf priority limit from 'high' to 'medium'
Jul 23 17:54:16 debconf: Setting debconf/priority to medium
Jul 23 17:54:21 main-menu[220]: INFO: Menu item 'save-logs' selected

通过执行以下操作,我能够在我的本地机器上重现该错误:

[user@pc:~]
 tasksel --debconf-apt-to  
Unknown option: debconf-apt-to
Usage:
tasksel install <task>...
tasksel remove <task>...
tasksel [options]
-t, --test          test mode; don't really do anything
    --new-install   automatically install some tasks
    --list-tasks    list tasks that would be displayed and exit
    --task-packages list available packages in a task
    --task-desc     returns the description of a task

我不确定预设在哪里提供此信息,因为唯一tasksel启动的时间是在之前pkgsel,如下图所示:

tasksel tasksel/first multiselect standard

观察安装程序,它到了popcon然后就给我那个错误。在预置中,选项后面的唯一内容popcon是引导加载程序。我彻底糊涂了,非常感谢任何帮助!

谢谢

答案1

您找到解决方案了吗 - 当我使用 Ubuntu 12.04 的本地 HTTP 源时,我遇到了完全相同的问题。

如果我使用

d-i     mirror/http/hostname select dk.archive.ubuntu.com

而不是我们自己的本地存储库

d-i     mirror/http/hostname select srv-wds-nsb1

d-i     mirror/http/directory   string  /LinuxDist/Ubuntu/12.04_x64_LTS

一切正常。

相关内容