LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-23-2005, 12:50 PM   #1
jdmarti1
LQ Newbie
 
Registered: Sep 2005
Distribution: Mandrake 10.1 PowerPack
Posts: 5

Rep: Reputation: 0
I am an idiot!!!!


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.
 
Old 09-23-2005, 01:44 PM   #2
ironwalker
Member
 
Registered: Feb 2003
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: Reputation: Disabled
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.
 
Old 09-23-2005, 02:25 PM   #3
jdmarti1
LQ Newbie
 
Registered: Sep 2005
Distribution: Mandrake 10.1 PowerPack
Posts: 5

Original Poster
Rep: Reputation: 0
Live CD?

chroot what path?
 
Old 09-23-2005, 03:04 PM   #4
ironwalker
Member
 
Registered: Feb 2003
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: Reputation: Disabled
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
 
Old 09-23-2005, 06:29 PM   #5
jdmarti1
LQ Newbie
 
Registered: Sep 2005
Distribution: Mandrake 10.1 PowerPack
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 09-23-2005, 10:14 PM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not trying to be an idiot... Xerop Linux - Software 2 02-18-2005 11:37 PM
I'm a MS IDIOT Help me! purevil Linux - Newbie 3 08-01-2004 11:15 AM
Help me I'm an idiot. Nightwing Linux - Newbie 13 06-16-2004 12:09 PM
I'm an idiot... smudge Slackware 13 12-25-2003 06:45 AM
Help Idiot is here again! elizabetheanera General 2 06-13-2001 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration