Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)
Date: Mon, 25 Aug 2014 09:21:04
Message-Id: 53FAFFB5.8090705@gmail.com
In Reply to: Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!) by Dale
1 On 25/08/2014 11:11, Dale wrote:
2 > Alan McKinnon wrote:
3 >> On 25/08/2014 08:17, Hinnerk van Bruinehsen wrote:
4 >>> On Sun, Aug 24, 2014 at 11:58:36PM +0430, behrouz khosravi wrote:
5 >>>> Hi. I just accidentally removed the /usr folder!
6 >>>> And I am sure the /usr/bin and several other folders are gone!
7 >>>> Should I go for a complete re-install or there is any other solution?
8 >>>> Thanks and I hope that I wont find that blade that I am looking for!
9 >>> You should be able to get away with an emerge @system @world -evDN instead of
10 >>> a complete re-install.
11 >>> You should first get a copy of a minimal working /usr though (like from
12 >>> a stage3 tarball), otherwise you will run into errors as /usr/bin is where
13 >>> python and other stuff resides that you'll need for installation.
14 >>
15 >> gcc is also in /usr which happily guarantees that nothing can be fixed
16 >> without unpacking a stage first
17 >>
18 >>
19 >
20 >
21 > It seems moving so much critical stuff to /usr was a really bright
22 > move. < lots of sarcasm there >
23
24 and,
25
26 rm -rf /usr is not a user error one can reasonably expect to recover from
27
28
29 --
30 Alan McKinnon
31 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!) Bill Kenworthy <billk@×××××××××.au>