首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用d-i命令安装未安装的软件包。

使用d-i命令安装未安装的软件包。
EN

Ask Ubuntu用户
提问于 2021-08-17 19:06:29
回答 1查看 65关注 0票数 0

我在一个无人值守的Ubuntu18.04桌面安装的preseed.cfg文件中写了以下几行。

代码语言:javascript
复制
# Packages, Mirrors, Image
d-i base-installer/kernel/override-image string linux-server
d-i base-installer/kernel/override-image string linux-image-amd64
d-i mirror/country string US
d-i mirror/http/proxy string
d-i apt-setup/restricted boolean true
d-i apt-setup/universe boolean true
d-i pkgsel/install-language-support boolean false
d-i pkgsel/include string openssh-server build-essential
tasksel tasksel/first multiselect ubuntu-desktop

安装之后,我运行了dpkg -l | grep ssh,只看到了libssh-4openssh-client包。我不认为d-i命令有任何问题。知道怎么解决吗?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2021-08-17 22:07:14

如果您正在使用Ubiquity (桌面映像),则wiki声明pkgseltasksel预置设置将被忽略。

来自https://wiki.ubuntu.com/UbiquityAutomation

代码语言:javascript
复制
Preseeding keys for the following installer components will not be used in Ubiquity, usually because they do not fit with Ubiquity's mode of operation:
    netcfg
    LVM and RAID partitioning
    base-installer
    pkgsel/tasksel
    finish-install 
票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1358602

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档