View previous topic :: View next topic |
Author |
Message |
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Fri Mar 18, 2005 5:41 am Post subject: deleted /usr/bin |
|
|
Yeah, while trying to delete one thing I deleted /usr/bin
I can't sync or anything, so is there anything short of reinstalling that I can do to get the stuff back? |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Fri Mar 18, 2005 5:58 am Post subject: |
|
|
Ouch, thats sort of a big one. The easiest way I can think of to rebuild your system is emerge -e world, sorry man. You might need to untar a stage 1 tarball with the -k flag added to preserve old files, just to get portage back. That's why I always keep a backup. _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Fri Mar 18, 2005 6:01 am Post subject: |
|
|
well, my friend is sending me a tar (with the p flag) of his /usr/bin...so maybe i can get that (he has the same hardware as me) then do emerge -e
EDIT: I have untared a stage 3 for athlon-xp and copied over rsync and wget and am currently trying to reemerge some things
Last edited by edudlive on Fri Mar 18, 2005 6:03 am; edited 1 time in total |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Fri Mar 18, 2005 6:02 am Post subject: |
|
|
That would probably work too. _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Fri Mar 18, 2005 6:05 am Post subject: |
|
|
Got this during the sync:
>>> Updating Portage cache: 100%
* error scanning /etc
* error scanning /usr/kde/3.3/env
* error scanning /usr/kde/3.3/share/config
* error scanning /usr/kde/3.3/shutdown
* error scanning /usr/lib/X11/xkb
Wonder what that is all about |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Fri Mar 18, 2005 6:09 am Post subject: |
|
|
Are you sure you only deleted /usr/bin? _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Fri Mar 18, 2005 6:10 am Post subject: |
|
|
i probalby deleted a lot more, im just going to reinstall gentoo |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Fri Mar 18, 2005 3:14 pm Post subject: |
|
|
I would try "patching" with a stage 3 tarball before I resorted to rebuilding the whole system, but thats just me. _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
|