25866 pkgng Beta - 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 January 31st, 2012, 00:00
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,727
Thanks: 432
Thanked 1,763 Times in 1,460 Posts
Default pkgng Beta

From the ports-announce mailing list:

Quote:
[HEADSUP][CFT] pkgng beta1 is out

Baptiste Daroussin

1/ Why pkgng?
------------

Our current pkg_install tools are showing their age, are hard to maintain,
and they lack features:

- missing metadata
- no upgrade support
- no repository support
- no fine dependency tracking
- no modern binary package management
- and many others

Having old tools makes it hard to improve the ports infrastructure, as a
result lots of hacks have found their way into the different Mk/bsd.*.mk
files to work around pkg_install limitations plus there are lots of hacks
in the packages metadata itself such as @comment which are not comments,
and so forth.

We have people writing tools to improve the situation (portmaster and
portupgrade to name two), but they are limited by and can become quite
complicated to maintain because of the pkg_install limitations.

2/ What it is?
--------------

It is a tool that is designed to replace pkg_install and provide modern
features to advance package management on FreeBSD.
...
Full 250-line message here
Reply With Quote
The Following 8 Users Say Thank You to wblock@ For This Useful Post:
aragon (January 31st, 2012), atmosx (July 8th, 2012), beyert (February 9th, 2012), graudeejs (January 31st, 2012), swa (February 11th, 2012), vermaden (January 31st, 2012), yoxter (February 27th, 2012), YZMSQ (February 1st, 2012)
  #2  
Old January 31st, 2012, 05:18
achix's Avatar
achix achix is offline
Member
 
Join Date: Nov 2008
Location: Greece, Balkan Federation
Posts: 223
Thanks: 4
Thanked 14 Times in 13 Posts
Default

Sounds good. Also some mechanism/hooks to peculiar upgrade situations would be nice to model. There must be such a mechanism if source compilation continues to be the main way of doing it.
Reply With Quote
  #3  
Old January 31st, 2012, 10:38
andyzammy andyzammy is offline
Member
 
Join Date: Jun 2011
Posts: 100
Thanks: 0
Thanked 3 Times in 3 Posts
Default

It sounds as though /usr/src/UPDATING is still going to be part of the ports implementation. I'm only just beginning to get a hang of using the ports system (with respect to upgrading - initial installs have been fine), so I haven't seen a really deep UPDATING entry, but the one's I've seen so far are along the lines of "X is depricated so uninstall X and use Y from now on", or "X has been split up into Y and Z so install and recompile -R and -r dependencies".
These types of workarounds look like they could be automated. Is there any reason why that isn't happening? I did a quick search on UPDATING documentation but couldn't really find any, if anybody has any links to shed light on it that would be great too.

Also, could someone post a complex UPDATING entry? That would probably show me.
Reply With Quote
  #4  
Old January 31st, 2012, 12:01
piggy piggy is offline
Member
 
Join Date: May 2010
Posts: 164
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by achix View Post
Sounds good. Also some mechanism/hooks to peculiar upgrade situations would be nice to model. There must be such a mechanism if source compilation continues to be the main way of doing it.
I agree, and I add: we don't need the same old third party, command line tool again.

All this situation it is simply to solve like I said before: just FreeBSD Foundation have to invest on a binary upgrade server updated in the same time with the ports code collection and build a simple tool to use that server. Graphical is better, text is ok too.

So I'm totally disinterested in that new third party project called pkgng and I haven't want to try it.
Reply With Quote
  #5  
Old January 31st, 2012, 15:00
avilla@'s Avatar
avilla@ avilla@ is offline
FreeBSD Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 258
Thanks: 8
Thanked 55 Times in 47 Posts
Default

Quote:
Originally Posted by piggy View Post
So I'm totally disinterested in that new third party project called pkgng and I haven't want to try it.
This is not a third party application... It will completely replace pkg_add(1).
__________________
Alberto Villa, FreeBSD committer <avilla@FreeBSD.org>
http://people.FreeBSD.org/~avilla
Reply With Quote
  #6  
Old January 31st, 2012, 16:45
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,144
Thanks: 43
Thanked 703 Times in 579 Posts
Default

piggy: pkgng is *exactly* what you are asking for. If you would take your head out of the sand for 10 seconds, you would notice that. Everything you have been screaming repeatedly over and over again about ... is being done in pkgng. With the sole exception of being graphical.

