首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ltsp构建的客户端错误

ltsp构建的客户端错误
EN

Server Fault用户
提问于 2012-10-09 14:12:21
回答 2查看 2.9K关注 0票数 1

我在使用ltsp-build-client构建瘦客户机时遇到了一些问题,它说是一个错误。

错误是:

代码语言:javascript
复制
I: Retrieving Release
E: Failed getting release file file://root/ISO/ubuntu-12.04.1-desktop-i386.iso/dists/squeeze/Release
error: LTSP client installation ended abnormally

我的指挥部是:

代码语言:javascript
复制
ltsp-build-client --mirror file://root/ISO/ubuntu-12.04.1-desktop-i386.iso --security-mirror none --accept-unsigned-packages

我指的是这个网址http://wiki.debian.org/LTSP/Howto

如何解决这个错误?

EN

回答 2

Server Fault用户

发布于 2012-10-16 04:08:14

在构建过程中,有一点是您正在“构建”的容器接管,并开始运行命令本身。就是在这一点上,你看到了错误。

这个错误是由于客户端使用给它的镜像(在本例中是(file://root/ISO/ubuntu-12.04.1-desktop-i386.iso )填充它自己的apt源列表造成的)。但是,当客户机尝试执行apt-get update时,它不能执行,因为相对于客户端的/,没有/root/ISO/ubuntu-12.04.1-desktop-i386.iso

为了避免这种情况,只需告诉它逐字从服务器复制apt源列表。

您想要的论点是--copy-sourceslist

完整的命令是(处理上面列出的内容):

代码语言:javascript
复制
ltsp-build-client --copy-sourceslist --mirror file://root/ISO/ubuntu-12.04.1-desktop-i386.iso --security-mirror none --accept-unsigned-packages

而且,再次找到命令是非常糟糕的,最后我不得不在我的工作站上安装LTSP并运行ltsp-build-client --extra-help。为了我自己的理智,以及其他在谷歌上寻找额外帮助信息的人,我把它贴在这里:

ltsp-server_5.2.16-0ubuntu7:

代码语言:javascript
复制
$ ltsp-build-client --extra-help
LTSP Build Client usage:

  ltsp-build-client <options>

Regular options:
    --dist                     set the distribution to be used for install
    --extra-help               display help for all available commandline options
    --help                     display this help message
    --mirror                   set the mirror location

Advanced options:
    --accept-unsigned-packages allow unsigned packages during install
    --apt-keys                 include the listed keys in the apt keyring
    --arch                     set the target architecture
    --base                     set the default base install directory
    --chroot                   set the name of the chroot
    --components               set the components to be used in mirror
    --config                   load a user specific configuration file
    --copy-package-cache       cache downloaded packages
    --copy-package-lists       copy apt Packages files from server
    --copy-sourceslist         use the servers sources.list instead of generating one
    --debconf-seeds            load debconf seeding in the chroot after install
    --debug                    enable debug support
    --early-mirror             add a mirror, which takes priority over the default mirror
    --early-packages           set the list of packages to install after base-install is completed
    --enable-popcon            enable popularity-contest in the chroot
    --exclude                  exclude packages from the initial chroot
    --extra-mirror             add a mirror, with lower priority than the default mirror
    --fat-client-desktop       run most or all applications locally
    --fat-client               run most or all applications locally
    --http-proxy               use specified http proxy
    --install-debs-dir         install to the chroot all the .deb files contained in the provided directory
    --keep-packages            keep cache of downloaded package files
    --kiosk                    a simple webkiosk mode
    --late-packages            list of packages to install as part of the final installation
    --locale                   set the default locale
    --ltsp-cluster             enable LTSP-Cluster
    --mount-cdrom              mounts CDROM before installation
    --mount-package-cache      mount package cache dir from server
    --mount-package-dir        mount a server directory as the chroot package cache dir
    --mythbuntu                create a Mythbuntu fat client.
    --mythbuntu-user-credentials Mythbuntu: specify login credentials as username:password
    --no-guess-proxy           do not autodetect apt proxy configuration
    --pin-dist                 distribution to set up apt pinning
    --pin-packages             list of packages to install from the pinned distribution
    --prompt-rootpass          prompt to set the root password, defaults to disabled
    --purge-chroot             purge existing LTSP chroot if present
    --security-mirror          set the security mirror location
    --serial-console           enable serial console
    --skipimage                force to skip the squashfs build (for debian-installer)
    --skip-upgrade             skip upgrade of installed packages
    --tftp-dirs                TFTP dirs to update kernel in (space-separated)
    --updates-mirror           set the update mirror location
票数 1
EN

Server Fault用户

发布于 2019-11-06 20:47:57

代码语言:javascript
复制
--dist [DISTRIBUTION OF THE OS]

您应该在命令的末尾添加上面的内容。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/436424

复制
相关文章

相似问题

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