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 557E813877A for ; Fri, 25 Jul 2014 01:51:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53B09E1480; Fri, 25 Jul 2014 01:51:22 +0000 (UTC) Received: from mx2.cims.nyu.edu (MX2.CIMS.NYU.EDU [128.122.49.96]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BE80E1460 for ; Fri, 25 Jul 2014 01:51:21 +0000 (UTC) Received: from smtp.cs.nyu.edu (smtp.cs.nyu.edu [128.122.49.97]) by mx2.cims.nyu.edu (8.14.4+Sun/8.14.4) with ESMTP id s6P1pI3N001057 for ; Thu, 24 Jul 2014 21:51:18 -0400 (EDT) Received: from newlap-wireless.localdomain (ool-182de8a5.dyn.optonline.net [24.45.232.165]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.14.4) with ESMTP id s6P1pFBf001052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 24 Jul 2014 21:51:18 -0400 (EDT) Received: by newlap.localdomain (Postfix, from userid 1000) id F0A41A0153; Thu, 24 Jul 2014 21:51:14 -0400 (EDT) From: gottlieb@nyu.edu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] updating ALL packages References: <874my82oo3.fsf@nyu.edu> <20140724235704.557fe0e6@hactar.digimed.co.uk> Date: Thu, 24 Jul 2014 21:51:14 -0400 In-Reply-To: <20140724235704.557fe0e6@hactar.digimed.co.uk> (Neil Bothwick's message of "Thu, 24 Jul 2014 23:57:04 +0100") Message-ID: <87zjfy6wa5.fsf@nyu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) 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 Content-Type: text/plain X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.1 (mx2.cims.nyu.edu [128.122.49.96]); Thu, 24 Jul 2014 21:51:18 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.97.4 at mx2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.73 on 128.122.49.96 X-Archives-Salt: 04ca558a-0f8f-49f6-9e56-daec37a7fd2d X-Archives-Hash: 8aef37b8c52dace26340922c88542ced On Thu, Jul 24 2014, Neil Bothwick wrote: > On Wed, 23 Jul 2014 09:24:44 -0400, gottlieb@nyu.edu wrote: > >> I had mistakenly thought this would update all packages not at the >> latest version (subject to package.accept_keywords, package.mask, ...). > > It only updates runtime dependencies, you need --with-bdeps=y to update > all dependencies. Thank you and michael for this point. > However, the default is no for a good reason, there's no need to > update build time deps once the package is installed. I see. >> 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. > > That shouldn't happen. If an installed package is removed for the tree, > portage should either install the highest version that matches your > settings or print a warning. I am not sure if you consider the message from eix-test-obsolete as the message from portage. eix-test-obsolete prints (among other things) Installed packages with a version not in the database (or masked): [lines omitted] [U] virtual/perl-CPAN-Meta-Requirements (2.125.0@10/29/2013 -> (~)2.125.0-r1): Virtual for CPAN-Meta-Requirements eix virtual/perl-CPAN-Meta-Requirements prints [U] virtual/perl-CPAN-Meta-Requirements Available versions: 2.122.0-r2 (~)2.125.0-r1 Installed versions: 2.125.0(09:25:35 PM 10/29/2013) /etc/portage/package.accept_keywords/goingstable contains ~virtual/perl-CPAN-Meta-Requirements-2.125.0 I thought this would be updated to 2.125.0-r1 but my update world (withOUT bdeps=y) says nothing to merge and prints no error or warning >> I could do >> >> emerge --update the-2-dozen-such-packages >> >> Is that wise? > > No, as it will add them to world (this behaviour of -u appears to vary > depending on portage version, wind direction and sunspot activity). Use > --oneshot. Understood. And I remember the discussion on the list about the meaning of -u. emerge -u -1 virtual/perl-CPAN-Meta-Requirements reveals what is probably my real problem [ebuild U ~] virtual/perl-CPAN-Meta-Requirements-2.125.0-r1 [2.125.0] 0 kB [nomerge ] perl-core/CPAN-Meta-Requirements-2.125.0 [ebuild UD ] virtual/perl-version-0.990.100 [0.990.400] 0 kB [ebuild UD ] perl-core/version-0.990.100 [0.990.400] 105 kB upgrading virtual/perl-CPAN-Meta-Requirements entails downgrading two other perl packages (or bumping their version in goingstable, which I remember you suggest). I am going away for 2 weeks, but when I return I will look carefully at the (mostly perl) files that eix-test-obsolete complains about. I am hopeful that armed with emerge -u -1 and/or --with-bdeps=y I can remove the warnings from eix-test-obsolete. Once again, thank you both, allan