But, I guess you just want to rant and rave over and over again about the same point, instead of actually investigating possible solutions and getting things done.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
The Following User Says Thank You to phoenix For This Useful Post:
gkontos (January 31st, 2012)
  #7  
Old January 31st, 2012, 20:12
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Bombdiggity I can't wait to test this. I have first hand experience (read: pain) with the brokenness of pkg_install.
Reply With Quote
  #8  
Old January 31st, 2012, 21:16
piggy piggy is offline
Member
 
Join Date: May 2010
Posts: 164
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by phoenix View Post
piggy: pkgng is *exactly* what you are asking for. If you would take your head out of the sand for 10 seconds, you would notice that. Everything you have been screaming repeatedly over and over again about ... is being done in pkgng. With the sole exception of being graphical.

But, I guess you just want to rant and rave over and over again about the same point, instead of actually investigating possible solutions and getting things done.
Ok Phoenix, I will try it as fast as I have some spare time and a machine to experiment with.
Reply With Quote
  #9  
Old February 8th, 2012, 21:16
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

I stumbled upon this:

http://www.youtube.com/watch?v=IRa6wFBLU28

Looks pretty cool... and that's 4 months old.
Reply With Quote
The Following User Says Thank You to aragon For This Useful Post:
yoxter (February 27th, 2012)
  #10  
Old February 8th, 2012, 22:09
da1 da1 is offline
Member
 
Join Date: Sep 2009
Location: Berlin,DE
Posts: 659
Thanks: 24
Thanked 48 Times in 44 Posts
Default

Really looking forward to seeing that one.
Reply With Quote
  #11  
Old February 8th, 2012, 23:37
gkontos's Avatar
gkontos gkontos is offline
Senior Member
 
Join Date: Dec 2009
Location: Polidendri, GR
Posts: 1,268
Thanks: 42
Thanked 218 Times in 164 Posts
Default

It is really very good in action. I did some tests on a old desktop that I have. Setting up x11/xorg-minimal was a matter of a few minutes. The only problem is that I have found only 2 repositories which have vey old packages.
__________________
Powered by BareBSD
Reply With Quote
  #12  
Old February 9th, 2012, 00:03
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,144
Thanks: 43
Thanked 703 Times in 579 Posts
Default

The database backend side of things work really well.

The patch to portmaster to make it use the pkgng database works really well.

Unfortunately, there's no i386 package repo available anywhere, so that's as far as I've been able to test. For now, I'll continue to use pkg_upgrade (from sysutils/bsdadminscripts). It's not perfect (and slow), but at least it works with the existing packages.

Definitely a lot of potential in pkgng!!
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #13  
Old February 10th, 2012, 20:59
pkubaj pkubaj is offline
Member
 
Join Date: Jun 2010
Posts: 302
Thanks: 22
Thanked 40 Times in 30 Posts
Default

There's beta 2 already. But I'm not sure, but I think there's a bug in a patch for portmaster. Having patched it, it still wanted to upgrade the ports according to what pkg_version shows. I read through the patch and ran
Code:
export use_pkgng=1
which made portmaster run as it should. That's why I think that there should be some if that would set the value of use_pkgng.

Last edited by DutchDaemon; February 11th, 2012 at 06:51.
Reply With Quote
  #14  
Old February 10th, 2012, 21:16
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,144
Thanks: 43
Thanked 703 Times in 579 Posts
Default

You have to add
Code:
use_pkgng=yes
into /usr/local/etc/portmaster.rc (or your personal .portmasterrc) file.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.

Last edited by DutchDaemon; February 11th, 2012 at 06:51.
Reply With Quote
The Following 2 Users Say Thank You to phoenix For This Useful Post:
graudeejs (February 10th, 2012), pkubaj (February 10th, 2012)
  #15  
Old February 11th, 2012, 03:06
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,388
Thanks: 60
Thanked 145 Times in 130 Posts
Default

Beta3 is already here. I would run
Code:
 portmaster check-depends && pkgdb -F --omit-check
first if convenient. (Less errors running the following code box)...(BTW Found one port which had to be removed temporarily for )
Code:
 pkg2ng
( to run to completion. ) (Using unpatched portmaster so far... not a lot of time to test.)
Also,
Code:
 script -a pkg2ng.log pkg2ng
