Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 13:23:03 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r243554 - in head/usr.sbin/pkg_install: add create delete info lib updating version
Message-ID:  <20121221132303.124765b7@fabiankeil.de>
In-Reply-To: <CAF6rxgmFhhCVr5M8My%2B8ChFup%2Bp9MKWR94ezVLSq6ctnpYaXaw@mail.gmail.com>
References:  <201211260511.qAQ5B7DQ002346@svn.freebsd.org> <20121128170032.730be5fab68dba2a09aaa14e@FreeBSD.org> <CAF6rxgk8y_g803nLPQd=O0eSH836UnD3SbGx8WM_Lehx=h4U7w@mail.gmail.com> <20121128183422.714562856f27371c95d2a84e@FreeBSD.org> <CAF6rxgmFhhCVr5M8My%2B8ChFup%2Bp9MKWR94ezVLSq6ctnpYaXaw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/oaj8yDwZ6z9F8IHXwzTWZ_d
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Eitan Adler <eadler@freebsd.org> wrote:

> On 28 November 2012 21:34, Stanislav Sedov <stas@freebsd.org> wrote:

> > I don't really see how this
> > message being in pkg_ tools helps to prevent a possible foot-shooting
> > at all.
>=20
> It reminds people that using the pkg_* tools once a conversion is done is=
 wrong.

I don't see how that prevents foot-shooting either.

Is there a single case where running one of the pkg_* tools
is dangerous and spamming the console somehow mitigates this?

How is the following helpful?:

# pkg2ng
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
Creating backup pkg_info(1) database directory in /var/db/pkg.bak.
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
Installing adns-1.4_1... done
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
pkg_info: You appear to be using the newer pkg(1) tool on this system for p=
ackage management, rather than the legacy package management tools (pkg_*).=
  The legacy tools should no longer be used on this system.
Installing autoconf-2.68... done
[...]
=20
> > At very least, it makes sense to make it conditional on WITH_PKGNG, so =
this
> > code does not end up compiled in if PKGNG is disabled in src.conf.
>=20
> Interesting idea. Maybe I shall do this.

Yes, please.=20

Fabian

--Sig_/oaj8yDwZ6z9F8IHXwzTWZ_d
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlDUVKoACgkQBYqIVf93VJ0V7gCgqkVWtx+PwPARlXdYlh+upqVr
ZGEAnixtfHAVrQjmYgHeHjn60Ohh2GmL
=KcI+
-----END PGP SIGNATURE-----

--Sig_/oaj8yDwZ6z9F8IHXwzTWZ_d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121221132303.124765b7>