From owner-freebsd-ports@FreeBSD.ORG Fri Aug 1 15:16:16 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46616106567C for ; Fri, 1 Aug 2008 15:16:16 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C02398FC2E for ; Fri, 1 Aug 2008 15:16:15 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KOwMV-000381-9z for freebsd-ports@freebsd.org; Fri, 01 Aug 2008 15:16:11 +0000 Received: from 89-172-51-102.adsl.net.t-com.hr ([89.172.51.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2008 15:16:11 +0000 Received: from ivoras by 89-172-51-102.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2008 15:16:11 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Ivan Voras Date: Fri, 01 Aug 2008 17:15:54 +0200 Lines: 61 Message-ID: References: <489144B5.4030101@FreeBSD.org> <4892022F.1080009@FreeBSD.org> <9bbcef730807311438m45802827y91c7bb7366406af6@mail.gmail.com> <20080801125414.55567d37@ayiin> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig46DEBCE02E456A71E51E2996" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-51-102.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <20080801125414.55567d37@ayiin> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Call for comments - pkg_trans X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2008 15:16:16 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig46DEBCE02E456A71E51E2996 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Norberto Meijome wrote: > On Thu, 31 Jul 2008 23:38:21 +0200 > "Ivan Voras" wrote: >=20 >>> BTW, I thought of another problem scenario. The user installs port M,= and it >>> brings dependencies D1, D2, and D3. Then the user installs port N whi= ch also >>> has port D2 as a dependency. =20 >> Port N then won't install D2 as it already exists. The user can >> rollback [N], then rollback [M+D1+D2+D3]. Trying to roll back back >> [M+D1+D2+D3] before [N] will show the user a message about >> dependencies. >=20 > Shouldn't you be able to request rollback [M + D1 + D2+ D3 ] , but have= the dependency of {something else not M} on D2 be detected, and therefor= e D2 *not* uninstalled? >=20 > you'd end up then with M, D1, D3 removed , D2 still installed (as N nee= ds it), and a message saying 'D2 was not removed due to existing dependen= cies : N '.=20 Yes, it's a good idea. > As a matter of fact, i don't really see why we need a transaction syste= m to have an option to {pkg management of choice} to uninstall {unwanted_= pkg} and all other dependencies ONLY needed by {unwanted_pkg}. Anyway, pk= g_cutleaves does part of it...but it'd be much handier, i think, to handl= e it @ the uninstall time. >=20 > And since we are just wishing for things, It'd be nice to have an oppor= tunity to back off from a install/remove after calculating dependencies, = such as that provided by yum (it shows everything it will do and asks for= confirmation before proceeding. ) I like that in yum and have planned to include something like this. I'm=20 trying to decide should it be the default or not - for now, it probably=20 will be :) --------------enig46DEBCE02E456A71E51E2996 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIkyiqldnAQVacBcgRAuPEAJ4uZDYHthVpJIIl8/7cn96UeKhh0QCg+RGt I816uItdS2zfYiAkiLsyB1k= =EAI0 -----END PGP SIGNATURE----- --------------enig46DEBCE02E456A71E51E2996--