Gentoo Archives: gentoo-amd64

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Accidently removed file - how to ge it back
Date: Wed, 27 Aug 2008 04:49:23
Message-Id: 200808270649.20470.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-amd64] Re: Accidently removed file - how to ge it back by Duncan <1i5t5.duncan@cox.net>
1 On Mittwoch, 27. August 2008, Duncan wrote:
2 > Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de> posted
3 > 200808262030.51012.volker.armin.hemmann@××××××××××××.de, excerpted below,
4 >
5 > on Tue, 26 Aug 2008 20:30:50 +0200:
6 > > On Dienstag, 26. August 2008, Herbert Laubner wrote:
7 > >> Hi all,
8 > >>
9 > >> I accidently removed
10 > >>
11 > >> /usr/portage/profiles/default-linux/amd64/make.defaults
12 > >>
13 > >> Will it get reinstalled on the next ermerge --sync?
14 > >
15 > > yes
16 >
17 > Yes, it should, unless of course it leaves portage so borked it won't
18 > sync. But as part of the tree, it shouldn't, since the whole tree should
19 > be removable, taking a simple sync to return it.
20
21 just remove /usr/portage, mkdir /usr/portage, sync - and everything is back.
22 Everything in /usr/portage is very non-essential and can be restored with a
23 simple emerge --sync.