LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-09-2011, 11:14 AM   #1
mifune
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
can't login after "accidentally overzealous" cleanup...


Hi,

I'm new here, hope to not be obnoxious... I've been using linux systems for a long time (work in science), but have only minimal experience as administrator. And today, following insomnia, I found myself typing (as root):

Code:
yum remove `package-cleanup --leaves`
I am not usually quite so stupid... (I had intended to upgrade from fedora 12 to 15) But now I can't login at all (either as the normal user or root), though the machine seems to boot properly. Currently I'm using a live distro on a usb key. Can this be undone? Can anyone help please please please?
Thanks
P
 
Old 06-09-2011, 12:04 PM   #2
flamelord
Member
 
Registered: Jun 2011
Distribution: Arch Linux
Posts: 151

Rep: Reputation: 34
I don't have a lot of experience with RPM based distro's but I have used the following method on both Ubuntu and Arch Linux to fix missing packages:


Code:
#mount the filesystem, I will assume it is on /mnt

mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc # or maybe mount -t proc none /mnt/proc
chroot /mnt /bin/bash

#then install the missing packages
Of course this requires knowing which packages were uninstalled that you needed, and I don't know how you can figure that out.
 
  


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
[SOLVED] What is "MTRR Cleanup spare reg num" About? rfernandez Linux - Kernel 13 12-04-2011 08:52 AM
how to disable "last login log" & disable "last login message" when start login. hocheetiong Linux - Newbie 4 02-08-2011 06:35 AM
"cant login, login incorrect"init : Id "x" respawning too fast:disabled for 5 minutes allenwoxx Linux - Newbie 1 11-21-2008 11:45 AM
Howto disable "Graphical Login" or "Standard Login?" the_gripmaster Red Hat 1 07-08-2004 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration