Eitan Adler <ead...@freebsd.org> wrote:

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

> > I don't really see how this
> > message being in pkg_ tools helps to prevent a possible foot-shooting
> > at all.
> 
> 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 
package 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 
package 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 
package 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 
package 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 
package 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 
package 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 
package 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 
package 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 
package 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 
package 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
[...]
 
> > 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.
> 
> Interesting idea. Maybe I shall do this.

Yes, please. 

Fabian

Attachment: signature.asc
Description: PGP signature

Reply via email to