Re: pkgng and the old pkg_* programs

2012-10-22 Thread andrew clarke
On Sun 2012-10-21 18:10:06 UTC+0100, Arthur Chance (free...@qeng-ho.org) wrote:

 Now that portmaster officially supports pkgng I've converted to using 
 it. Is there any reason to keep the old pkg_* programs around, or can I 
 delete them and add WITHOUT_PKGTOOLS to my /etc/src.conf? I'm running 
 RELEASE-9.0 on amd64 and will update to REL-9.1 as soon as it arrives if 
 that matters.

I don't think there's any harm in leaving the pkg_* programs there?

Of course if you delete them, a binary upgrade with freebsd-update
will most likely put them back.

I've switched to pkgng on two machines here. Working well so far,
although pkg2ng had some initial problems with the conversion due to
some conflicting files that had been installed by different packages...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkgng and the old pkg_* programs

2012-10-22 Thread mbsd
I have tried it. There's my report ;)

Without pkg_*, pkg2ng doesn't work.
pkg info shows only himself (pkg-1.0.1). And I have no idea how to
register all this stuff which I have already into pkgng database.

New [re]installations from ports and directly from pkg work fine.

So for new installation it seems to be fine, for old you have to run
pkg2ng before you will remove pkg_* binaries.

On Sun, 2012-10-21 at 18:36 +0100, Matthew Seaman wrote:
 On 21/10/2012 18:10, Arthur Chance wrote:
  Now that portmaster officially supports pkgng I've converted to using
  it. Is there any reason to keep the old pkg_* programs around, or can I
  delete them and add WITHOUT_PKGTOOLS to my /etc/src.conf? I'm running
  RELEASE-9.0 on amd64 and will update to REL-9.1 as soon as it arrives if
  that matters.
 
 There is no particularly good reason to keep pkg_tools around once
 you've made the switch to pkgng.  pkgng should provide replacements for
 all the pkg_tool functionality and slot into its place quite smoothly.
 
 However, I'm not sure that there's been adequate testing on a
 pkg_tools-free setup, so it is not entirely outside the bounds of
 possibility that you might run into some odd problems.  If you do,
 please report what happens, as that's definitely a bug that needs fixing.
 
   Cheers,
 
   Matthew
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkgng and the old pkg_* programs

2012-10-22 Thread Matthew Seaman
On 22/10/2012 11:57, mbsd wrote:
 I have tried it. There's my report ;)
 
 Without pkg_*, pkg2ng doesn't work.
 pkg info shows only himself (pkg-1.0.1). And I have no idea how to
 register all this stuff which I have already into pkgng database.

Correct.  You need pkg_tools to run pkg2ng.  But that's the last thing
you'll ever need pkg_tools for...

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: pkgng and the old pkg_* programs

2012-10-22 Thread Arthur Chance

On 10/22/12 11:17, andrew clarke wrote:

On Sun 2012-10-21 18:10:06 UTC+0100, Arthur Chance (free...@qeng-ho.org) wrote:


Now that portmaster officially supports pkgng I've converted to using
it. Is there any reason to keep the old pkg_* programs around, or can I
delete them and add WITHOUT_PKGTOOLS to my /etc/src.conf? I'm running
RELEASE-9.0 on amd64 and will update to REL-9.1 as soon as it arrives if
that matters.


I don't think there's any harm in leaving the pkg_* programs there?


I doubt whether there's any harm either, it's just the principle of not 
having useless binaries lying around. Partly it's an old (and obsolete) 
habit developed in the days when the largest disks were a handful of 
megabytes in size, but it's also good security practice not to install 
anything that's unnecessary.



Of course if you delete them, a binary upgrade with freebsd-update
will most likely put them back.


I always upgrade from source, and cut out unused subsystems with the 
WITHOUT_* knobs in /etc/src.conf, so that's not going to be a problem.



I've switched to pkgng on two machines here. Working well so far,
although pkg2ng had some initial problems with the conversion due to
some conflicting files that had been installed by different packages...


Ditto.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkgng and the old pkg_* programs

2012-10-22 Thread Arthur Chance

On 10/21/12 18:36, Matthew Seaman wrote:

On 21/10/2012 18:10, Arthur Chance wrote:

Now that portmaster officially supports pkgng I've converted to using
it. Is there any reason to keep the old pkg_* programs around, or can I
delete them and add WITHOUT_PKGTOOLS to my /etc/src.conf? I'm running
RELEASE-9.0 on amd64 and will update to REL-9.1 as soon as it arrives if
that matters.


There is no particularly good reason to keep pkg_tools around once
you've made the switch to pkgng.  pkgng should provide replacements for
all the pkg_tool functionality and slot into its place quite smoothly.

However, I'm not sure that there's been adequate testing on a
pkg_tools-free setup, so it is not entirely outside the bounds of
possibility that you might run into some odd problems.  If you do,
please report what happens, as that's definitely a bug that needs fixing.


Will do. Thanks to all who worked on pkgng.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pkgng and the old pkg_* programs

2012-10-21 Thread Arthur Chance
Now that portmaster officially supports pkgng I've converted to using 
it. Is there any reason to keep the old pkg_* programs around, or can I 
delete them and add WITHOUT_PKGTOOLS to my /etc/src.conf? I'm running 
RELEASE-9.0 on amd64 and will update to REL-9.1 as soon as it arrives if 
that matters.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkgng and the old pkg_* programs

2012-10-21 Thread Matthew Seaman
On 21/10/2012 18:10, Arthur Chance wrote:
 Now that portmaster officially supports pkgng I've converted to using
 it. Is there any reason to keep the old pkg_* programs around, or can I
 delete them and add WITHOUT_PKGTOOLS to my /etc/src.conf? I'm running
 RELEASE-9.0 on amd64 and will update to REL-9.1 as soon as it arrives if
 that matters.

There is no particularly good reason to keep pkg_tools around once
you've made the switch to pkgng.  pkgng should provide replacements for
all the pkg_tool functionality and slot into its place quite smoothly.

However, I'm not sure that there's been adequate testing on a
pkg_tools-free setup, so it is not entirely outside the bounds of
possibility that you might run into some odd problems.  If you do,
please report what happens, as that's definitely a bug that needs fixing.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature