From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RhUl6-0001Fz-IZ for garchives@archives.gentoo.org; Sun, 01 Jan 2012 23:24:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A47F21C1BB; Sun, 1 Jan 2012 23:23:50 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 9221D21C1F2 for ; Sun, 1 Jan 2012 23:22:13 +0000 (UTC) Received: by werm12 with SMTP id m12so8880276wer.40 for ; Sun, 01 Jan 2012 15:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XPdZBvUlvyKD4RvtTgrapBC2NWT99BACc3kMoVZ4Plw=; b=CqE0L/kHY4tMF6tZc4j5zTWspmzSr2nYHoXt5N8gvkPnUMIp8OPEDaOYay28jovkT+ 41zrxMl400W1ugiqGOIIJL2edFtjvuKQglixd82Y7mztehwdSOHOLng12nXcZ9gnL5dZ CwRqlCr4tyuhAPKKQJvfCYSs9YVvVIDEae7kE= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.131.13 with SMTP id l13mr25885557wei.45.1325460132821; Sun, 01 Jan 2012 15:22:12 -0800 (PST) Received: by 10.223.160.73 with HTTP; Sun, 1 Jan 2012 15:22:12 -0800 (PST) In-Reply-To: <4F00E741.6050002@orlitzky.com> References: <4F00D521.1030702@orlitzky.com> <4F00DA99.8050502@orlitzky.com> <4F00DEC5.5090500@gmail.com> <4F00E741.6050002@orlitzky.com> Date: Sun, 1 Jan 2012 15:22:12 -0800 Message-ID: Subject: Re: [gentoo-user] emerge --update behavior From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: f75f8af8-89de-46e8-aa94-069c51044f35 X-Archives-Hash: 5e6ee6c25b3535299a8f12376606ff89 On Sun, Jan 1, 2012 at 3:07 PM, Michael Orlitzky wrote: > On 01/01/2012 05:40 PM, Mark Knecht wrote: >> >> >> I'm not clear. Why does one ever bother with emerge -u package? In 10 >> years of Gentoo I've managed to get by with basically either emerge >> package to add something or emerge -DuN @world to stay updated. (or >> @system in the old days but no longer...) > > > Usually it's because a world update wants to do both trivial version bumps > and replace major software at the same time. I can't take a server down for > an hour in the middle of the day to update Apache, but I can bump > timezone-data, sure. > > Even when there aren't any major packages, sometimes I'll do the smaller > ones in chunks, so that if something breaks I don't have to revert 300 > packages. > > > >> Not picking on anyone but in my mind emerge -u package _should_ add >> the package to the world file because any time I run emerge with a >> package name and without -1 I'm telling it to make it part of @world. >> If it's not part of @world, and is already on the machine, then emerge >> -DuN @world is the right way to get it and everything else updated. > > > No offense taken, that's why I asked. I can almost never get away with a > full world update except on my personal machines, so the way --update works > is important to me. > > Adding unwanted packages to world is especially bad because there are things > like amavisd-new that have undeclared (optional?) dependencies on > miscellaneous perl packages. After a few months, I don't remember which perl > packages I wanted vs. which ones portage stuck in there by accident, so the > world file just grows and grows. > > Adding --oneshot to the default opts is probably the way to go when I'm > ready to concede that I'll forget -1 occasionally. It feels dirty, though. > OK, makes sense to me. 1) I only do home machines. My family all over California now runs Gentoo and has for years. Windows no longer exists anywhere except in VMs. Clearly I can see why someone running production machines wouldn't want to do that. 2) I forget the -1 sometimes when I do an individual package update. However I generally remember to go back and hand edit the world file once a quarter or so and remove anything that isn't a real application, etc. Glad I wasn't sounding too negative. It wasn't my intention. Cheers, Mark