首页 > 代码库 > Requires: python(abi) = 2.4 Installed: python(abi) = 2.6
Requires: python(abi) = 2.4 Installed: python(abi) = 2.6
[root@livecdyum.repos.d]# yum install livecd-toolssyslinux anaconda-runtime
Loaded plugins: fastestmirror, refresh-packagekit,security
Loading mirror speeds from cached hostfile
*base: centos.ustc.edu.cn
*extras: centos.ustc.edu.cn
*updates: mirrors.pubyun.com
livecd | 951 B 00:00
livecd/primary |3.3 kB 00:31
livecd 12/12
Setting up Install Process
Packageanaconda-13.21.215-1.el6.centos.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package livecd-tools.x86_64 0:014-8will be installed
--> Processing Dependency: python(abi) =2.4 for package: livecd-tools-014-8.x86_64
---> Package syslinux.x86_640:4.02-8.el6 will be updated
---> Package syslinux.x86_640:4.02-16.el6_5 will be an update
--> Processing Dependency:syslinux-nonlinux for package: syslinux-4.02-16.el6_5.x86_64
--> Running transaction check
---> Package livecd-tools.x86_64 0:014-8will be installed
--> Processing Dependency: python(abi) =2.4 for package: livecd-tools-014-8.x86_64
---> Package syslinux-nonlinux.i6860:4.02-16.el6_5 will be installed
--> Finished Dependency Resolution
Error: Package: livecd-tools-014-8.x86_64(livecd)
Requires: python(abi) = 2.4
Installed: python-2.6.6-51.el6.x86_64 (@base/$releasever)
python(abi) = 2.6
Available: python-2.6.6-52.el6.x86_64 (updates)
python(abi) = 2.6
Youcould try using --skip-broken to work around the problem
Youcould try running: rpm -Va --nofiles –nodigest
1获取制作工具集合
LiveCD项目需要一些额外的RPM包,目前没有收集在CentOS光盘上,可以通过在系统上配置额外的yum仓库源对需要的安装包进行下载和安装。创建如下的一个文件/etc/yum.repos.d/centos-livecd.repo ,编辑内容如下:
# Name: CentOS LiveCD repository
[livecd]
name = CentOS $releasever - LiveCD
baseurl =http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live
enabled=1
protect=0
gpgkey =http://www.nanotechnologies.qc.ca/propos/linux/RPM-GPG-KEY-PGuay2010
如果这个地址无效,这里有一个镜像地址:http://mirror.ribalba.de/centos-livecd/
yum 属性
如果正在使用yum-priorities插件,需要设置priority=1(或者设置相同得知作为核心的仓库源)在上面的配置文件中。允许你从LiceCD的仓库源中获取最新的pykckstart,dosfstools 和syslinux的最新版本
安装livecd-tools
现在准备安装python脚本,主要应用于插件CentOS LiveCD:
# yum install livecd-tools syslinuxanaconda-runtime
注意1:livecd-tool安装包要求版本比较新的pykickstart安装包,dosfstools和syslinux不在CentOS的提供之列。上述配置的yum仓库源包含上述的升级包。
注意2:anaconda-runtime是可选的。它提供了md5校验的功能。
Kickstart 配置文件(可选)
: Write error at byte offset 4294922240,length 4096.
loop: Write error at byte offset4294926336, length 4096.
loop: Write error at byte offset4294930432, length 4096.
loop: Write error at byte offset4294934528, length 4096.
loop: Write error at byte offset4294938624, length 4096.
loop: Write error at byte offset4294942720, length 4096.
loop: Write error at byte offset4294946816, length 4096.
loop: Write error at byte offset4294950912, length 4096.
loop: Write error at byte offset4294955008, length 4096.
loop: Write error at byte offset4294959104, length 4096.
JBD: IO error reading journal superblock
EXT4-fs (loop5): error loading journal
Requires: python(abi) = 2.4 Installed: python(abi) = 2.6