LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-12-2006, 03:44 PM   #1
splufdaddy
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Rep: Reputation: 0
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?
 
Old 04-12-2006, 04:15 PM   #2
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
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 04:17 PM.
 
Old 04-12-2006, 04:20 PM   #3
splufdaddy
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 04-12-2006, 06:23 PM   #4
splufdaddy
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
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!
 
Old 04-13-2006, 10:44 AM   #5
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Are you still stuck with this?

Peace...
 
Old 04-13-2006, 11:15 AM   #6
splufdaddy
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
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!
 
Old 04-13-2006, 12:06 PM   #7
splufdaddy
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 04-13-2006, 03:12 PM   #8
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
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...
 
Old 04-13-2006, 03:14 PM   #9
splufdaddy
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 04-13-2006, 03:30 PM   #10
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

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


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
installing rtlinux - problem with ncurses krsnachaitanya Programming 4 01-26-2005 12:27 PM
installing lmps into fc3 with ncurses 5? anachronon Linux - Software 0 01-08-2005 02:54 AM
Can UP2DATE be uninstalled? How exactly??? jdruin Linux - Software 5 10-22-2003 07:29 PM
Installing Linux-2.4.20: Make menuconfig, connot find ncurses SparceMatrix Linux From Scratch 3 06-12-2003 08:42 PM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 01:00 AM

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

All times are GMT -5. The time now is 10:49 AM.

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