[Yum] 'yum groupinstall <foo>' does not install packages
Michael J. Carter
mcarter at lanl.gov
Tue Dec 7 21:54:03 UTC 2004
On Tue, 2004-12-07 at 14:42, Michael J. Carter wrote:
> On Tue, 2004-12-07 at 14:13, seth vidal wrote:
>
> Wait a minute... There might be a bug in yumgroup.pl. My yumgroups.xml
> isn't right.
Yes, that's the problem. Jeff Sheltren's yumgroups.pl doesn't work for
ill-named RPMS. The following regexp:
# get the package name from the filename
if($_ =~ /^(.*)-([^-]+)-([^-]+)\.[^.]+\.[rR][pP][mM]$/) {
$index{$1}++;
}
will not properly grok filenames like:
TIVguid-5.1.5.i386.rpm
TIVsm-API-5.1.5.i386.rpm
TIVsm-BA-5.1.5.i386.rpm
RealPlayer10GOLD.rpm
--
For ISR-3 IT Team system administration requests,
please see http://computing.isr.lanl.gov/support.
Michael J. Carter | Try not to have a good time ... This is
IT Team Leader | supposed to be educational. -- Charles
Space Data Systems (ISR-3) | Schulz
Los Alamos National Laboratory |
More information about the Yum
mailing list