Date: Fri, 01 Aug 2008 17:33:43 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-ports@freebsd.org Subject: Re: Call for comments - pkg_trans Message-ID: <g6vacs$7b4$1@ger.gmane.org> In-Reply-To: <g6tcss$hcg$1@ger.gmane.org> References: <g6res0$giq$1@ger.gmane.org> <g6tcss$hcg$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5E857624874AAD28BC26EB3F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Marcin Wisnicki wrote: > On Thu, 31 Jul 2008 06:25:27 +0200, Ivan Voras wrote: >=20 >> Hi, >> >> I apologize in advance if what I'm trying to do seems stupid or it has= >> already existed since the Dawn of Time (i.e. when McKusick was in >> diapers) but I'd like your comments on this idea: >> >> http://wiki.freebsd.org/IvanVoras/PkgTransProposal >=20 > Looking at your use cases I think what you are proposing is overkill. Wow, and I was afraid I'm doing an underkill here :) > * Install some large group of packages, like KDE or GNOME. Don't like i= t,=20 > want to delete all packages installed during the operation. >=20 > This could be achieved by tracking which ports were installed explicitl= y=20 > by user. I.e. when I type: > (cd /usr/ports/x11/gnome2; make install) > or > pkg_add -r gnome2 >=20 > It will install gnome2 along with it's dependencies but in some way mar= k=20 > gnome2 package as installed by user, say, by creating /var/db/pkg/ > gnome2-2.22/+USER_INSTALLED or even easier, by maintaing some special=20 > unremovable dummy package that would depend on all packages installed=20 > explicitly. This has the same problems as my scheme and I'm not sure the benefits=20 are the same. With pkg_trans, we know explicitly which packages were=20 pulled in when, and the order in which they were pulled. > * Install a newer version of postgresql, have an OMG moment and remembe= r=20 > you need to dump the database with the old version and reaload it with = > the new version. Revert the install by deleting the new packages and=20 > reinstalling the old ones (i.e. undo a removal). >=20 > pkg_deinstall -R posgtresql-8.4.0; pkg_add postgresql-8.3.0 Yes, with the exception that something needs to do "pkg_create -b=20 postgresql-8.3.0" before it's removed, and I don't trust myself to=20 remember this every time :) (I want it to happen automatically) --------------enig5E857624874AAD28BC26EB3F 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 iD8DBQFIkyzXldnAQVacBcgRAkfeAKCh75Zx1jKaIT0O6f6sudqmFu4EKQCfeWc0 eYrY9FTafuYhQKv+Kek92/Q= =vW3g -----END PGP SIGNATURE----- --------------enig5E857624874AAD28BC26EB3F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g6vacs$7b4$1>