public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Steven J. Long" <slong@rathaus.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: System maintenance procedure?
Date: Mon, 10 Dec 2012 08:41:13 +0000	[thread overview]
Message-ID: <20121210084113.GA4107@rathaus.eclipse.co.uk> (raw)
In-Reply-To: <CAN0CFw34hfSmjeBiAXDNEczaOaFhcdP5rybwg+DKOOzn+iHSkA@mail.gmail.com>

On Tue, Dec 04, 2012 at 04:30:33PM -0800, Grant wrote:
> And then attended like this:
> 
> emerge -DuN world
> revdep-rebuild
> etc-update
> elogv
> emerge --depclean
> eclean distfiles
> eclean packages
> 
> Am I missing any good stuff?

 I've recently modified update[1] to use --changed-use by default, instead
of -N:

 "Unlike --newuse, the --changed-use option does not trigger reinstallation
when flags that the user has not enabled are added or removed." 

 This is great: it does the same thing as skipUseless (a setting we've had
for a couple of years) but means we don't have to show the user what we're
skipping, since portage isn't trying to rebuild it in the first place.

 Also, update does depclean before revdep-rebuild, in case the depclean
breaks anything. (It also picks up on preserved-rebuild, though I switched
back to stable portage a while ago.) Both after glsa-check of course, which
I don't see in your list. (Not that it's actually warned me about anything
in the last few years. ;)

 After the whole thing, it'll run your configUpdater if needed. If not set,
it tries etc-proposals cfg-update dispatch-conf and etc-update in that order.
I use dispatch-conf nowadays, but used to love etc-proposals popping up
in X to tell me when it was done. replace-unmodified, replace-wscomments and
ignore-previously-merged are all really useful (not sure which of those
are default any more, but I definitely had to set a couple to yes when I
installed: pretty sure replace-cvs defaults to yes.)

 With regards to syncing, update -s does the sync first, calling eix-sync
as well if it's installed. We recommend people let eix-sync also update
their overlays with: echo '*' >> /etc/eix-sync.conf
 (I hope that's still correct) or if they're not using eix, to set postSync
to 'layman -S'.
 The sync is nice, as it wraps it to only use one line in the console.

 I'd be interested if there's stuff we should add. I've always been wary
of eclean, and in fact still have all the distfiles and binpkgs this machine
has ever downloaded or installed. Same on my laptop (though it shares
distfiles.) Disk space isn't really an issue any more. But if it's useful to
others, it should be added.

 I really wanted something that keeps the last N versions of binpkgs
(sometimes things start to break, and you get a revbump that doesn't make
things better, and just having the last version isn't enough.) From the
manpage, --package-names --time-limit=6m might be a reasonable compromise.

Hmm think I'll look into adding some sort of hook, though I might not use
it personally: it can just take a set of parameters configured by the admin.

[1] http://forums.gentoo.org/viewtopic-t-546828.html

-- 
#friendly-coders -- Where everybody knows your nick ;-)


      parent reply	other threads:[~2012-12-10  8:24 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05  0:30 [gentoo-user] System maintenance procedure? Grant
2012-12-05  1:00 ` nybblenybblebyte
2012-12-05  1:21 ` Dale
2012-12-05  3:55   ` Grant
2012-12-05  1:36 ` Neil Bothwick
2012-12-05  4:04   ` Grant
2012-12-05  4:34     ` Dale
2012-12-05  5:15       ` Grant
2012-12-05 10:22         ` Dale
2012-12-08  0:57           ` Grant
2012-12-08 22:04       ` Grant
2012-12-08 23:25         ` Dale
2012-12-15  3:38         ` Grant
2012-12-05 12:50     ` Neil Bothwick
2012-12-08  0:55       ` Grant
2012-12-05  3:15 ` Pandu Poluan
2012-12-05  3:29   ` Allan Gottlieb
2012-12-05  3:34   ` Dale
2012-12-05 10:05 ` Alan McKinnon
2012-12-08  0:56   ` Grant
2012-12-08 11:58     ` Neil Bothwick
2012-12-08 20:06     ` Alan McKinnon
2012-12-08 21:07       ` Grant
2012-12-08 21:25         ` Alan McKinnon
2012-12-08 21:54           ` Grant
2012-12-08 22:08             ` Alan McKinnon
2012-12-09  0:41               ` Grant
2012-12-08 22:49             ` Neil Bothwick
2012-12-08 23:20               ` Dale
2012-12-09  4:22                 ` Dale
2012-12-09 13:18                 ` Bruce Hill
2012-12-09 16:48                   ` Neil Bothwick
2012-12-09 17:01                     ` Bruce Hill
2012-12-09 19:06                       ` Neil Bothwick
2012-12-11 13:36                     ` Bruce Hill
2012-12-11 14:04                       ` Neil Bothwick
2012-12-11 17:20                       ` Michael Orlitzky
2012-12-12  6:05                       ` Alan McKinnon
2012-12-12  9:29                         ` Neil Bothwick
2012-12-12 15:10                         ` Bruce Hill
2012-12-12  9:49                       ` Neil Bothwick
2012-12-12 12:16                         ` design [depois das dez]
2012-12-09  0:33               ` Peter Humphrey
2012-12-10  7:50 ` Daniel Wagener
2012-12-10  8:41 ` Steven J. Long [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121210084113.GA4107@rathaus.eclipse.co.uk \
    --to=slong@rathaus.eclipse.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox