LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Removed something important (https://www.linuxquestions.org/questions/linux-software-2/removed-something-important-440783/)

pdemaers 05-02-2006 01:40 AM

Removed something important
 
Hi,

Please do not ask why I did this, I don't know, but here it is. I removed (via rpm -e) the zlib1 package on my Fedora Core 3 setup. As a result nothing (graphical) really works anymore as this package is used by quite a number of other packages. I do get to a command line though, but when i try to install (with rpm -i) the latest version of the zlib1 package it says it can not find a file from the older zlib1 version. How can I get this file installed from the command line ? This is probably not enough information to really give me a good answer, so please ask away !!

By the way, the reason i removed the zlib1 package is because I was running into issues installing a newer version. Guess that was the last time I do something of which i dont know the full consequences. My final goal is to install the mysql workbench application.

Thank a lot to anyone who can push me in the right direction. I am eager to learn, and God knows I need to.

Cheers,

Patrick

bosewicht 05-02-2006 02:00 AM

so what is it claiming it can't find? you could try using the upgrade flag. Otherwise try reinstalling the same version you had installed to begin with.

hisnumber666 05-02-2006 02:24 AM

sounds like you are quite dependent on the graphical environment.
a quick yet brutal way would be to force installation ignoring errors. i looked up rpm syntax and found this:
http://www.redhat.com/docs/manuals/l...rpm-using.html
they covered common cases in there.
if you wish to just go ahead and install the package, try these options with rpm:
--replacepkgs
--replacefiles
--nodeps

hopefully that will get you your graphical environment back and you can deal with any problems with you graphical package manager.
i use a non-rpm distro myself so i might be wrong. hopefully that works. correct me if im wrong.

pdemaers 05-02-2006 02:50 PM

Hi,
thanks for the info. And yes, I am somewhat ashamed to admid that I am dependent on the graphical user interface. I do manage to do some things with the command line, but I an nowhere near proficient enough yet.

Anyway, here is some more info regarding my problem. When I try to install the zlib1 package with 'rpm -ivh zlib1-1.2.3-1mdk.i586.rpm' I get the following message

RPM error while loading shared libraries: libz.so.1 cannot open shared object file: no such file or directory.

Problem is that i dont know what the originally installed version was.

Something just dawned on me. I do have a two week old backup of all my data. From the command line i can probably make another fresh backup to my external hard disk. If that works, would it maybe be a better option to upgrade my whole syste to fecora core 5, instead of trying to repair this core 3 intallation ?

Any thoughts ?

Thanks again and best regards,

Patrick

bosewicht 05-02-2006 03:04 PM

I would prob go ahead and upgrade regardless.


All times are GMT -5. The time now is 04:20 AM.