[Yum] yum on rh62 experiences

seth vidal skvidal at phy.duke.edu
Wed Apr 23 14:19:55 UTC 2003


On Wed, 2003-04-23 at 04:46, Peter Peltonen wrote:
> Hi,
> 
> I just installed yum-1.0-1_73 on a machine running Red Hat Linux 6.2. I
> had to edit the .spec file to lower the rpm dependencies from 4.0.4 to
> 4.0.2 before I could recompile the src.rpm. Thanks for Seth for the tip.
> (BTW there seems to be rpm 4.0.4 packages at rpm.org, but at least for
> me installing the required popt package would have removed some crucial
> packages lika passwd to install... Does anyone have any
> thoughts/experiences on this?).
> 
> Here's my experiences, if someone is interested:
> 
> Yum installation gives some errors:
> 
> --<snip>--
> Executing RPM (-Uvh)...
> Preparing...                ###########################################
> [100%]
>    1:yum                    ###########################################
> [100%]
> error reading information on service yum: No such file or directory
> error reading information on service yum: No such file or directory
> yum: unrecognized service
> --</snip>--
> 

oh
you need to edit the spec file again and move the file from
/etc/init.d/yum to /etc/rc.d/init.d/yum

/etc/init.d/ did not exist in 6.X



> When running 'yum update' I got this error when installing a new kernel:
> 
> --<snip>--
> Resolving dependencies
> Dependencies resolved
> I will do the following:
> [install: kernel.i686]
> Is this ok [y/N]: y
> Calculating available disk space - this could take a bit
> kernel 100 % done 
> depmod: invalid option -- i

so: yum doesn't run depmod - rpm does.

I bet if you run rpm -q --scripts kernel-that-version

you'll find that depmod call in there or in some program that it calls.


> Kernel Updated/Installed, checking for bootloader
> Lilo found - adding kernel to lilo and making it the default
> Installed:  kernel.i686
> Transaction(s) Complete
> --</snip>--

glad to hear yum works ok for you on 6.2

I'd still like to suggest people NOT use 6.X, in general, though :)

-sv





More information about the Yum mailing list