Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
deleted /usr/bin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
edudlive
Guru
Guru


Joined: 06 Jan 2004
Posts: 557

PostPosted: Fri Mar 18, 2005 5:41 am    Post subject: deleted /usr/bin Reply with quote

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
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Fri Mar 18, 2005 5:58 am    Post subject: Reply with quote

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
View user's profile Send private message
edudlive
Guru
Guru


Joined: 06 Jan 2004
Posts: 557

PostPosted: Fri Mar 18, 2005 6:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Fri Mar 18, 2005 6:02 am    Post subject: Reply with quote

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
View user's profile Send private message
edudlive
Guru
Guru


Joined: 06 Jan 2004
Posts: 557

PostPosted: Fri Mar 18, 2005 6:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Fri Mar 18, 2005 6:09 am    Post subject: Reply with quote

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
View user's profile Send private message
edudlive
Guru
Guru


Joined: 06 Jan 2004
Posts: 557

PostPosted: Fri Mar 18, 2005 6:10 am    Post subject: Reply with quote

i probalby deleted a lot more, im just going to reinstall gentoo
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Fri Mar 18, 2005 3:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum