Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all. My question is: is there a way to change the dependencies an RPM requires? The reason I ask is because I'm trying to install winex from the suse wine rack, and I have fedora core 3. I got it to work in fedora core 2 simply by using --nodeps. I can still do this in fedora core 3, however, later on when I'm solving another fedora/winex issue where I need to disable prelinking and run "prelink ua", it runs into "can't find dependency" issues.
Basically, it simply asks for "python-gtk" and "python-gnome" when installing. FC3 appearently already has these, they're just named "pygtk" and gnome-python", respectfully. So all i need to know is, is there a way I can edit the RPM itself, or run the rpm command, so that it uses "pygtk" and "gnome-python" in place of python-gtk" and "python-gnome"?
Originally posted by DrD Hi all. My question is: is there a way to change the dependencies an RPM requires? The reason I ask is because I'm trying to install winex from the suse wine rack, and I have fedora core 3. I got it to work in fedora core 2 simply by using --nodeps. I can still do this in fedora core 3, however, later on when I'm solving another fedora/winex issue where I need to disable prelinking and run "prelink ua", it runs into "can't find dependency" issues.
Basically, it simply asks for "python-gtk" and "python-gnome" when installing. FC3 appearently already has these, they're just named "pygtk" and gnome-python", respectfully. So all i need to know is, is there a way I can edit the RPM itself, or run the rpm command, so that it uses "pygtk" and "gnome-python" in place of python-gtk" and "python-gnome"?
Thanks in advance,
You can create symbolic link with the name required by the rpm pointing to the correct library using the ln command. Use man ln for more information.
For eg. I have a library named "libsome.so.0" on my system and the dependency asks for "libsomethingalias.so.0" which is another name for the existing library.
So I create a link using:
Code:
ln -s libsome.so.0 libsomethingalias.so.0
Where libsome.so.0 is the "target" and libsomethingalias.so.0 is the name of the link created which will point to the original libsome.so.0.
This way you won't need to change any dependencies.
Last edited by vharishankar; 11-24-2004 at 11:22 PM.
I think you're on to some thing Harishankar; however, where do I place these symbolic links? I can create them, but it only puts a link in whatever folder I'm in at the time, and putting them in the folder with the RPM doesn't make it think those dependencies are aviable.
symbolic links could be the answers, or not. Some requires are on files; it'll be OK for those. Most requires are on provided features (by other RPM packages), and those can't be changed with symbolic links.
The "clean" solution is to take the SRPM, install it (rpm -i), cd into /usr/src/RPM, edit SPECS/thepackage.spec to make the requires correct, and then rebuilt the RPM with rpmbuild -bb SPECS/thepackage.spec.
Sounds fair enough, but all I have is:
winex3-3.2-4.i586.rpm
from the SUSE wine rack CD
The wine rack also contains python-gnome and python-gtk rpms, but those conflict with the differently named instances of those libraries I already have.
Essentially, it just needs to install using librarys that are already there, but just named differently then it's expecting. I'd imagine there's a relatively strait-forward way to do this...?
(--nodeps installs the package, but later on it messes things up when I do prelink -ua (required for a FC winex fix). It also makes synaptec (apt-get) stop working until I remove the "broken package", so I figured I'd just do it right this time and figure out how to satisfy it's dependencies from the get-go)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.