ltsp-built-client错误

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

错误是:

 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 

我的命令是:

 ltsp-build-client --mirror file://root/ISO/ubuntu-12.04.1-desktop-i386.iso --security-mirror none --accept-unsigned-packages 

我指的是这个URL http://wiki.debian.org/LTSP/Howto 。

如何解决这个错误?

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

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

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

你想要的参数是--copy-sourceslist

完整的命令将是(解决你上面列出的):

 ltsp-build-client --copy-sourceslist --mirror file://root/ISO/ubuntu-12.04.1-desktop-i386.iso --security-mirror none --accept-unsigned-packages 

而且,这又是地狱再次find命令,最后我不得不在我的工作站上安装ltsp-build-client --extra-help并运行ltsp-build-client --extra-help 。 为了我自己的理智,以及其他人在Google上寻找额外的帮助信息,我在这里粘贴:

ltsp-server_5.2.16-0ubuntu7

 $ 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