13d6b
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
On two servers, I followed the instructions for updating to pkgng, with portmaster:
Code:
# portsnap fetch update # make -C /usr/ports/ports-mgmt/portmaster config clean build deinstall install # echo "WITH_PKGNG=yes" >> /etc/make.conf # pkg2ng Code:
"Package installation support cannot be used with pkgng yet, it will be disabled." FreeBSD 9.0-RELEASE |
|
#2
|
||||
|
||||
|
Install ports-mgmt/portmaster again and make sure you enable PKGNGPATCH.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#3
|
|||
|
|||
|
Yes, I've already tried twice
# make -C /usr/ports/ports-mgmt/portmaster config clean build deinstall installand confirmed PKGNGPATCH box was checked. Same problem. And then attempting to run pkg2ng again complains of corrupted formats, since it uses pkg_info(1). So I'm still stuck. |
|
#4
|
|||
|
|||
|
"Package installation support cannot be used with pkgng yet, it will be disabled." Means just what it says.. You cannot use portmaster to install -packages- only ports.
|
|
#5
|
|||
|
|||
|
Thanks, but as I mentioned, one (identically configured) other machine doesn't issue that warning. So still a bit of a puzzle...
|
|
#6
|
|||
|
|||
|
Did you by any change install any packages on the machine with the warning?
|
|
#7
|
|||
|
|||
|
Portmaster installed ports, but I haven't manually installed any packages using the 'pkg' command. Is that what you mean?
|
|
#8
|
|||
|
|||
|
I also have the same problem with portmaster and pkgng.
|
|
#9
|
||||
|
||||
|
Same
|
|
#10
|
||||
|
||||
|
The portmaster warning about packages should only come up if you're running it with the -P or -PP flag (or equivalent setting in /usr/local/etc/portmaster.rc, like using only packages for build dependencies, etc.).
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#11
|
|||
|
|||
|
There's no reason to use the package options of ports-mgmt/portmaster with PKGNG, use pkg install etc. directly.
|
|
#12
|
||||
|
||||
|
Installing ports with portmaster while using binary packages for build-only dependencies (removing them right after installation) is a very nice thing to have. That's a regular option in portmaster.rc, and I hope to see it working again soon.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| portmaster problem | roelof | Installation and Maintenance of FreeBSD Ports or Packages | 7 | May 19th, 2013 23:16 |
| pkg (aka pkgng) 1.0 Released | wblock@ | Installation and Maintenance of FreeBSD Ports or Packages | 13 | October 10th, 2012 16:10 |
| [Solved] Looking for a pkgng PACKAGESITE | srivo | Installation and Maintenance of FreeBSD Ports or Packages | 4 | June 22nd, 2012 20:15 |
| [PCBSD] Portmaster/BPM problem | airmanmatthew | Installation and Maintenance of FreeBSD Ports or Packages | 1 | January 25th, 2010 22:50 |
| portmaster problem | NIX-Knight | Installation and Maintenance of FreeBSD Ports or Packages | 7 | February 5th, 2009 11:23 |