AW: KeyError while running getnotincomps.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thats ok, but you can also find all installed packages at /root/install.log

-----Ursprüngliche Nachricht-----
Von: Oisin Mulvihill [dontgivespamachance]
Gesendet: Mittwoch, 27. Juli 2005 14:48
An: Manilal K M
Cc: anaconda-devel-list@xxxxxxxxxx
Betreff: Re: KeyError while running getnotincomps.py


Hi, 


On 27 Jul 2005, at 12:26, Manilal K M wrote: 


Hello all, 
I am trying to customize FC4. My aim is to provide a subset of FC4 
with a limited no of packages. I have edited the comps.xml and when I 
run getnotincomps.py it cause an error. The command and the complete 
output is given below: 
[root@ost2 kairali-1.2]# /usr/share/comps-extras/getnotincomps.py 
/home/kairali-1.2 i386 Fedora/base 
Traceback (most recent call last): 
File "/usr/share/comps-extras/getnotincomps.py", line 58, in ? 
main() 
File "/usr/share/comps-extras/getnotincomps.py", line 47, in main 
for pkg in comps.packages[name].dependencies: 
KeyError: 'iiimf-server' 


What could be wrong? 
Any help will be appreciated 
regards 
Manilal 


I was trying to produce a customised single disk distribution. I couldn't 
get the getnotincomps.py to work at all. I wanted it to tell me what I 
didn't need in my distro. I never solved this problem but Dan Trainor 
made an excellent suggestion. Do a web install then look at the web log 
for the rpms that got installed. I did this from a local machine and 
this combined with some other things worked well for me. 


I'm still interested in finding out how to get getnotincomps.py to work. 



All the best, 


om 



Oisin Mulvihill wrote: 
Hi, 


dvd isn't an option at the moment and won't happen at all for the 
existing 70+ kiosks I have at present. 


My main problem is I follow the process to produce the distro, 
but I can't get the tools show me the rpms I don't need. I don't 
know whether my comps.xml is the problem or its just a problem 
with the getnotincomps.py. The getnotincomps.py seems to be failing 
because it can't find dependancies for each package in I mention 
in the comps.xml. Why this is the case I don't know as getfullcomps.py 
seems to be working fine along with the other stages up to running 
getnotincomps.py. 


Does anyone have more detailed instructions for producing a single 
disk install with anaconda? 


Thanks, 


Hello, Oisin - 


What I've been doing, is an HTTP-based kickstart, parsing the logs of 
the files that were downloaded for the install that I had configured, 
then simply copied those files and only those files to by "real" RPMS/ 
directory. 


I realize that you don't want to do network kickstart installs for all 
these kiosks. What I'm saying is, at least do a single HTTP-based 
install, watch your web server logs, find out which RPMs and only which 
RPMs are installed by your kickstart configuration, and use those and 
only those RPMs in your RPMS/ archive. 


I've never, to this day, gotten getnotincomps.py to work. 


Hope this helps 
-dant 


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux