public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] updating ALL packages
Date: Fri, 25 Jul 2014 06:07:03 +0200	[thread overview]
Message-ID: <53D1D7E7.6080907@gmail.com> (raw)
In-Reply-To: <874my82oo3.fsf@nyu.edu>

On 23/07/2014 15:24, gottlieb@nyu.edu wrote:
> My normal updating procedure is
> 
> EMERGE_DEFAULT_OPTS="--ask --deep --tree --verbose --jobs --load-average=5"
> emerge --update --changed-use --keep-going  @world
> 
> I had mistakenly thought this would update all packages not at the
> latest version (subject to package.accept_keywords, package.mask, ...).
> 
> I now realize that it only does this for the packages in world and then
> follows the dependency tree.  So if package A in world is up to date, A
> depends of B, and a new version of B appears, B will not be updated.
> 
> As a result eix-test-obsolete finds that I have packages installed that
> are no longer in the database.
> 
> I could do 
> 
> emerge --update the-2-dozen-such-packages

emerge --depclean


> 
> Is that wise?
> 
> thanks,
> allan
> 
> PS This system is in the midst of the multi-month bothwick "goingstable"
> procedure.  I don't know if that is relevant to the decision.
> 
> Neil Bothwick wrote:
>>
>> You can generate the list with
>>
>> qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//' \
>>     >/etc/portage/package.accept_keywords/goingstable
>>
>> This allows revision updates, which is useful as they usually contain bug
>> or security fixes, but doesn't allow any higher versions.
>>
>> Occasionally running eix-test-obsolete will let you know which entries
>> have become redundant because stable has caught up with them.
>>
>> I recently used it to move a machine from testing to stable. The one
>> caveat is that sometimes the testing version your have installed, and in
>> package.accept_keywords, is removed from the tree so portage wants to
>> downgrade to the latest stable version. You have the choice of letting
>> this happen or unmasking a later testing version.
> 
> [ subsequently he recommended using the latter choice ]
> 
> 


-- 
Alan McKinnon
alan.mckinnon@gmail.com



  parent reply	other threads:[~2014-07-25  4:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23 13:24 [gentoo-user] updating ALL packages gottlieb
2014-07-23 13:59 ` [gentoo-user] " gottlieb
2014-07-24 22:18   ` Michael Orlitzky
2014-07-24 22:57 ` [gentoo-user] " Neil Bothwick
2014-07-25  1:51   ` gottlieb
2014-07-25  4:13     ` Alan McKinnon
2014-07-25 14:42       ` gottlieb
2014-07-25  4:07 ` Alan McKinnon [this message]
2014-07-25 14:43   ` gottlieb

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=53D1D7E7.6080907@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --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