13d6b pkgng - portmaster disabled problem - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old October 30th, 2012, 17:58
pphalen pphalen is offline
Junior Member
 
Join Date: Dec 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default pkgng - portmaster disabled problem

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
Now, one machine updates with portmaster without complaint, but the other says:
Code:
"Package installation support cannot be used with pkgng yet, it will be disabled."
I reinstalled portmaster again, but that didn't help. Suggestions?

FreeBSD 9.0-RELEASE
Reply With Quote
  #2  
Old October 30th, 2012, 18:10
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

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.
Reply With Quote
  #3  
Old October 30th, 2012, 18:21
pphalen pphalen is offline
Junior Member
 
Join Date: Dec 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I've already tried twice
# make -C /usr/ports/ports-mgmt/portmaster config clean build deinstall install

and 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.
Reply With Quote
  #4  
Old October 30th, 2012, 23:30
break19 break19 is offline
Member
 
Join Date: Nov 2009
Posts: 109
Thanks: 10
Thanked 17 Times in 15 Posts
Default

"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.
Reply With Quote
  #5  
Old October 30th, 2012, 23:50
pphalen pphalen is offline
Junior Member
 
Join Date: Dec 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, but as I mentioned, one (identically configured) other machine doesn't issue that warning. So still a bit of a puzzle...
Reply With Quote
  #6  
Old October 31st, 2012, 08:59
KdeBruin KdeBruin is offline
Junior Member
 
Join Date: Sep 2012
Posts: 20
Thanks: 2
Thanked 4 Times in 2 Posts
Default

Did you by any change install any packages on the machine with the warning?
Reply With Quote
  #7  
Old October 31st, 2012, 16:47
pphalen pphalen is offline
Junior Member
 
Join Date: Dec 2010
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Portmaster installed ports, but I haven't manually installed any packages using the 'pkg' command. Is that what you mean?
Reply With Quote
  #8  
Old February 15th, 2013, 01:59
tankist02 tankist02 is offline
Junior Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 1 Time in 1 Post
Default

I also have the same problem with portmaster and pkgng.
Reply With Quote
  #9  
Old March 3rd, 2013, 00:33
dave's Avatar
dave dave is offline
Member
 
Join Date: Nov 2008
Posts: 300
Thanks: 37
Thanked 18 Times in 18 Posts
Default

Same
Reply With Quote
  #10  
Old March 3rd, 2013, 02:26
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,854
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

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. <---
Reply With Quote
  #11  
Old March 3rd, 2013, 03:06
kpa kpa is offline
Giant Locked
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 2,015
Thanks: 44
Thanked 467 Times in 397 Posts
Default

There's no reason to use the package options of ports-mgmt/portmaster with PKGNG, use pkg install etc. directly.
Reply With Quote
  #12  
Old March 3rd, 2013, 03:49
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,854
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

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. <---
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT +1. The time now is 12:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0