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 EE4CF13877A for ; Fri, 25 Jul 2014 14:43:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF2C4E1B14; Fri, 25 Jul 2014 14:43:05 +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 A1D84E1B0B for ; Fri, 25 Jul 2014 14:43:04 +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 s6PEgxpO026461 for ; Fri, 25 Jul 2014 10:42:59 -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 s6PEgtlT026457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 25 Jul 2014 10:42:59 -0400 (EDT) Received: by newlap-wireless.localdomain (Postfix, from userid 1000) id 3E7B0A0153; Fri, 25 Jul 2014 10:42:55 -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> <87zjfy6wa5.fsf@nyu.edu> <53D1D94C.5020008@gmail.com> Date: Fri, 25 Jul 2014 10:42:55 -0400 In-Reply-To: <53D1D94C.5020008@gmail.com> (Alan McKinnon's message of "Fri, 25 Jul 2014 06:13:00 +0200") Message-ID: <87ha25jy8g.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]); Fri, 25 Jul 2014 10:42:59 -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: ca934306-c146-4690-b778-72ed43ca3ce4 X-Archives-Hash: dbf3710ba49320347cf1394dd6d139cb On Fri, Jul 25 2014, Alan McKinnon wrote: > On 25/07/2014 03:51, gottlieb@nyu.edu wrote: >> 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 > > That is correct. The package is needed to build stuff and nothing in the > current list of packages to be built needs the package to do it. > Should you sometime update a package that does depend on perl-CPAN-Meta > to be built, then perl-CPAN-Meta will then be updated > > > >>>> 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. > > Just do one world update with bdeps=y > > Portage will then update the packages that it has been skipping > Not quite that simple due to the bothwick package.accept_keywords/goingstable. I did a --pretend run and saw several proposed downgrades (to packages required by the ones mentioned in eix-test-obsolete). Neil recommends that in these cases I update goingstable to permit upgrades instead. thanks for your interest and help allan