Gentoo Archives: gentoo-user

From: Indi <thebeelzebubtrigger@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge stopped working
Date: Tue, 03 May 2011 00:03:33
Message-Id: 20110503000155.GA30078@gaurahari
1 On Mon, May 02, 2011 at 09:50:02PM +0200, Alan McKinnon wrote:
2 >
3 >
4 > Never blindly accept what depclean says and let it do it's thing. Study the
5 > output, the warning printed on the screen to do just that is there for a
6 > reason.
7 >
8 > Never blindly update protected config files with etc-update etc. Check each
9 > one individually and do it manually.
10 >
11
12 One habit I've developed to protect myself from making a mistake with
13 depclean is defining it as an alias in the shell's rc, like this:
14
15 alias depclean="sudo emerge -vac"
16
17 That way it's alway verbose and always asks before proceeding.
18 IME it's too easy to forget to use those arguments and if you're
19 doing more than one thing at a time disaster can strike pretty
20 quickly...
21
22 --
23 If only my interface to the time-space continuum could be unix-like... With vim keybindings, cron, and everything!