[Yum] 'yum groupinstall <foo>' does not install packages [SOLVED]

Michael J. Carter mcarter at lanl.gov
Tue Dec 7 22:09:13 UTC 2004


On Tue, 2004-12-07 at 14:54, Michael J. Carter wrote:
> 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

Properly naming these files as: 

RealPlayer-10.0.1.436-20040924.i386.rpm
TIVguid-5.1.5-0.i386.rpm
TIVsm-API-5.1.5-0.i386.rpm
TIVsm-BA-5.1.5-0.i386.rpm

fixed my problem.

mjc

-- 
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