found many conflicts... such as weblint; p5-HTML-Lint etc etc ("they install into the same place" a file)

Last edited by jb_fvwm2; February 11th, 2012 at 03:24.
Reply With Quote
  #16  
Old February 11th, 2012, 05:07
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,144
Thanks: 43
Thanked 703 Times in 579 Posts
Default

pkgdb is part of ports-mgmt/portupgrade. If you're using portmaster, why would you have portupgrade installed?
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.

Last edited by DutchDaemon; February 11th, 2012 at 06:51.
Reply With Quote
  #17  
Old February 11th, 2012, 21:07
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,388
Thanks: 60
Thanked 145 Times in 130 Posts
Default

To keep
Code:
pkgdb -F --omit-check
around... unsure of its exact replacement with other tools... (It informs of stuff I've accidentally desinstalled, for instance.)
Reply With Quote
  #18  
Old February 11th, 2012, 22:41
pkubaj pkubaj is offline
Member
 
Join Date: Jun 2010
Posts: 302
Thanks: 22
Thanked 40 Times in 30 Posts
Default

Quote:
Originally Posted by jb_fvwm2 View Post
To keep
Code:
pkgdb -F --omit-check
around... unsure of its exact replacement with other tools... (It informs of stuff I've accidentally desinstalled, for instance.)
What about # portmaster --check-depends ?
Reply With Quote
  #19  
Old February 12th, 2012, 06:00
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,388
Thanks: 60
Thanked 145 Times in 130 Posts
Default

Quote:
Originally Posted by pkubaj View Post
What about # portmaster --check-depends ?
It works similarly, maybe could serve as a replacement ( I run it with the "-y" parameter).
Reply With Quote
  #20  
Old February 25th, 2012, 06:44
webugz webugz is offline
Junior Member
 
Join Date: Feb 2012
Posts: 5
Thanks: 2
Thanked 1 Time in 1 Post
Default FreeBSD’s new package manager - pkgng

For those who have not already known. A new FreeBSD's package manager, pkgng, is brewing.
Here is an interesting article on it:
http://www.mebsd.com/make-build-your...e-manager.html

Enjoy.
Reply With Quote
The Following User Says Thank You to webugz For This Useful Post:
DemoDoG (February 26th, 2012)
  #21  
Old February 26th, 2012, 03:10
DemoDoG DemoDoG is offline
Member
 
Join Date: Nov 2008
Location: Sweden
Posts: 185
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Wow is this for real?
Reply With Quote
  #22  
Old February 26th, 2012, 09:48
renice renice is offline
Junior Member
 
Join Date: Jun 2009
Posts: 40
Thanks: 2
Thanked 4 Times in 4 Posts
Default

There's already a useful thread about pkgng:
http://forums.freebsd.org/showthread...ighlight=pkgng
Reply With Quote
The Following User Says Thank You to renice For This Useful Post:
webugz (February 26th, 2012)
  #23  
Old February 26th, 2012, 14:54
webugz webugz is offline
Junior Member
 
Join Date: Feb 2012
Posts: 5
Thanks: 2
Thanked 1 Time in 1 Post
Default

Thanks! I missed that.
Reply With Quote
  #24  
Old February 26th, 2012, 19:19
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,861
Thanks: 30
Thanked 1,896 Times in 1,338 Posts
Default

[ Merged -- Mod. ]
__________________
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
  #25  
Old February 27th, 2012, 18:26
DemoDoG DemoDoG is offline
Member
 
Join Date: Nov 2008
Location: Sweden
Posts: 185
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Does it work good enough so that I could install Xorg and a small window manager with pkgng and get the same versions as I get from ports?
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
[Solved] 9.0 BETA 2 - cd0 FreeBCP Installation and Maintenance of FreeBSD Ports or Packages 8 September 21st, 2011 16:22
GhostBSD 1.5 Beta... jumbotron Off-Topic 2 July 11th, 2010 20:54
How to upgrade FreeBSd 8 beta 3 to, for example, beta 4 everypot Installing & Upgrading 3 November 26th, 2009 03:24
[XFCE] Xfce 4.6 Beta DemoDoG Other Window Managers 2 December 1st, 2008 09:45
FreeBSD 6.4-BETA/7.1-BETA Available admin News & Announcements 0 September 14th, 2008 10:42


All times are GMT +1. The time now is 04:15.


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