From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28766 invoked by uid 1002); 11 Dec 2003 14:04:58 -0600 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 6815 invoked from network); 11 Dec 2003 14:04:58 -0600 Date: Thu, 11 Dec 2003 20:37:26 +0100 From: Marius Mauch To: gentoo-portage-dev@gentoo.org Message-Id: <20031211203726.455748db.genone@gentoo.org> In-Reply-To: <20031211194455.18c966bf.psycho@rift.ath.cx> References: <20031211194455.18c966bf.psycho@rift.ath.cx> Organization: Gentoo Linux X-Mailer: Sylpheed version 0.9.7claws30 (GTK+ 1.2.10; i686-pc-linux-gnu) X-Face: H@&[wkk?l:Zx:8i_5bViK&{Vz{c{~r),^&:v/r#+X5dmfA6qCl)~'Ul{"&06Q1[05.%v&c>je5R{=xLnx^=~lN~rO0xuR~~NY)CX\"Nc4$9CBPwDl-.pYuVeGdir86L@\:j?7@%Ej2?Wi-Y0=1]T14ce0w79Bckk[*ti{;iA"{;I}&E~.msRBsBS)N!CS4Gd|_UR Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Thu__11_Dec_2003_20_37_26_+0100_eWZF0/i0H03Ue/2h" X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:7e6c91d1b14dbccceb2f2166522fa0f6 Subject: Re: [gentoo-portage-dev] if (world file) then {no add to world when update pkg} X-Archives-Salt: ba80043b-8624-4d12-b073-491c17377af4 X-Archives-Hash: 03b168b1f233707c92828fda0915b55d --Signature=_Thu__11_Dec_2003_20_37_26_+0100_eWZF0/i0H03Ue/2h Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 12/11/03 Patrick B=F6rjesson wrote: > I just thought that if portage-ng is to rely on a world file just as > current portage, then one idea would be to not add the packages you > update manually with 'emerge -u ' to it. > There was a thread in gentoo-user today which took up this matter when > someone asked for a way to update all the packages currently installed > on his machine. One method is to run 'emerge -Du `qpkg -I -nc`', but > as someone pointed out, this would add every single package you have > on your system to your world file (which I guess nobody wants) if you > didn't supply the --oneshot flag to emerge. I propose that the default > behaviour for portage-ng would be to check whether the package you're > trying to update is already installed on the system, else do nothing. > And if it's installed it shouldn't add the package to world after the > merging is completed (which it currently does).=20 > Would there be some negative sides of doing it this way? And if not, > why is this not default behaviour in current portage? > Feedback (in all its forms) appreciated. Maybe it's just me, but I find this logic weird: you basically say that you care about the versions of all packages, but not their existence. The qpkg hack is nowhere mentioned in the docs, so it's up to the people to add the --oneshot parameter if they don't want the packages in their world file. Also I'd really discourage people from using -u with other targets than world or system, as in 90% of all cases it's doing more then they want (updating dependencies even if it's not strictly necessary). What I want to say is that the world file lists the packages you care about and I don't really see the reason why people are interested in updating packages they don't care about (except for security bugs, but that is another issue with a different solution). Marius --=20 Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. --Signature=_Thu__11_Dec_2003_20_37_26_+0100_eWZF0/i0H03Ue/2h Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/2Md5WzrL1pM7SNcRAlvMAJ9QoKFL7AJMVtaNVsEaG8Xx93dWqgCfVRXf fIAa3/C9pZhNt9Pwxw+heIo= =wRUp -----END PGP SIGNATURE----- --Signature=_Thu__11_Dec_2003_20_37_26_+0100_eWZF0/i0H03Ue/2h--