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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-12-2006, 02:44 PM
|
#1
|
LQ Newbie
Registered: Apr 2006
Posts: 6
Rep:
|
Uninstalled ncurses, need help re-installing.
I was trying to install a program today that said it required ncurses. I updated ncurses, and still no luck. I was going to try uninstalling and then re-installing ncurses, but my machine is now paralyzed without ncurses. I cant open yum or even ftp from a command line because of various errors. My desktop is pretty bare as all of the icons have either disappeared or been reduced to a generic icon.
The one plus I have going for me is that webmin is still functioning. I tried going to the "install package" section of webmin and I attempted to install ncurses from this link (download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/ncurses-5.4-19.fc4.i386.rpm), but webmin tells me that's not a valid RPM file. I'm running FC4.
Can anyone help me re-install ncurses? When that's re-installed, will all of my other programs be back?
|
|
|
04-12-2006, 03:15 PM
|
#2
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
EDIT: I see you're running FC4.
Perhaps someone can send you a binary library you can install. I'm running FC2 at work and can maybe build ncurses-5.4 from source and send you a tarball or something.
You might try booting from your FC4 install CD and see if you can install ncurses that way.
Peace...
Last edited by tomdkat; 04-12-2006 at 03:17 PM.
|
|
|
04-12-2006, 03:20 PM
|
#3
|
LQ Newbie
Registered: Apr 2006
Posts: 6
Original Poster
Rep:
|
The CD's are at home, so I'm going to bring them into the office tomorrow. Part of me is nervous to reboot the machine, because I dont know what will happen then, but I realize I need to reboot because the system isn't of much use to me now.
If anyone has any solutions besides installing from the CD, I'm all ears.
|
|
|
04-12-2006, 05:23 PM
|
#4
|
LQ Newbie
Registered: Apr 2006
Posts: 6
Original Poster
Rep:
|
Can anyone give me a quick how-to on what to do w/ the CD? I have an identical (working) system at home that I booted with the CD, just so I could look at the screens and have an idea what I'm doing tomorrow.
I booted to the CD, and I'm not sure which option to pick. If I choose to upgrade, is there anything that will be lost? We put php4 on this machine, will it upgrade that to php5?
I booted into rescue mode, but I wasn't sure what to do there either. Any help is much appreciated!
|
|
|
04-13-2006, 09:44 AM
|
#5
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Are you still stuck with this?
Peace...
|
|
|
04-13-2006, 10:15 AM
|
#6
|
LQ Newbie
Registered: Apr 2006
Posts: 6
Original Poster
Rep:
|
Here's an update. I booted to the disk and told it to update, and
saw that ncurses was being installed, so that was promising. However,
now when I boot it says that no inittab file was found and it asks me
for a runlevel. I've entered 0-5 and single, and each time it says
that there are no more processes running at this level, doesn't give me a bash prompt, and I have to
reboot the machine. Any suggestions would be most welcome!
|
|
|
04-13-2006, 11:06 AM
|
#7
|
LQ Newbie
Registered: Apr 2006
Posts: 6
Original Poster
Rep:
|
While in rescue mode, I saw that I didn't have an etc/inittab file, but I had an inittab.rpmsave, so I copied the .rpmsave to inittab. It booted, but the default was runlevel 5 and prefdm wasn't loading and causing problems. So I changed to runlevel 3 and I get a login screen that says
(none) login:
It seems like I'm close, what do I do to be able to login?
|
|
|
04-13-2006, 02:12 PM
|
#8
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
At that login prompt, enter the userid/password you would normally use to login to the system.
If you can get logged in, you can try to manually start X, etc.
Peace...
|
|
|
04-13-2006, 02:14 PM
|
#9
|
LQ Newbie
Registered: Apr 2006
Posts: 6
Original Poster
Rep:
|
I've tried that. I enter in anything, and the cursor goes to the next line, thinks for a minute, and then hops back up to the login line and clears what I've entered. Nothing works at this screen. My guess is the (none) has something to do with it, but that's just a guess.
|
|
|
04-13-2006, 02:30 PM
|
#10
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
The 'none' means not hostname has been defined. Do you know the root password? If so, reboot and when you get the LILO or Grub boot screen, you can boot into single user mode. At the LILO screen, enter the name of the entry you want to boot and add "single" to the end. If using Grub, there is a way to pass kernel parameters. Add "single" to the list and when the machine is booted, you will be prompted for the root password.
Once logged in, you can see if you old user account is defined, etc.
Peace...
|
|
|
All times are GMT -5. The time now is 11:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|