From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DD7CC138247 for ; Mon, 4 Nov 2013 12:07:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 222A9E0B37; Mon, 4 Nov 2013 12:06:57 +0000 (UTC) Received: from mail-gg0-f171.google.com (mail-gg0-f171.google.com [209.85.161.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 248C2E0AE6 for ; Mon, 4 Nov 2013 12:06:55 +0000 (UTC) Received: by mail-gg0-f171.google.com with SMTP id 21so1717696ggh.30 for ; Mon, 04 Nov 2013 04:06:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=fSEeq9UctKdN/k/2pA9icgHTztB6IojUL0yWeAY5gsA=; b=0AZ7PVMgr2NiT83N9EVveQODr9y/LmPGAMNU5WILmgAh3z+av1/9UrdWxHkjUBwGdW 2wQuF+23RZo/NReVW47M4qnYlDTtnCJkjD/kBToCKfnlENp15xdk1lmM+MBUGrzauDQi ahKaeAmFU44iKZ+N3NXl0r5ynBywYqgYe21EDKjMWqquUJlv2HHycPGWE8o80UaT91sP eC9+1ypTnPcTdiADEWZJo2PiyOS7XW2DcvsVPtEhlQa6EMFE998XuXjLyPZzlV2IhWcR 2b2Sgzcr3T4+ohU5LqzBgI2A12JbvHStwEezhGSevZO/xN9wVhriL2UbawzRCpgtUivn c+Hw== X-Received: by 10.236.119.102 with SMTP id m66mr1534257yhh.90.1383566814576; Mon, 04 Nov 2013 04:06:54 -0800 (PST) Received: from [192.168.2.5] (adsl-98-95-151-14.jan.bellsouth.net. [98.95.151.14]) by mx.google.com with ESMTPSA id d26sm26396041yhj.25.2013.11.04.04.06.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Nov 2013 04:06:54 -0800 (PST) Message-ID: <52778DDC.7080407@gmail.com> Date: Mon, 04 Nov 2013 06:06:52 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Official way to do rolling update (Was: Re: Releng breakage with respect to move from dev-python/python-exec to dev-lang/python-exec) References: <20131104051518.51efd36c@gentoo.org> <52775FD3.7000102@sporkbox.us> <20131104112632.0c7ff3de@gentoo.org> In-Reply-To: <20131104112632.0c7ff3de@gentoo.org> X-Enigmail-Version: 1.6 Content-Type: multipart/alternative; boundary="------------040608060300080508060109" X-Archives-Salt: 5028cd7b-ccc0-4458-9c29-e4fe4370284d X-Archives-Hash: 922e1588b36e07becb06a24b5cc0f0cd This is a multi-part message in MIME format. --------------040608060300080508060109 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit yac wrote: > On Mon, 4 Nov 2013 09:51:32 +0000 (UTC) > Duncan <1i5t5.duncan@cox.net> wrote: > >> Daniel Campbell posted on Mon, 04 Nov 2013 02:50:27 -0600 as >> excerpted: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> On 11/03/2013 10:15 PM, yac wrote: >>>> On Sun, 03 Nov 2013 11:02:31 +0200 Alan McKinnon >>>> wrote: >>>> >>>> [snip] >>>>>> >>>>>> Afaik there is no official way to update gentoo, is there? >>>>> >>>>> It's always been "emerge -avuND world" >>>> [snip] >>>> >>>> Is this documented annywhere? I have a hard time finding it. I can >>>> see it mentioned eg. in man emerge in -c option but that's not >>>> good enough. >> >> Read the handbook lately? =:^) >> >> Handbook, part 2, Working with Gentoo, Chapter 1, A Portage >> Introduction, Doc_chapter 3, Maintaining Software (this is the amd64 >> link): >> >> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml? >> part=2&chap=1#doc_chap3 >> >> Look under the heading Updating your System. That starts with... >> >> emerge --update --ask world >> >> ... then discusses --deep, --withbdeps=y, and --newuse, so the >> example full update is ... >> >> emerge --update --deep --with-bdeps=y --newuse world >> >> --ask and --pretend are discussed in the same doc_chapter as well, as >> is -v (tho inconsistently, I don't see the long-option --verbose >> discussed, as it is for the others). >> >> --depclean, --search and --unmerge are discussed in that chapter too, >> as is gentoolkit with equery and revdep-rebuild. About the only >> thing missing is sets, and they're missing from working with portage >> (part 3) AFAICT as well, most likely because the handbooks simply >> haven't been updated for sets yet. > > Yes, there is describes what are possible ways to update the system and > what criteria goes into selection of the packages to update but not > which one is recommended, generaly for regular update. Could be > helpful for newbs and to avoid doubt even between more experienced > users. > > I think only -u world could be used to do updates. (possible > --with-bdeps could be recommended too, for better security until users > find out about glsa-check, though I think it is limited to packages > that are believed to be widely deployed. > > But after a person has used Gentoo a while, they figure out what process leads to the most stable update process. They also figure out what defaults to add to make.conf as well. For that, it is as Duncan and Alan describe. Both have been using Gentoo for quite a while. I been using Gentoo for a good ten years. I installed from Gentoo 1.4 I think. Here is mine in make.conf: EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=30 --keep-going -v -j10 --quiet-build=n -1" For my updates, I use this: emerge -uaDN world The only way to get a more stable system is to do a emerge -e world and update that way. At least that has been my experience so far. If Zac adds some other nifty feature, then I may add to the above as needed. For the past few years, that has resulted in as stable a system as I can get. I do from time to time run emerge -e world just for giggles when I have something acting odd and can't put my finger on the issue. Sometimes, that fixes it, sometimes not. Again, most of this comes from experience. The handbook explains it then the user figures it out from there. My $0.02 worth. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! --------------040608060300080508060109 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit yac wrote:
> On Mon, 4 Nov 2013 09:51:32 +0000 (UTC)
> Duncan <1i5t5.duncan@cox.net> wrote:
>
>> Daniel Campbell posted on Mon, 04 Nov 2013 02:50:27 -0600 as
>> excerpted:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On 11/03/2013 10:15 PM, yac wrote:
>>>> On Sun, 03 Nov 2013 11:02:31 +0200 Alan McKinnon
>>>> <alan.mckinnon@gmail.com> wrote:
>>>>
>>>> [snip]
>>>>>>
>>>>>> Afaik there is no official way to update gentoo, is there?
>>>>>
>>>>> It's always been "emerge -avuND world"
>>>> [snip]
>>>>
>>>> Is this documented annywhere? I have a hard time finding it. I can
>>>> see it mentioned eg. in man emerge in -c option but that's not
>>>> good enough.
>>
>> Read the handbook lately? =:^)
>>
>> Handbook, part 2, Working with Gentoo, Chapter 1, A Portage
>> Introduction, Doc_chapter 3, Maintaining Software (this is the amd64
>> link):
>>
>> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?
>> part=2&chap=1#doc_chap3
>>
>> Look under the heading Updating your System.  That starts with...
>>
>> emerge --update --ask world
>>
>> ... then discusses --deep, --withbdeps=y, and --newuse, so the
>> example full update is ...
>>
>> emerge --update --deep --with-bdeps=y --newuse world
>>
>> --ask and --pretend are discussed in the same doc_chapter as well, as
>> is -v (tho inconsistently, I don't see the long-option --verbose
>> discussed, as it is for the others).
>>
>> --depclean, --search and --unmerge are discussed in that chapter too,
>> as is gentoolkit with equery and revdep-rebuild.  About the only
>> thing missing is sets, and they're missing from working with portage
>> (part 3) AFAICT as well, most likely because the handbooks simply
>> haven't been updated for sets yet.
>
> Yes, there is describes what are possible ways to update the system and
> what criteria goes into selection of the packages to update but not
> which one is recommended, generaly for regular update. Could be
> helpful for newbs and to avoid doubt even between more experienced
> users.
>
> I think only -u world could be used to do updates. (possible
> --with-bdeps could be recommended too, for better security until users
> find out about glsa-check, though I think it is limited to packages
> that are believed to be widely deployed.
>


But after a person has used Gentoo a while, they figure out what process leads to the most stable update process.  They also figure out what defaults to add to make.conf as well.  For that, it is as Duncan and Alan describe.  Both have been using Gentoo for quite a while.  I been using Gentoo for a good ten years.  I installed from Gentoo 1.4 I think.  Here is mine in make.conf:

EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=30 --keep-going -v -j10 --quiet-build=n -1"

For my updates, I use this:

emerge -uaDN world

The only way to get a more stable system is to do a emerge -e world and update that way.  At least that has been my experience so far.  If Zac adds some other nifty feature, then I may add to the above as needed.  For the past few years, that has resulted in as stable a system as I can get.  I do from time to time run emerge -e world just for giggles when I have something acting odd and can't put my finger on the issue.  Sometimes, that fixes it, sometimes not.

Again, most of this comes from experience.  The handbook explains it then the user figures it out from there.

My $0.02 worth.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!

--------------040608060300080508060109--