Sea*_*abs 5 ubuntu debian software-installation debootstrap
我正在运行 Ubuntu 12.04,并尝试armhf
为 Jessie构建一个Debian 映像。我以前为 Wheezy 做过这件事。但是,如果目标是 Jessie,则 debootstap 脚本似乎不起作用。关于如何让它发挥作用的任何想法?
smachin@Ubuntu12_04_mq:~$ sudo debootstrap --arch=armhf --foreign $distro $targetdir
E: No such script: /usr/share/debootstrap/scripts/jessie
Run Code Online (Sandbox Code Playgroud)
Ubuntu 12.04中的版本debootstrap
太旧,不支持Jessie。1.0.49 版本中添加了对 Jessie 的支持。
您可以从Launchpaddebootstrap
下载手动升级到较新版本;它的依赖关系很小,在 Ubuntu 12.04 中应该没问题。
或者,正如Wouter Verhelst所指出的,您可以在debootstrap
命令行上指定所有必要的信息
debootstrap jessie chrootdirectory http://mirror/debian /usr/share/debootstrap/scripts/sid
Run Code Online (Sandbox Code Playgroud)
(用适当的值替换mirror
和),或通过添加适当的符号链接来chrootdirectory
修改您的版本:debootstrap
cd /usr/share/debootstrap/scripts
sudo ln -s sid jessie
Run Code Online (Sandbox Code Playgroud)