The script will print rpm packages with same version and different version
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hello Team,
i wanted The script will print rpm packages with same version and different version
Again, we aren't on your 'team'...we volunteer here. We can help you with a script, as soon as you post what you have personally done/tried to get this done, and explain what you want. Your question isn't clear, and you show no effort of your own. Again, read the "Question Guidelines".
im writing a script which will help me and my team to compare two machine rpm versions for e.g fedora rpm package version and rhel8 rpm package version
im writing a script which will help me and my team to compare two machine rpm versions for e.g fedora rpm package version and rhel8 rpm package version
Great. So post what you've written, and tell us what it's not doing, or what error(s) you're getting. Also, be aware that Fedora and RHEL aren't going to line up exactly as far as package names or even package availability.
Again, we're happy to help, but YOU have to show us YOUR EFFORTS FIRST.
im writing a script which will help me and my team to compare two machine rpm versions for e.g fedora rpm package version and rhel8 rpm package version
do we get paid if we write it for you?
as has already been said by myself and others
Post what you have got already.
allow me some time i will post what i have done and what i want
Some time? Thought you already had the script???
Quote:
Originally Posted by Suraj Patil
sharing knowledge is most fundamental act of friendship , not every thing comes under money
Right; that's why we volunteer here, and no one is saying that we won't HELP you. What we ARE saying, is that **YOU, PERSONALLY** have to show some actual effort of your own, to do your own job, before we will assist. We aren't going to write scripts for you, period.
If you post a script, and say "It's giving me this <....> as output, when I put <....> in, but what I want to see is <....>", that's something we can help with. Saying, "I need a script to do xxx", isn't.
Please be cognizant that all members of LQ, including yourself are volunteers. Meanwhile, these links would be recommended for you to review.
Please also note that while you've described a script, you have not as yet posted one, and further, members have no idea what your abilities are on this subject, as well as which script language you will choose for your script. We will await updates from you containing further information that is relevant to your original question.
Please also note that when you perform the actions to post a new thread, the New Thread screen contains a great deal of information related to how to ask a complete, as well as effective question.
Final followup are some details from the Welcome thread:
Quote:
Here are a couple tips that will enable us to help you moving forward:
When asking a question, be sure to provide as many relevant details as possible. You should include the distribution and version you're using, along with hardware details, application version and exact error messages where applicable.
Using a descriptive title will vastly increase the number of members who see your thread, and therefore make a response significantly more likely.
If you're actively troubleshooting an issue you should also include any steps you've already taken.
You may want to include how what you are experiencing differs from what you expected to experience.
Before posting, have you used the search function to ensure your question hasn't been asked before?
You can edit your post by clicking the EDIT button in the bottom right corner of your message.
If you are unwilling or unable to ask questions in a manner that allows us to help you, it's unlikely our community will be able to provide you a solution. Unfortunately, serial offenders who show wanton disregard for this request after multiple pointers may be asked to seek help elsewhere. We truly hope that isn't necessary, and assure you Linux and Open Source are extremely rewarding and well worth the learning curve in the long run.
im writing a script which will help me and my team to compare two machine rpm versions for e.g fedora rpm package version and rhel8 rpm package version
You don't say which version of Fedora.
Although RHEL versions are derived from things previously tested in Fedora they are not going to be exactly the same. RHEL is designed for Production use and will typically have older versions of things than Fedora. You should NOT try to install Fedora packages on your RHEL8 system or vice-versa.
As others have said you can list what is installed by running "rpm -qa". You could try comparing the packages but need to be aware of extended versioning done on RHEL. It will show you the upstream version of a package that was installed but will then have additional versioning at the end to show RHEL's specific build. RedHat back-ports bug and security fixes into the original upstream base they used for the major OS version (e.g. RHEL6, RHEL7, RHEL8) so that the base version portion is the same thoughout the life of the major OS version. Fedora I think just uses the base upstream version since it is bleeding edge and has no need to preserve older base upstream within the major OS version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.