Fedora Linux Support Community & Resources Center
  #1  
Old 1st August 2010, 08:59 AM
ashash Offline
Registered User
 
Join Date: Jul 2010
Posts: 7
windows_xp_2003opera
Revisor error

I want to build a custom installation CD from Fedora 12.
So I'm using revisor, and select "CD set". After selecting the packages that I want, and clicking "Forward", when it shows an error message

Code:
Got an error from /usr/bin/xsltproc (return code 6)
I use a local repository. Total size of my selected package is less than 100 MB. In fact I select only the kernel-PAE package and let the revisor to find other needed packages, which are totally 114 packages.
here is my kickstart file:

Code:
#platform=x86, AMD64, or Intel EM64T
#version=F12
# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Root password
rootpw --iscrypted ****************
# System authorization information
auth  --useshadow  --passalgo=md5
# Use graphical install
graphical
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
# Use CDROM installation media
cdrom
part / --size=16384
#192.168.20.14
# System timezone
timezone  *****************
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all
and here is the changed part of configuration file:

Code:
[fedora]
name=Fedora 12 - i386
baseurl=file:///home/livecd/Packages
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-12&arch=i386
enabled=1
gpgcheck=0
I can make a live CD without error.

---------- Post added at 11:59 PM CDT ---------- Previous post was at 12:26 PM CDT ----------

If I change the repository to one exists in the Fedora 12 DVD the error won't occur and creation work while continue until another error:

Code:
Got an error from /usr/lib/revisor/scripts//F11-buildinstall (return code 1)
This repository's (Fedora's DVD) packages are grouped into categories such as base system, administration, ... as you know. But the repository that I created, using createrepo command, was not grouped, how can I do this, because I am thinking that this the reason of the error.

The Fedora's DVD does not contain the syslinux and anaconda-runtime as I know these are needed.
Reply With Quote
  #2  
Old 3rd August 2010, 12:22 AM
ashash Offline
Registered User
 
Join Date: Jul 2010
Posts: 7
windows_xp_2003opera
Re: Revisor error

Using the repodata folder that exists in Fedora's DVD, I created a repository that its packages are grouped.
I removed the line "part / --size=16384" from kickstart file.

I found that the F12-buildinstall script exits at this line

Code:
yumdownloader -c $yumconf anaconda || exit 1
I add some codes before the

Code:
if [ -z "$yumconf" ]; then
codes that I added

Code:
yumconf=$(mktemp ${TMPDIR:-/tmp}/yum.conf.XXXXXX)
    cat > $yumconf <<EOF
[main]
cachedir=$CACHEDIR
keepcache=0
gpgcheck=0
plugins=0
reposdir=
tsflags=nodocs

[anacondarepo]
name=anaconda repo
baseurl=$REPO
enabled=1
EOF
These are just copy and paste of the codes within the if statement.

Then I ran the revisor and I chose the kernel package and syslinux and anaconda.
This time the no error was occurred and I had the CD at the end.

But I don't know what the problem really is.

---------- Post added at 03:22 PM CDT ---------- Previous post was at 08:22 AM CDT ----------

Finally I found the problem and the solution!

I change the anaconda section of revisor-f12-i386.conf to

Code:
[anaconda-updates]
name=Fedora Unity Anaconda Updates for Fedora 12
baseurl=file:///home/livecd/Packages
#baseurl=http://www.kanarip.com/anaconda/f12/i386/
enabled=1
Then I tried again and got the error again.

In F12-buildinstall script there exists some codes

Code:
repoquery -c $yumconf anaconda
and
Code:
yumdownloader -c $yumconf anaconda
where in my case the content of yumconf was "/etc/revisor/conf.d/revisor-f12-i386.conf".

The script tries to rum these commands but it failed because of the "update" repository was enabled and it tries to retrieve repmod.xml from it but it couldn't. Simply, I change the enable value of it to 0.

Code:
[updates]
name=Fedora 12 - i386 - Updates
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/i386/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f12&arch=i386
enabled=0
gpgcheck=0
Now I have no errors and I can make CDs easily. So, I need no changes in the script, unlike the way that I used before, and told in previous post.

Thanks
Reply With Quote
  #3  
Old 4th August 2010, 04:04 PM
ashash Offline
Registered User
 
Join Date: Jul 2010
Posts: 7
Re: Revisor error

Previously I told that I think anaconda and syslinux packages must be selected, but I was wrong, there is no need to select them and this is no required to create CD set, but syslinux must be selected in live CD creation.
Reply With Quote
  #4  
Old 8th August 2010, 02:10 PM
ashash Offline
Registered User
 
Join Date: Jul 2010
Posts: 7
linuxopera
Re: Revisor error

I have another problem. Now I want to make an installation DVD. But I got the previous error

Code:
Got an error from /usr/lib/revisor/scripts/F12-buildinstall (return code 1)
I know, it exits at this line in the F12-buildinstall script

Code:
$UPD_INSTROOT $DEBUGSTR $NOGRSTR --arch $BUILDARCH $UPDATES --imgdir $TREEDIR/install $yumconf || die "upd-instroot failed"
But i don't know why, Have you any idea?
Reply With Quote
  #5  
Old 9th August 2010, 11:39 AM
ashash Offline
Registered User
 
Join Date: Jul 2010
Posts: 7
linuxopera
Re: Revisor error

I tried it on another machine and it was successful. I think something has corrupted on the machine.
Reply With Quote
Reply

Tags
revisor

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when booting CD made with Revisor metaylor Using Fedora 0 28th October 2008 10:40 PM
Revisor Fails ! Error: NONE !! gala_dragos Using Fedora 0 5th February 2008 12:22 PM
Revisor [kernel install error?] lucky21 Using Fedora 12 11th December 2007 05:41 PM
Revisor spaze Using Fedora 3 15th November 2007 01:35 PM
Getting "FC6_NetworkData instance has no attribute 'ipv6'" error from Revisor thefold Using Fedora 1 24th October 2007 04:42 PM


Current GMT-time: 21:27 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat