From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FyD7U-00068R-86 for garchives@archives.gentoo.org; Wed, 05 Jul 2006 19:33:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k65JUee1026470; Wed, 5 Jul 2006 19:30:40 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k65JHaYZ014858 for ; Wed, 5 Jul 2006 19:17:36 GMT Received: by ug-out-1314.google.com with SMTP id j40so3696ugd for ; Wed, 05 Jul 2006 12:17:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NTrKChocT2RJHR5KFSY09sFxCMEvd7GhqdbAoKCdT8xExFjy8PmVEyLjGojJc4+Bda8JxQYlANrxJ/YqbPo55m87F4KgDkC5tDkhfQhsF4uK801CYQINBlPBjxH342WbNPEzvfBH2HlQGNi67mrGAi3QEjKPFtNdVADH0UbeQ7M= Received: by 10.67.26.7 with SMTP id d7mr8123475ugj; Wed, 05 Jul 2006 12:17:36 -0700 (PDT) Received: by 10.66.243.7 with HTTP; Wed, 5 Jul 2006 12:17:36 -0700 (PDT) Message-ID: <342e1090607051217w6fabbefegb8883650b5166e38@mail.gmail.com> Date: Wed, 5 Jul 2006 16:17:36 -0300 From: "Daniel da Veiga" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] world favorites: pros and cons In-Reply-To: <44AC0551.8010006@ilievnet.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44AB8AEF.70104@ilievnet.com> <44AB91EC.9070701@mid.message-center.info> <20060705115509.2905ae6d@hactar.digimed.co.uk> <44AB9E70.6010205@ilievnet.com> <20060705131400.3ae53735@hactar.digimed.co.uk> <44ABB409.4080003@ilievnet.com> <342e1090607050954w3f3c12a3o47a26bab72802338@mail.gmail.com> <44AC0551.8010006@ilievnet.com> X-Archives-Salt: 349ce58d-cc64-4306-bcf8-36c0a756576c X-Archives-Hash: b2d2e1797010964b5cc7dbca86fe6576 On 7/5/06, Daniel Iliev wrote: > Daniel da Veiga wrote: > > > You're manually doying stuff that portage should do. This breaks > > portage system, gives you more trouble (because you have to manually > > "undo" stuff in order to not break your dependency list) and have > > turned the whole dependency check lists and ebuils dependency check > > useless. A "emerge --update --deep world" for you is a "emerge world". > > You put some of the work of portage on your own hands, don't be > > surprised if that breaks something. > > > > OK. I agree that "my way" makes "emerge --update --deep world" equal to > "emerge --update world". Then what is the original purpose of "emerge > --update world"? > I'll just quote the "emerge" man page, that is pretty clear there: --update (-u) Updates packages to the best version available, which may not always be the highest version number due to masking for testing and development. This will also update direct dependencies which may not be what you want. In general, use this option only in combination with the world or system target. Note the words "DIRECT dependencies". So, your command "emerge --update --deep world" is in fact just "emerge world", because every direct/indirect dependency is part of your world file. Your "way" made "--update" useless, because a simple "emerge " would update the package. --deep (-D) When used in conjunction with --update, this flag forces emerge to consider the entire dependency tree of packages, instead of checking only the immediate dependencies of the packages. As an example, this catches updates in libraries that are not directly listed in the dependencies of a package. So, you "way" also made "--deep" useless. This flags are there because they mantain portage in a way that you can't easily break consistency by accident, and with that I mean libraries and indirect dependencies. I'm not arguing that your system WILL break by putting every single atom of package installed in world, I just say that you are going against portage evolution by doying its work, and that MAY cause problems. Also, the world file is a simple way to keep a package version (by removing it from world), for instance, I don't wanna upgrade mysql with my nightly "emerge -uDN world", so, its not in my world file. Also note that "indirect" dependencies can be a pain, and packages may depend on a LOT of other packages, if you want an example, check "emerge -euDt links -pv". You can check indirect dependencies! I just say there are quite a few, and portage knows how to deal with all this stuff (at least never proved me wrong). -- Daniel da Veiga Computer Operator - RS - Brazil -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ ------END GEEK CODE BLOCK------ -- gentoo-user@gentoo.org mailing list