Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 05-24-2011, 04:20 PM   #1
LQ Newbie
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
kickstart install: "This package does not exist" after setting up the package.

I'm updating a working kickstart configuration. Got a good iso from it the last time used.

I simply want to add 2 rpms to the installation. So I added the rpms (libganglia & libconfuse) into the ../Server directory. I added those two names to the %packages section in the .cfg file. And I added those two names into two new appropriate lines in the ../Server/repodata/comps.xml file.

I ran "createrepo -g repodata/comps.xml ." from the ../Server (rpms) directory. I then ran my "mkisofs" without issue, and used the resulting .iso.

The message I get during installation is "You have specified the package 'libganglia' should be installed. This package does not exist. Would you like to continue or abort your installation?".

I've tried several variations of the createrepo command. Can someone point me to what I'm missing here?

BTW, this is RHEL 5.4.


Last edited by talltrees99; 05-24-2011 at 04:27 PM. Reason: update
Old 05-26-2011, 12:54 AM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
If they're not part of the distro I'd put them in a separate directory and just install them during %post

%post --nochroot
cp -a /mnt/source/extrapkgs /mnt/sysimage/root/

rpm -Uvh /root/extrapkgs/*.rpm
my 2c
1 members found this post helpful.
Old 05-26-2011, 12:56 AM   #3
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and welcome to LinuxQuestions,

I have to modify kickstart a lot for our install images at work and never used the createrepo command, nor changed the xml files. I just create a directory with our packages, add, delete, modify as how I see fit and install them without a problem. Have a look at this post in another recent thread regarding kickstart. There you'll notice how I mount the DVD and copy the contents from it and next install it with rpm. Have fun with Linux.

Kind regards,

1 members found this post helpful.
Old 05-26-2011, 01:41 PM   #4
LQ Newbie
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, kbp. Simple is good. What originally appeared to be straight-forward was not, and even when I resolved the strange "does not exist" error, it was replaced by a "An error occurred unmounting the CD" message, which was bogus, as I was using a direct .iso file.

I went back to the previous configuration, added the rpms into a staging area, then installed them in post. No prob.

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum: What "Package Group" can provide a package? stefanlasiewski Red Hat 7 03-21-2013 01:31 PM
[SOLVED] Self-built Slackware package "PACKAGE DESCRIPTION" shows nothing catkin Slackware 5 10-24-2010 01:39 PM
Can't locate object method "splitpath" via package "PACK001" at /usr/lib/perl5/5.8.8/ sajigeorge Linux - Software 1 01-11-2009 06:33 AM
"bash: rpm: command not found" errom when trying to install any package sandeepchau123 Linux - General 16 07-06-2008 03:58 AM
perl install error: Can't locate object method "new" via package "Module::Build::Vers powah Linux - Software 0 10-24-2006 01:57 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration