Re: using new pkgng system on 9.0 system
On 11/22/2012 03:51 PM, Fbsd8 wrote: > Since pkg is being replaced by pkgng in Release 10.0 I would like to get > head start by playing with it on my 9.0 system. > > Where can I find a write up about installing and using pkgng? > > Have all the pkg packages been converted to pkgng format and are they > being kept up to date? Hi It's in /usr/ports/UPDATING 20121015: AFFECTS: users of ports-mgmt/portmaster AUTHOR: bdrew...@freebsd.org Portmaster now supports pkgng. To use pkgng, enable the patch in the port, enable pkgng in your make.conf, and convert your existing /var/db/pkg database. Also see UPDATING entry 20121010 if you are on a recent CURRENT and do not want to use pkg. This is optional and not currently required. # make -C /usr/ports/ports-mgmt/pkg install clean # make -C /usr/ports/ports-mgmt/portmaster config build deinstall install clean # echo 'WITH_PKGNG=yes' >> /etc/make.conf # pkg2ng This e-mail message, including any attachment(s), is intended solely for the addressee or addressees. Any views or opinions presented herein are solely those of the author and do not necessarily represent those of OSE. If you are not the intended recipient of this communication please return this e-mail message and the attachment(s) to the sender and delete and destroy all copies. ___ 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: using new pkgng system on 9.0 system
Bas Smeelen wrote: On 11/22/2012 03:51 PM, Fbsd8 wrote: Since pkg is being replaced by pkgng in Release 10.0 I would like to get head start by playing with it on my 9.0 system. Where can I find a write up about installing and using pkgng? Have all the pkg packages been converted to pkgng format and are they being kept up to date? Hi It's in /usr/ports/UPDATING 20121015: AFFECTS: users of ports-mgmt/portmaster AUTHOR: bdrew...@freebsd.org Portmaster now supports pkgng. To use pkgng, enable the patch in the port, enable pkgng in your make.conf, and convert your existing /var/db/pkg database. Also see UPDATING entry 20121010 if you are on a recent CURRENT and do not want to use pkg. This is optional and not currently required. # make -C /usr/ports/ports-mgmt/pkg install clean # make -C /usr/ports/ports-mgmt/portmaster config build deinstall install clean # echo 'WITH_PKGNG=yes' >> /etc/make.conf # pkg2ng Thanks, but your reply does not answer my question. I did not say anything about using portmaster. I want to use pkgng in native mode. I don't see pkgng in the ports system. How do I get pkgng loaded to a 9.0 system? ___ 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: using new pkgng system on 9.0 system
On 11/22/2012 04:14 PM, Fbsd8 wrote: > Bas Smeelen wrote: >> On 11/22/2012 03:51 PM, Fbsd8 wrote: >>> Since pkg is being replaced by pkgng in Release 10.0 I would like to get >>> head start by playing with it on my 9.0 system. >>> >>> Where can I find a write up about installing and using pkgng? >>> >>> Have all the pkg packages been converted to pkgng format and are they >>> being kept up to date? >> >> Hi >> >> It's in /usr/ports/UPDATING >> >> 20121015: >>AFFECTS: users of ports-mgmt/portmaster >>AUTHOR: bdrew...@freebsd.org >> >>Portmaster now supports pkgng. To use pkgng, enable the patch in the >> port, >>enable pkgng in your make.conf, and convert your existing /var/db/pkg >>database. Also see UPDATING entry 20121010 if you are on a recent CURRENT >>and do not want to use pkg. >> >>This is optional and not currently required. >> >># make -C /usr/ports/ports-mgmt/pkg install clean >># make -C /usr/ports/ports-mgmt/portmaster config build deinstall >> install clean >># echo 'WITH_PKGNG=yes' >> /etc/make.conf and >># pkg2ng >> >> >> > > Thanks, but your reply does not answer my question. I did not say anything > about using portmaster. > > I want to use pkgng in native mode. > I don't see pkgng in the ports system. > How do I get pkgng loaded to a 9.0 system? That would be make -C /usr/ports/ports-mgmt/pkg install clean and WITH_PKGNG=yes in /etc/make.conf and convert the old pkgdb to ng with pkg2ng Sorry I awlays use ports so maybe there is a config thing to be done also to find the right sites to get the packages from This e-mail message, including any attachment(s), is intended solely for the addressee or addressees. Any views or opinions presented herein are solely those of the author and do not necessarily represent those of OSE. If you are not the intended recipient of this communication please return this e-mail message and the attachment(s) to the sender and delete and destroy all copies. ___ 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: using new pkgng system on 9.0 system
Bas Smeelen wrote: On 11/22/2012 04:14 PM, Fbsd8 wrote: Bas Smeelen wrote: On 11/22/2012 03:51 PM, Fbsd8 wrote: Since pkg is being replaced by pkgng in Release 10.0 I would like to get head start by playing with it on my 9.0 system. Where can I find a write up about installing and using pkgng? Have all the pkg packages been converted to pkgng format and are they being kept up to date? Hi It's in /usr/ports/UPDATING 20121015: AFFECTS: users of ports-mgmt/portmaster AUTHOR: bdrew...@freebsd.org Portmaster now supports pkgng. To use pkgng, enable the patch in the port, enable pkgng in your make.conf, and convert your existing /var/db/pkg database. Also see UPDATING entry 20121010 if you are on a recent CURRENT and do not want to use pkg. This is optional and not currently required. # make -C /usr/ports/ports-mgmt/pkg install clean # make -C /usr/ports/ports-mgmt/portmaster config build deinstall install clean # echo 'WITH_PKGNG=yes' >> /etc/make.conf and # pkg2ng Thanks, but your reply does not answer my question. I did not say anything about using portmaster. I want to use pkgng in native mode. I don't see pkgng in the ports system. How do I get pkgng loaded to a 9.0 system? That would be make -C /usr/ports/ports-mgmt/pkg install clean and WITH_PKGNG=yes in /etc/make.conf and convert the old pkgdb to ng with pkg2ng Sorry I awlays use ports so maybe there is a config thing to be done also to find the right sites to get the packages from I see the problem. It's called pkgng but in the ports system it's called pkg. Thought pkg was the old system. Silly me. ___ 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: using new pkgng system on 9.0 system
On 11/22/12 16:42, Fbsd8 wrote: > Bas Smeelen wrote: >> On 11/22/2012 04:14 PM, Fbsd8 wrote: >>> Bas Smeelen wrote: On 11/22/2012 03:51 PM, Fbsd8 wrote: > Since pkg is being replaced by pkgng in Release 10.0 I would like > to get head start by playing with it on my 9.0 system. > > Where can I find a write up about installing and using pkgng? > > Have all the pkg packages been converted to pkgng format and are > they being kept up to date? Hi It's in /usr/ports/UPDATING 20121015: AFFECTS: users of ports-mgmt/portmaster AUTHOR: bdrew...@freebsd.org Portmaster now supports pkgng. To use pkgng, enable the patch in the port, enable pkgng in your make.conf, and convert your existing /var/db/pkg database. Also see UPDATING entry 20121010 if you are on a recent CURRENT and do not want to use pkg. This is optional and not currently required. # make -C /usr/ports/ports-mgmt/pkg install clean # make -C /usr/ports/ports-mgmt/portmaster config build deinstall install clean # echo 'WITH_PKGNG=yes' >> /etc/make.conf and # pkg2ng >>> Thanks, but your reply does not answer my question. I did not say >>> anything about using portmaster. >>> >>> I want to use pkgng in native mode. >>> I don't see pkgng in the ports system. >>> How do I get pkgng loaded to a 9.0 system? >> >> That would be make -C /usr/ports/ports-mgmt/pkg install clean >> and WITH_PKGNG=yes in /etc/make.conf >> and convert the old pkgdb to ng with pkg2ng >> >> >> Sorry I awlays use ports so maybe there is a config thing to be done >> also to find the right sites to get the packages from >> >> > > I see the problem. It's called pkgng but in the ports system it's > called pkg. Thought pkg was the old system. Silly me. Not a problem. The line in /etc/make.conf is used for when the ports or ports tools are used, so the right package tools are invoked to register them in the package database. It is good to put this in to prevent a mess eventually when ports are being used. I switched most systems to the ng pkg tools, what I like very much about it is that things are getting logged in messages. Also now you have one pkg command with different operations for what you want to accomplish. This e-mail message, including any attachment(s), is intended solely for the addressee or addressees. Any views or opinions presented herein are solely those of the author and do not necessarily represent those of OSE. If you are not the intended recipient of this communication please return this e-mail message and the attachment(s) to the sender and delete and destroy all copies. ___ 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: using new pkgng system on 9.0 system
On 22/11/2012 14:51, Fbsd8 wrote: > Since pkg is being replaced by pkgng in Release 10.0 I would like to get > head start by playing with it on my 9.0 system. Cool. > Where can I find a write up about installing and using pkgng? If you start from http://wiki.freebsd.org/pkgng (which has quite a bit of information in its own right) there are links to a number of articles where people describe their experiences with pkgng. > Have all the pkg packages been converted to pkgng format and are they > being kept up to date? Ah. Now, there you have zeroed in on the biggest stumbling point at the moment. There are binary packages available, but only from the beta-test server, and they aren't necessarily updated promptly, nor is there a guarantee that every package you want might will be available. Almost all ports will work just fine with pkgng -- the few exceptions really are in need of fixing in any case; it's just that pkg_tools lets you get away with things that pkgng doesn't. Most people testing pkgng at the moment are building their own package sets -- poudriere is a popular choice for doing that -- and setting up their own private repositories. There should have been official FreeBSD pkgng repos available 'Real Soon Now' -- recent events have put the schedule back significantly, and everyone is primarily concerned with doing it right rather than doing it quickly. So, please wait patiently for an announcement. It will happen, even if it does seem an interminable wait. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matt...@infracaninophile.co.uk signature.asc Description: OpenPGP digital signature
Re: using new pkgng system on 9.0 system
Matthew Seaman wrote: On 22/11/2012 14:51, Fbsd8 wrote: Since pkg is being replaced by pkgng in Release 10.0 I would like to get head start by playing with it on my 9.0 system. Cool. Where can I find a write up about installing and using pkgng? If you start from http://wiki.freebsd.org/pkgng (which has quite a bit of information in its own right) there are links to a number of articles where people describe their experiences with pkgng. Have all the pkg packages been converted to pkgng format and are they being kept up to date? Ah. Now, there you have zeroed in on the biggest stumbling point at the moment. There are binary packages available, but only from the beta-test server, and they aren't necessarily updated promptly, nor is there a guarantee that every package you want might will be available. Almost all ports will work just fine with pkgng -- the few exceptions really are in need of fixing in any case; it's just that pkg_tools lets you get away with things that pkgng doesn't. Most people testing pkgng at the moment are building their own package sets -- poudriere is a popular choice for doing that -- and setting up their own private repositories. There should have been official FreeBSD pkgng repos available 'Real Soon Now' -- recent events have put the schedule back significantly, and everyone is primarily concerned with doing it right rather than doing it quickly. So, please wait patiently for an announcement. It will happen, even if it does seem an interminable wait. Cheers, Matthew Can I browse the beta-test server repositories for the packages I want? ___ 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: using new pkgng system on 9.0 system
On Fri, Nov 23, 2012 at 12:33 AM, Matthew Seaman < m.sea...@infracaninophile.co.uk> wrote: > > > Most people testing pkgng at the moment are building their own package > sets -- poudriere is a popular choice for doing that -- and setting up > their own private repositories. > > There should have been official FreeBSD pkgng repos available 'Real Soon > Now' -- recent events have put the schedule back significantly, and > everyone is primarily concerned with doing it right rather than doing it > quickly. So, please wait patiently for an announcement. It will > happen, even if it does seem an interminable wait. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. > > PGP: http://www.infracaninophile.co.uk/pgpkey > JID: matt...@infracaninophile.co.uk > > Mathew Can' we create a new format package using recent version of portmaster? Or am I reading everything incorrectly? Amitabh ___ 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: using new pkgng system on 9.0 system
On 23/11/2012 16:24, Amitabh Kant wrote: > Can' we create a new format package using recent version of portmaster? Or > am I reading everything incorrectly? Yes, you can certainly do that. portmaster works pretty well with pkgng although it is still missing a few features compared to using it with pkg_tools. 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: using new pkgng system on 9.0 system
On 23/11/2012 15:38, Fbsd8 wrote: > Can I browse the beta-test server repositories for the packages I want? Download the repo catalogue by setting up your pkg.conf appropriately then running: pkg update Then you can use tools like 'pkg search' or 'pkg rquery' to investigate the available packages. (The first of those commands is more aimed at human readable output, the second for scripting usage.) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: using new pkgng system on 9.0 system
Matthew Seaman wrote: On 23/11/2012 15:38, Fbsd8 wrote: Can I browse the beta-test server repositories for the packages I want? > > Download the repo catalogue by setting up your pkg.conf appropriately then running: pkg update Then you can use tools like 'pkg search' or 'pkg rquery' to investigate the available packages. (The first of those commands is more aimed at human readable output, the second for scripting usage.) Where do I find the url for the beta-test server repositories? Can I use ftp or browser to see index content? ___ 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: using new pkgng system on 9.0 system
On Thu, 22 Nov 2012 19:03:50 +, Matthew Seaman wrote: > Most people testing pkgng at the moment are building their own package > sets -- poudriere is a popular choice for doing that -- and setting up > their own private repositories. Yes, I too am building my own package set and creating a private repository for local distributon. It seems to be working very well indeed. Poudriere though: I read somewhere that ZFS is a prerequisite. Is that so? Second question: At the moment I'm using 'pkg create' to generate packages from conventionally built ports, 'pkg repo' to create/update the tarred repo file, and a tiny Python script for HTTP serving. Am I missing out on some functionality? ___ 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: using new pkgng system on 9.0 system
On 23/11/2012 19:19, Fbsd8 wrote: > Where do I find the url for the beta-test server repositories? > Can I use ftp or browser to see index content? pkg.conf as supplied in the port-mgmt/pkg port comes with the right URL for the FreeBSD pkg repo[*], which is currently pointing at the beta-test repo, but which will in the fullness of time be changed to point at the actual production repo. No, in general you can't assume that you'll be able to browse the repo using a web browser or similar. Even if you could, all you'ld see is a lot of pkg tarballs which would tell you the package names and versions and how much data you'll need to download and not a lot else. Use the repo catalogue. It can tell you almost anything you might want to know about the available packages in the repo. Cheers, Matthew [*] Note: the default URL uses an SRV record in the DNS, which typical web browsers don't know how to handle. You'll just get NXDOMAIN if you try and point Firefox at it. For those who know how to handle SRV records, it looks like this: worm:~:% dig _http._tcp.pkg.freebsd.org IN SRV ; <<>> DiG 9.8.3-P4 <<>> _http._tcp.pkg.freebsd.org IN SRV ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48300 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;_http._tcp.pkg.freebsd.org.IN SRV ;; ANSWER SECTION: _http._tcp.pkg.freebsd.org. 3600 IN SRV 10 10 80 pkgbeta.FreeBSD.org. ;; Query time: 44 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Fri Nov 23 21:13:50 2012 ;; MSG SIZE rcvd: 83 -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: using new pkgng system on 9.0 system
On 23/11/2012 20:36, Walter Hurry wrote: > Poudriere though: I read somewhere that ZFS is a prerequisite. Is that > so? Yes. poudriere uses the cloning and snapshotting abilities of ZFS as a fundamental part of the way it works. You can use tinderbox instead if you only have conventional filesystems, but that isn't so easy to use as poudriere. > Second question: At the moment I'm using 'pkg create' to generate > packages from conventionally built ports, 'pkg repo' to create/update the > tarred repo file, and a tiny Python script for HTTP serving. Am I missing > out on some functionality? Convenience mostly. Basically what the package building software does is take the repetitive chore of typing 'make buildpackage' over and over again, and automates it. Pkg repos built 'by hand' have exactly the functionality as those built using poudriere. You only need a very basic webserver to publish the packages, or you can just use a file:// URL and no HTTP server at all if you're creating packages to be used on the same machine. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: using new pkgng system on 9.0 system
Matthew Seaman wrote: On 23/11/2012 19:19, Fbsd8 wrote: Where do I find the url for the beta-test server repositories? Can I use ftp or browser to see index content? pkg.conf as supplied in the port-mgmt/pkg port comes with the right URL for the FreeBSD pkg repo[*], which is currently pointing at the beta-test repo, but which will in the fullness of time be changed to point at the actual production repo. There is no pkg.conf supplied. It's named as pkg.conf.sample this fact is not mentioned anywhere. pkg should be released with a default pkg.conf not a pkg.conf.sample so pkg is ready to function right from the original install of pkg. No, in general you can't assume that you'll be able to browse the repo using a web browser or similar. Even if you could, all you'ld see is a lot of pkg tarballs which would tell you the package names and versions and how much data you'll need to download and not a lot else. Use the repo catalogue. It can tell you almost anything you might want to know about the available packages in the repo. Cheers, Matthew [*] Note: the default URL uses an SRV record in the DNS, which typical web browsers don't know how to handle. You'll just get NXDOMAIN if you try and point Firefox at it. For those who know how to handle SRV records, it looks like this: worm:~:% dig _http._tcp.pkg.freebsd.org IN SRV ; <<>> DiG 9.8.3-P4 <<>> _http._tcp.pkg.freebsd.org IN SRV ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48300 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;_http._tcp.pkg.freebsd.org.IN SRV ;; ANSWER SECTION: _http._tcp.pkg.freebsd.org. 3600 IN SRV 10 10 80 pkgbeta.FreeBSD.org. ;; Query time: 44 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Fri Nov 23 21:13:50 2012 ;; MSG SIZE rcvd: 83 Yes the url pkgbeta.FreeBSD.org can be browsed using a browser. As of Nov 28 pkgbeta.FreeBSD.org only contains the pkg package. So in conclusion, pkg is not ready for testing. ___ 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: using new pkgng system on 9.0 system
It is safe yet to use pkg2ng in production? -- Frank On Wednesday, November 28, 2012 at 5:29 PM, Fbsd8 wrote: > Matthew Seaman wrote: > > On 23/11/2012 19:19, Fbsd8 wrote: > > > Where do I find the url for the beta-test server repositories? > > > Can I use ftp or browser to see index content? > > > > > > > > > > > pkg.conf as supplied in the port-mgmt/pkg port comes with the right URL > > for the FreeBSD pkg repo[*], which is currently pointing at the > > beta-test repo, but which will in the fullness of time be changed to > > point at the actual production repo. > > > > > There is no pkg.conf supplied. It's named as pkg.conf.sample this fact > is not mentioned anywhere. pkg should be released with a default > pkg.conf not a pkg.conf.sample so pkg is ready to function right from > the original install of pkg. > > > > No, in general you can't assume that you'll be able to browse the repo > > using a web browser or similar. Even if you could, all you'ld see is a > > lot of pkg tarballs which would tell you the package names and versions > > and how much data you'll need to download and not a lot else. Use the > > repo catalogue. It can tell you almost anything you might want to know > > about the available packages in the repo. > > > > Cheers, > > > > Matthew > > > > [*] Note: the default URL uses an SRV record in the DNS, which typical > > web browsers don't know how to handle. You'll just get NXDOMAIN if you > > try and point Firefox at it. > > > > For those who know how to handle SRV records, it looks like this: > > > > worm:~:% dig _http._tcp.pkg.freebsd.org (http://_http._tcp.pkg.freebsd.org) > > IN SRV > > > > ; <<>> DiG 9.8.3-P4 <<>> _http._tcp.pkg.freebsd.org > > (http://_http._tcp.pkg.freebsd.org) IN SRV > > ;; global options: +cmd > > ;; Got answer: > > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48300 > > ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 > > > > ;; QUESTION SECTION: > > ;_http._tcp.pkg.freebsd.org (http://_http._tcp.pkg.freebsd.org). IN SRV > > > > ;; ANSWER SECTION: > > _http._tcp.pkg.freebsd.org (http://_http._tcp.pkg.freebsd.org). 3600 IN SRV > > 10 10 80 pkgbeta.FreeBSD.org (http://pkgbeta.FreeBSD.org). > > > > ;; Query time: 44 msec > > ;; SERVER: 8.8.8.8#53(8.8.8.8) > > ;; WHEN: Fri Nov 23 21:13:50 2012 > > ;; MSG SIZE rcvd: 83 > > > > > Yes the url pkgbeta.FreeBSD.org (http://pkgbeta.FreeBSD.org) can be browsed > using a browser. > As of Nov 28 pkgbeta.FreeBSD.org (http://pkgbeta.FreeBSD.org) only contains > the pkg package. > So in conclusion, pkg is not ready for testing. > > > ___ > freebsd-questions@freebsd.org (mailto: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 > (mailto:freebsd-questions-unsubscr...@freebsd.org)" > > ___ 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: using new pkgng system on 9.0 system
Used it on 8.3 boxes here, no complaints so far. Gonna slowly transition all our ~60 firewalls to pkgng. Note that I used pkg2ng on firewall boxes with ~180 installed ports each. On 29 Nov 2012, at 22:48, Frank wrote: > It is safe yet to use pkg2ng in production? > > -- > Frank > > > On Wednesday, November 28, 2012 at 5:29 PM, Fbsd8 wrote: > >> Matthew Seaman wrote: >>> On 23/11/2012 19:19, Fbsd8 wrote: Where do I find the url for the beta-test server repositories? Can I use ftp or browser to see index content? >>> >>> >>> >>> pkg.conf as supplied in the port-mgmt/pkg port comes with the right URL >>> for the FreeBSD pkg repo[*], which is currently pointing at the >>> beta-test repo, but which will in the fullness of time be changed to >>> point at the actual production repo. >>> >> >> >> There is no pkg.conf supplied. It's named as pkg.conf.sample this fact >> is not mentioned anywhere. pkg should be released with a default >> pkg.conf not a pkg.conf.sample so pkg is ready to function right from >> the original install of pkg. >>> >>> No, in general you can't assume that you'll be able to browse the repo >>> using a web browser or similar. Even if you could, all you'ld see is a >>> lot of pkg tarballs which would tell you the package names and versions >>> and how much data you'll need to download and not a lot else. Use the >>> repo catalogue. It can tell you almost anything you might want to know >>> about the available packages in the repo. >>> >>> Cheers, >>> >>> Matthew >>> >>> [*] Note: the default URL uses an SRV record in the DNS, which typical >>> web browsers don't know how to handle. You'll just get NXDOMAIN if you >>> try and point Firefox at it. >>> >>> For those who know how to handle SRV records, it looks like this: >>> >>> worm:~:% dig _http._tcp.pkg.freebsd.org (http://_http._tcp.pkg.freebsd.org) >>> IN SRV >>> >>> ; <<>> DiG 9.8.3-P4 <<>> _http._tcp.pkg.freebsd.org >>> (http://_http._tcp.pkg.freebsd.org) IN SRV >>> ;; global options: +cmd >>> ;; Got answer: >>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48300 >>> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 >>> >>> ;; QUESTION SECTION: >>> ;_http._tcp.pkg.freebsd.org (http://_http._tcp.pkg.freebsd.org). IN SRV >>> >>> ;; ANSWER SECTION: >>> _http._tcp.pkg.freebsd.org (http://_http._tcp.pkg.freebsd.org). 3600 IN SRV >>> 10 10 80 pkgbeta.FreeBSD.org (http://pkgbeta.FreeBSD.org). >>> >>> ;; Query time: 44 msec >>> ;; SERVER: 8.8.8.8#53(8.8.8.8) >>> ;; WHEN: Fri Nov 23 21:13:50 2012 >>> ;; MSG SIZE rcvd: 83 >>> >> >> >> Yes the url pkgbeta.FreeBSD.org (http://pkgbeta.FreeBSD.org) can be browsed >> using a browser. >> As of Nov 28 pkgbeta.FreeBSD.org (http://pkgbeta.FreeBSD.org) only contains >> the pkg package. >> So in conclusion, pkg is not ready for testing. >> >> >> ___ >> freebsd-questions@freebsd.org (mailto: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 >> (mailto:freebsd-questions-unsubscr...@freebsd.org)" >> >> > > > ___ > 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" ___ 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: using new pkgng system on 9.0 system
-- Frank On Thursday, November 29, 2012 at 11:16 PM, Damien Fleuriot wrote: > Used it on 8.3 boxes here, no complaints so far. > > Gonna slowly transition all our ~60 firewalls to pkgng. > > Note that I used pkg2ng on firewall boxes with ~180 installed ports each. > pretty nice :) Tomorrow I'm going to prepare a 9.1-RC3 with pkgng. Wish me luck :) > > > On 29 Nov 2012, at 22:48, Frank (mailto:urealfr...@gmail.com)> wrote: > > > It is safe yet to use pkg2ng in production? > > > > -- > > Frank > > > > > > On Wednesday, November 28, 2012 at 5:29 PM, Fbsd8 wrote: > > > > > Matthew Seaman wrote: > > > > On 23/11/2012 19:19, Fbsd8 wrote: > > > > > Where do I find the url for the beta-test server repositories? > > > > > Can I use ftp or browser to see index content? > > > > > > > > > > > > > > > > > > > > > > > > > pkg.conf as supplied in the port-mgmt/pkg port comes with the right URL > > > > for the FreeBSD pkg repo[*], which is currently pointing at the > > > > beta-test repo, but which will in the fullness of time be changed to > > > > point at the actual production repo. > > > > > > > > > > > > > > > > There is no pkg.conf supplied. It's named as pkg.conf.sample this fact > > > is not mentioned anywhere. pkg should be released with a default > > > pkg.conf not a pkg.conf.sample so pkg is ready to function right from > > > the original install of pkg. > > > > > > > > No, in general you can't assume that you'll be able to browse the repo > > > > using a web browser or similar. Even if you could, all you'ld see is a > > > > lot of pkg tarballs which would tell you the package names and versions > > > > and how much data you'll need to download and not a lot else. Use the > > > > repo catalogue. It can tell you almost anything you might want to know > > > > about the available packages in the repo. > > > > > > > > Cheers, > > > > > > > > Matthew > > > > > > > > [*] Note: the default URL uses an SRV record in the DNS, which typical > > > > web browsers don't know how to handle. You'll just get NXDOMAIN if you > > > > try and point Firefox at it. > > > > > > > > For those who know how to handle SRV records, it looks like this: > > > > > > > > worm:~:% dig _http._tcp.pkg.freebsd.org > > > > (http://_http._tcp.pkg.freebsd.org) (http://_http._tcp.pkg.freebsd.org) > > > > IN SRV > > > > > > > > ; <<>> DiG 9.8.3-P4 <<>> _http._tcp.pkg.freebsd.org > > > > (http://_http._tcp.pkg.freebsd.org) (http://_http._tcp.pkg.freebsd.org) > > > > IN SRV > > > > ;; global options: +cmd > > > > ;; Got answer: > > > > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48300 > > > > ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 > > > > > > > > ;; QUESTION SECTION: > > > > ;_http._tcp.pkg.freebsd.org (http://_http._tcp.pkg.freebsd.org) > > > > (http://_http._tcp.pkg.freebsd.org). IN SRV > > > > > > > > ;; ANSWER SECTION: > > > > _http._tcp.pkg.freebsd.org (http://_http._tcp.pkg.freebsd.org). 3600 IN > > > > SRV 10 10 80 pkgbeta.FreeBSD.org (http://pkgbeta.FreeBSD.org). > > > > > > > > ;; Query time: 44 msec > > > > ;; SERVER: 8.8.8.8#53(8.8.8.8) > > > > ;; WHEN: Fri Nov 23 21:13:50 2012 > > > > ;; MSG SIZE rcvd: 83 > > > > > > > > > > > > > > > > Yes the url pkgbeta.FreeBSD.org (http://pkgbeta.FreeBSD.org) can be > > > browsed using a browser. > > > As of Nov 28 pkgbeta.FreeBSD.org (http://pkgbeta.FreeBSD.org) only > > > contains the pkg package. > > > So in conclusion, pkg is not ready for testing. > > > > > > > > > ___ > > > freebsd-questions@freebsd.org (mailto: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 > > > (mailto:freebsd-questions-unsubscr...@freebsd.org)" > > > > > > > > > > > ___ > > freebsd-questions@freebsd.org (mailto: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 > > (mailto:freebsd-questions-unsubscr...@freebsd.org)" > > > > > ___ 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: using new pkgng system on 9.0 system
> Tomorrow I'm going to prepare a 9.1-RC3 with pkgng. Wish me luck :) Where is the pkgng repository for 9.1-RC3? -- Richard -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ___ 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"