Re: Error with subchannels in current 1.4.2
John Berninger <[email protected]> Thu, 6 Feb 2003 13:34:55 -0500
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
subchannels are not supported at this point. Please don't try to use
them yet.
On Thu, 06 Feb 2003, Ricardo Ariel Gorosito wrote:
> The error:
>
> feb 06 14:27:12 Current v1.4.2 starting up
> feb 06 14:27:13 Error trying to add channel from
> /home/soft/current/db/freshrpms-7.3-i386
> feb 06 14:2713 : EXCEPTION in /usr/share/current/current_apache.py,
> init_backend(), 90 [logException()]
> Traceback (innermost last):
> File "/usr/share/current/current_apache.py", line 87, in init_backend
> packagedb.db.addChannel(chan_info)
> File "/usr/share/current/packagedb.py", line 54, in addChannel
> new_arch = tmp.chanInfo['arch']
> KeyError: arch
> feb 06 14:27:13 Error trying to add channel from
> /home/soft/current/db/freshrpms-8.0-i386
> feb 06 14:2713 : EXCEPTION in /usr/share/current/current_apache.py,
> init_backend(), 90 [logException()]
> Traceback (innermost last):
> File "/usr/share/current/current_apache.py", line 87, in init_backend
> packagedb.db.addChannel(chan_info)
> File "/usr/share/current/packagedb.py", line 54, in addChannel
> new_arch = tmp.chanInfo['arch']
> KeyError: arch
>
> My config:
>
> <snip>
> ############################################################################
> [redhat-7.3-i386]
> name = Red Hat Linux 7.3
> parent_channel =
> arch = i386
> os_release = 7.3
> description = Red Hat Linux 7.3
> srpm_check = 0
>
> rpm_dirs = /u/soft/current/paquetes/redhat-7.3/RPMS
> /u/soft/current/paquetes/updates-7.3/RPMS
>
> src_dirs = /u/soft/current/paquetes/redhat-7.3/SRPMS
> /u/soft/current/paquetes/updates-7.3/SRPMS
>
> ############################################################################
> [redhat-8.0-i386]
> name = Red Hat Linux 8.0
> parent_channel =
> arch = i386
> os_release = 8.0
> description = Red Hat Linux 8.0
> srpm_check = 0
>
> rpm_dirs = /u/soft/current/paquetes/redhat-8.0/RPMS
> /u/soft/current/paquetes/updates-8.0/RPMS
>
> src_dirs = /u/soft/current/paquetes/redhat-8.0/SRPMS
> /u/soft/current/paquetes/updates-8.0/SRPMS
>
> ############################################################################
> [freshrpms-7.3-i386]
> name = FreshRPMS para Red Hat Linux 7.3
> parent_channel = redhat-7.3-i386
> #arch = i386
> #os_release = 7.3
> description = Paquetes de FreshRPMS para Red Hat Linux 7.3
> srpm_check = 0
>
> rpm_dirs = /u/soft/current/paquetes/freshrpms-7.3/RPMS
> src_dirs =
> #src_dirs = /u/soft/current/paquetes/freshrpms-7.3/SRPMS
>
> ############################################################################
> [freshrpms-8.0-i386]
> name = FreshRPMS para Red Hat Linux 8.0
> parent_channel = redhat-8.0-i386
> #arch = i386
> #os_release = 8.0
> description = Paquetes de FreshRPMS para Red Hat Linux 8.0
> srpm_check = 0
>
> rpm_dirs = /u/soft/current/paquetes/freshrpms-8.0/RPMS
> src_dirs =
> #src_dirs = /u/soft/current/paquetes/freshrpms-8.0/SRPMS
>
> Notes:
> if I uncomment #arch & #os_release in subchannels, error change to:
>
> feb 06 14:1601 : EXCEPTION in /usr/share/current/current_apache.py,
> init_backend(), 90 [logException()]
> Traceback (innermost last):
> File "/usr/share/current/current_apache.py", line 87, in init_backend
> packagedb.db.addChannel(chan_info)
> File "/usr/share/current/packagedb.py", line 63, in addChannel
> raise Exception('Cannot have two chans with same properties')
> Exception: Cannot have two chans with same properties
>
> cadmin info _the_name_of_subchannel don't show me arch or os_release.
>
> It's a config error?
>
> Thanks.
>
> --
> Ricardo Ariel Gorosito <[email protected]>
>
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server
--
Thank you,
John Berninger
Systems Administrator [email protected]
Department of Mathematics Box 8205, Harrelson Hall
NC State University Raleigh, NC 27695
Phone: (919)515-6315 Fax: (919)515-3798
GPG Key ID: A8C1D45C
Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C
--