LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-06-2006, 02:01 PM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
was doing "#upgradepkg --reinstall */*.tgz", power failure....system not booting up


Hello all,
I just re-compiled the kernel. Had some problem with the new one so i thought of reinstalling all the packages.
So i was running

#upgradepkg --reinstall */*.tgz

but in the mid of reinstallation power failed. And i don't have UPS backup.
when the power came...i started my sytem but now its not booting up. Throgwing too many errors.

And for me the strange thing is that....i was doing all these things with the newly compiled kernel. But my old kernel too is throwing the same errors....why so ?

any sort of help will be appreciated.

regards
 
Old 01-06-2006, 02:07 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
I would try to post some of the errors. It will make it easier to help you.
 
Old 01-06-2006, 02:35 PM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by bosewicht
I would try to post some of the errors. It will make it easier to help you.
i always post the errors. But this time they r too many.
So i thought of some general solution/advise from people on this board.
Anyways, i'll write and post the errors in morning. Its past midnight....can't make it right now.

thanks

regards
 
Old 01-06-2006, 02:41 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Most likely some of the binaries neccessary for system startup became corrupted or of conflicting versions when you lost power during the upgrade.
 
Old 01-06-2006, 02:48 PM   #5
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Quote:
And for me the strange thing is that....i was doing all these things with the newly compiled kernel. But my old kernel too is throwing the same errors....why so ?
No matter what kernel, it needs libraries which are not installed per kernel basis. Since all kernels use the same libraries/binaries on your machine. I guess is that every kernel is going to give you pretty much the same errors.
 
Old 01-06-2006, 02:52 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
My suggestion would be to boot from a LiveCD and try to repair the broken bits.
 
Old 01-06-2006, 03:54 PM   #7
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
ruudra - check your previous thread.
-tw
 
Old 01-15-2006, 08:24 PM   #8
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Hello all,
I tried reinstalling the individual packages.
The system was up and running....but when i checked the packages, most of them were installed twice.
Everything was messed up so i reinstalled the O/S.

Would like to ask one question now.
ok this time i didn't had the UPS backup. But suppose someone has backup of 10 minutes and he is in the mid of
#upgradepkg --reinstall */*.tgz

and suppose its gonna take 15 minutes more....Then how to stop this process safely ???
Would there be any option for resuming it ???

regards
 
Old 01-15-2006, 10:50 PM   #9
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Ctrl-c would stop the upgradepkg, but potentially in the middle of upgrading something. I'd say figure out what directory and file you're on, use Ctrl-c to stop, reinstall/fix the package you were on, then, when you have power, you can manually install the rest in that directory, then all the rest in the remaining directories.
 
  


Reply



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
What "kernel opts" allow PC to power down with "turning energy off"? kornerr Linux - General 1 03-10-2005 12:07 PM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 01:42 AM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
RH "null" beta system freezes right after printing "INIT" markus1982 Linux - Hardware 0 09-09-2002 03:31 PM
dual booting winME with RedHat 7.2 "HOW TOOO""HELP" jdbarrow Linux - Software 1 03-11-2002 05:33 PM

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

All times are GMT -5. The time now is 08:07 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