was doing "#upgradepkg --reinstall */*.tgz", power failure....system not booting up
Linux - NewbieThis 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
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.
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.
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 ?
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.
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.
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 ???
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.