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 1ObiKB-0005Ty-Mk for garchives@archives.gentoo.org; Wed, 21 Jul 2010 23:03:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64175E0D00 for ; Wed, 21 Jul 2010 23:03:39 +0000 (UTC) Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com [209.85.215.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 158E0E0C69 for ; Wed, 21 Jul 2010 22:17:58 +0000 (UTC) Received: by ewy19 with SMTP id 19so3265900ewy.40 for ; Wed, 21 Jul 2010 15:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=xfVolMDqGlJCii1WBPb/PkmHM0IJfzDyzpz6AeBeCDc=; b=rufbcjLYybS2D3DGeyc+CJx0Aq6eN0yQHPTeqH3SLD3L7sthrjnUB4ZkbLUg3wsQhJ 6lJFnPowzNB45JOMx62N4aFVJx5LZawTerktgbk0Zpn3BRqy/lj5suhWwJAprYaij6i+ 57wuo7HxCz9rI5WSgxyA4xZgybJPkwlUC7O4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=oNDSyc6zpmhk6qrmNsitd7L6xHongQpBZ7Cf+McfDOjXSxXc7SYcsucOw8LhC7O+24 rcQUJmi9xLTSsadd8khKOvSGv/vNT2Bl9FV6gzCvk/WbwcAeyElsgp1QzY7orghOgPQc dx0pky5mXwpexx235Y4vEu9trafx/8AeOGzew= Received: by 10.213.13.133 with SMTP id c5mr920554eba.26.1279750678483; Wed, 21 Jul 2010 15:17:58 -0700 (PDT) Received: from nazgul.localnet (196-215-57-66.dynamic.isadsl.co.za [196.215.57.66]) by mx.google.com with ESMTPS id v59sm54102854eeh.22.2010.07.21.15.17.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 Jul 2010 15:17:57 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: I don't understand Perl. What do I do after an update? Date: Thu, 22 Jul 2010 00:14:44 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.34-ck-r1; KDE/4.4.5; x86_64; ; ) References: <201007212134.21252.alan.mckinnon@gmail.com> <28563.1279746875@ccs.covici.com> In-Reply-To: <28563.1279746875@ccs.covici.com> 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; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201007220014.44732.alan.mckinnon@gmail.com> X-Archives-Salt: 3e2bf9b6-0f47-43e1-8025-3d851f9be9fb X-Archives-Hash: 93faa8cba0c7e1489a241588d599c7dd On Wednesday 21 July 2010 23:14:35 covici@ccs.covici.com wrote: > > This is a painful process. It's enough to drive a sysadmin to drink or > > (god forbid), to Windows. Portage can't help as the ebuild doesn't know > > what you have installed. So you must run a script to go and dig out all > > this crap for you. > > > > > > > > All I can say is, every day I get down on my knees and offer thanks that > > perl is not slotted. > > But portage should be sensible enough to either run this for you, or > stop emerging -- I had a lot of trouble during the last update where I > kept getting errors and I emerged a couple of them before I knew I had > to run perl-cleaner. You haven't thought this through and haven't consider how portage knows what to do. Portage doesn't do it because portage can't. You want portage to do it != portage can do it. Consider this: [I] dev-lang/perl Installed versions: 5.12.1-r1(23:11:24 21/07/10)(berkdb gdbm -build - debug -doc -ithreads) [I] dev-perl/DateManip Installed versions: 5.56(19:39:11 17/07/10)(-test) When I upgraded perl to 5.12.1-r1, DateManip was not upgraded. Why not? because it's version number did not change and that is the ONLY thing portage considers. DateManip depends on perl, not on =perl-whatever-I-used-to-have So portage does not know of the link between these two things and cannot take them into account. Portage won't be expanded anytime soon either - you saw how long it took for perl-cleaner to run, must portage go through something like that with every emerge? Similarly, one could say portage should detect rev-dep breakage. Surprise! It doesn't. revdep-rebuild does that (comparable to perl-cleaner) and you know how long that takes to run. So you wasted some time with an upgrade. Well that's a shame. But we don't care much, especially if you don't read the elog messages. If you feel that portage should does this automagically, and have a plan to make it run REAL quick, and have proven, workable, debugged, solid, stable patches, then I'm sure Zac would be very happy indeed to hear from you. In the meantime, read the elog messages. -- alan dot mckinnon at gmail dot com