分页: 1 / 1
【问题解决了】重新签名打包Ubuntu 14.04 ISO,再安装的时候报错“在APT源中找不到可安装的内核”
发表于 : 2015-01-07 10:34
由 dxfmichael
有没有人搞过向安装盘中增加一些DEB包的事情,按照官网的教程,需要重签名。但是签名之后又找不到内核。
Re: 重新签名打包Ubuntu 14.04 ISO,再安装的时候报错“在APT源中找不到可安装的内核”,有人知道怎么搞
发表于 : 2015-01-07 12:00
由 poloshiao
重新签名打包Ubuntu 14.04 ISO
重新打包有許多方法
請提供你重新打包的過程
或 提供你參考網頁的網址
Re: 重新签名打包Ubuntu 14.04 ISO,再安装的时候报错“在APT源中找不到可安装的内核”,有人知道怎么搞
发表于 : 2015-01-07 13:39
由 dxfmichael
我是按照https://help.ubuntu.com/community/InstallCDCustomization#Modify_pool_structure_to_include_more_packages去做的。
只执行了重新签名和打包的步骤。
重签名执行的脚本如显下:
#!/bin/bash
BUILD=/home/setup/cd
APTCONF=/home/setup/scripts/apt-ftparchive/release.conf
DISTNAME=trusty
pushd $BUILD
for component in main; do
sudo apt-ftparchive packages "$BUILD/pool/$component/" > "$BUILD/dists/$DISTNAME/$component/binary-amd64/Packages"
gzip -c "$BUILD/dists/$DISTNAME/$component/binary-amd64/Packages" | \
sudo tee "$BUILD/dists/$DISTNAME/$component/binary-amd64/Packages.gz" > /dev/null
done
apt-ftparchive -c $APTCONF release $BUILD/dists/$DISTNAME > $BUILD/dists/$DISTNAME/Release
gpg --default-key "BC404D2F" --output $BUILD/dists/$DISTNAME/Release.gpg -ba $BUILD/dists/$DISTNAME/Release
popd
Re: 重新签名打包Ubuntu 14.04 ISO,再安装的时候报错“在APT源中找不到可安装的内核”,有人知道怎么搞
发表于 : 2015-01-07 19:17
由 poloshiao
打包Ubuntu 14.04 ISO
我是按照https://help.ubuntu.com/community/InstallCDCustomization#Modify_pool_structure_to_include_more_packages去做的。
只执行了重新签名和打包的步骤。
https://help.ubuntu.com/community/Insta ... troduction
This guide is for the 'Alternative Install' or 'Server Install' CDs. There is a page referring to customization of the Desktop (Live) CD, and another guide on how to create a Live CD without using an existing CD at all.
你的 Ubuntu 14.04 ISO 是桌面版 還是 Server 版 ?
如果是 桌面版 請參考
https://help.ubuntu.com/community/LiveCDCustomization
https://help.ubuntu.com/community/LiveC ... romScratch
Re: 重新签名打包Ubuntu 14.04 ISO,再安装的时候报错“在APT源中找不到可安装的内核”,有人知道怎么搞
发表于 : 2015-01-09 21:42
由 dxfmichael
我的是server版本,就是按照这个里面操作的,签名后就报这个错误,把原来的Package.gz和Release Release.gpg拷贝过来,就没问题。
Re: 重新签名打包Ubuntu 14.04 ISO,再安装的时候报错“在APT源中找不到可安装的内核”,有人知道怎么搞
发表于 : 2015-01-09 22:44
由 dxfmichael
刚刚又试了一下,看了一下系统日志发现了报错,如下,还有人知道怎么办?
Re: 重新签名打包Ubuntu 14.04 ISO,再安装的时候报错“在APT源中找不到可安装的内核”,有人知道怎么搞
发表于 : 2015-01-10 12:59
由 poloshiao
刚刚又试了一下,看了一下系统日志发现了报错,如下,还有人知道怎么办?
gpgkeyerror.png
出現許多菱形字符 影響判讀
1. 安裝時 語言先選擇 英文
2. 或者 參閱
viewtopic.php?p=3120845#p3120845
3. 然後 再貼一次
Re: 重新签名打包Ubuntu 14.04 ISO,再安装的时候报错“在APT源中找不到可安装的内核”,有人知道怎么搞
发表于 : 2015-01-14 16:41
由 dxfmichael
问题解决了,官方文档确实有问题。
没有说明,需要将install/filesystem.squashfs里面的/etc/apt/trusted.gpg要替换成新生成的keyring,否则无法从新的ISO安装。
就是会报这个public key not found的错误。