Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
check-repository.py gives errors

check-repository.py gives errors

2004-11-16       - By Ben Fitzgerald

 Back
Hi,

I 'm trying to check my comps file, hdlist and rpms using the
following (my install dir is /export/opt/kickstart):

[benf@(protected) kickstart]$ /usr/lib/anaconda-runtime/check-repository.py /export/opt/kickstart
Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/check-repository.py ", line 95, in ?
CheckRepository(sys.argv[1])
File "/usr/lib/anaconda-runtime/check-repository.py ", line 91, in __init__
self.getCompsList ()
File "/usr/lib/anaconda-runtime/check-repository.py ", line 54, in getCompsList
self.comps = self.readComps(self.hdList)
File "/usr/lib/anaconda-runtime/check-repository.py ", line 62, in readComps
'/RedHat/base/comps ', hdlist)
File "/usr/lib/anaconda/comps.py ", line 1046, in __init__
self.readCompsFile(file, self.packages)
File "/usr/lib/anaconda/comps.py ", line 732, in readCompsFile
file = urllib2.urlopen(filename)
File "/usr/lib/python2.2/urllib2.py ", line 138, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.2/urllib2.py ", line 326, in open
type_ = req.get_type()
File "/usr/lib/python2.2/urllib2.py ", line 230, in get_type
raise ValueError, "unknown url type: %s " % self.__original
ValueError: unknown url type: /export/opt/kickstart/RedHat/base/comps
[benf@(protected) RedHat]$ vi -R /usr/lib/anaconda-runtime/check-repository.py

Am I missing a package that python requires? I have the following:

[benf@(protected) kickstart]$ rpm -qa |grep comps
comps-extras-9.0.4-1
comps-3AS-0.20040113

There seem to be few docs on check-repository.py. Many describe
earlier versions of the comps file (xml based).

Perhaps this is simply my command line syntax.

Any help is greatly appreciated.

Thanks,

Ben

--
Registered Linux user number 339435

--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list