Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Editing the properties of an RPM file

  • 08-10-2005 1:06pm
    #1
    Registered Users, Registered Users 2 Posts: 21,137 ✭✭✭✭


    Anyone know much about tweaking RPM files?

    I have an RPM file I wish to install that depends on "chkconfig". Now I have chkconfig installed on my system as part of package aaa_base. However aaa_base doesn't admit to providing chkconfig. Rather than installing my package using --nodeps, I'd like to change either my RPM so it depends on aaa_base instead of chkconfig or aaa_base so that it provides chkconfig. Anyone know how I do that?


Comments

  • Registered Users, Registered Users 2 Posts: 2,771 ✭✭✭niallb


    Hi Stark,
    Details!

    What is the package? What is the distro?
    Are you trying to install an rpm built for fedora
    on a SuSE machine or similar?

    If you have a good development install, download
    the src.rpm instead and install that.
    Take a look at ......./src/RPM/SPEC/yourrpm.spec
    and change the requires listing of chkconfig for aaa_base.

    You may have issues with other tags in the rpm spec file, as SuSE does things differently to everyone else. You may also find build dependency hell.


    If you're lucky though, running:
    rpm -bb ......./src/RPM/SPEC/yourrpm.spec
    You may be able to sidestep some of these requirements
    by combining the src.rpm directory with the contents
    of the pre-compiled rpm, but I'm not getting into that!

    Mandrake do rpm so much better than anyone else.
    Their tool urpmi makes this kind of thing really easy. It's almost as good as apt-get.
    If it gives you loads of grief, try installing apt4rpm,
    and it should make it the last time you have this kind of hassle.

    Good luck with it,
    NiallB


Advertisement