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.
# unlink libz.so.1
# pwd
/lib64
lib64]# rpm -qa |grep -i libz
rpm: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
Right...because if you read the message you got, you didn't actually INSTALL it...it told you it conflicted and exited. Never installed the new zlib. You then removed the one you DID have installed manually, which broke things. An RPM file can be manually extracted...make a directory somewhere in your $HOME, copy the RPM file to it, and run
Code:
rpm2cpio ./<some file name>.rpm | cpio -idmv
Then copy the ONE file back to the location where you removed it, and see if you can then run RPM commands. After that, do not use RPM to install packages...yum exists for a reason, because it takes care of dependencies for you. Without telling rpm to forcibly update/upgrade a package (see the man page on the rpm command), it won't. Yum asks, and takes care of housekeeping for you...removing files manually is bad.
yes, I am not sys admin and most probably shouldn't be matter for most people in community, never had any hidden or misleading purpose. Since we have new sys admin, we try to help any possible way. for us, its one person/sys. admin issue, its group/team issue and we will continue doing it.
yes, I am not sys admin and most probably shouldn't be matter for most people in community, never had any hidden or misleading purpose. Since we have new sys admin, we try to help any possible way. for us, its one person/sys. admin issue, its group/team issue and we will continue doing it. Thanks all for commenting...
If you're not the systems admin, you are not helping the person who is. If it's not your job, and you don't have the knowledge to do it, you shouldn't. If you worked as an accountant at a garage, you wouldn't just go out and start trying to fix cars would you?? Would you appreciate it if one of the mechanics came in and started trying to do the accounts??
You 'helped' the person that was hired, by breaking a working server, giving them one more thing to fix. Again, if you have RHEL 6.8 you need to be paying for it, which would let you have used the correct "yum" command to do the installation. Your system, so you're free to do what you'd like, of course. But consider how things have turned out by doing so.
"yum upgrade zlib" should have been all you had to do. Reading the man page on RPM.."rpm -Uvh <file>" would have forced it in, and probably broken something else.
Trust me that is really bad example, if I am an accountant at garage and mechanic need some help, i would do it as I have some knowledge of car. I am on planet earth where people helps people. And guess what, we didn't break anything, we still have older version zlib - its just not compatible with 3rd party tool, so we just trying to get new version of zlib on board.
And "WE" will fix this,
Thanks again for your comment (of-course about zlib).
Trust me that is really bad example, if I am an accountant at garage and mechanic need some help, i would do it as I have some knowledge of car. I am on planet earth where people helps people.
Good for you. Replace it with whatever you'd like, ok??? It was an example.
Yes you should help folks...if you know how to help them. Otherwise, you cause the people who DO know more trouble than you wind up helping. This is a good example.
Quote:
And guess what, we didn't break anything, we still have older version zlib - its just not compatible with 3rd party tool, so we just trying to get new version of zlib on board. And "WE" will fix this,
You didn't break anything??? Then how come in your first post you said that after you messed with it, you couldn't then run yum or rpm commands??? You say you have the old version....how do you have it, after you said (again in your first post), that you deleted it, causing the yum/rpm commands to stop working???
You ran the wrong command to perform an update (post #1)
You removed files (post #1)
You then could not run rpm or yum commands (post #1) AFTER...
...you botched the installation of a package, because...
...you didn't use the right commands, syntax, or contact support
What, exactly, is guesswork?? Can you point to a single thing you've done to 'help' your systems admin??? You don't have the skills or knowledge to be doing things like this, obviously, and ignored the advice from months ago about contacting RHEL support, because they could have easily walked you through this on the phone CORRECTLY, which would actually have helped.
You didn't. Your system is broken. Mine aren't....tell your systems admin good luck instead.
what you doing here not helping anyone (you knows that). But its really funny, entertainment for sure...(like 5 year old kid fighting in school...omg you did this, you did that...but you didn't that...tell me what you did...haha)...keep doing...
Actually you do too much guessing...good luck...!!!
Quote:
Originally Posted by wl
what you doing here not helping anyone (you knows that). But its really funny, entertainment for sure...(like 5 year old kid fighting in school...omg you did this, you did that...but you didn't that...tell me what you did...haha)...keep doing...
wl, regarding these two posts, please refer to the LQ Rules And please take note of the following specific ones:
Quote:
Do not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, hostile or insulting.
Personal attacks on others will not be tolerated.
Do not post if you do not have anything constructive to say in the post.
Challenge others' points of view and opinions, but do so respectfully and thoughtfully ... without insult and personal attack. Differing opinions is one of the things that make this site great.
It is obviously more helpful for everyone to remain civil in these threads.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.