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.
I was trying to upgrade zlib to the latest version on Mandrake 10.1, so I could run ClamAV-toaster. It refused to do it, so I removed zlib with the rpm -e --nodeps switch. Not a smart move on my part. Now I can't get half of anything to work, imagine that - there were a bunch of dependencies. The bad thing is because of the dependencies I can't use urpmi, rpm -Uvh, or RPMDrak. Does anybody have any ideas - besides format and re-install.
I need to preface this with the fact that I am a linux newb. I actually purchased Mandrake Powerpack back in June. I researched, and everybody said it had the easiest install. So far I have been fairly pleased with it. It seems that maybe FC and Red Hat has more stuff already packaged for it (I don't really know how to re-package them.) Mandrake's updates are a little harder to get, but I am sure I will find a way around that as I learn. The DRAK's were a godsend to a newb though. I have tried to learn the command line stuff, and have learned some of the basics, but the DRAK's made it much easier for a newb. I have had many people try to get me to change, but so far I am loyal to Mandrake. I wish Mandrake was a little more supportive, but I will learn their quirks. Maybe after I get this completed I can figure out how to upgrade to 2005. You guys are awesome - thanks in advance for any help you may have for me.
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506
Rep:
Use a live cd
get root terminal
mount your install's partition
chroot your path here
mount -t proc none /proc
make sure you have net and upgrade or just reinstall zlib
Last edited by ironwalker; 09-23-2005 at 01:45 PM.
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506
Rep:
knoppix or kanotix....both livecd's will work
my root is sda3 so;
mount /dev/sda3 /mnt/sda3
chroot /mnt/sda3 /bin/bash/
mount -t proc none /proc
now you are in your main installs enviroment
reinstall zlibs pakage
So how do I re-install zlibs at that point? I understand boot to Knoppix, then mount the partition that has root in it. I hope I am right so far. Then chroot the root. Then issue the command - mount -t proc none /proc (what does that do?) How do I go about re-installing the zlibs though? I would normally just issue the urpmi command - I somehow don't think that will work. Thanks for helping a real dummy.
Just do that, issue the urmpi command. What ironwalker is telling you to do is basically boot off a live CD, but then chroot into your existing installation. After you've issued the chroot, try an ls on some directories, everything will look nice and familiar. You might need to source /etc/profile and if you have /home or /etc or something on different partitions you'll need to mount then inside your chroot before you chroot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.