what am i doing wrong

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

what am i doing wrong

Bjorn Carlsson
Late one night I felt adventurous and wanted to try pkgng.. now:

[root@kaguzi /home/bc]# pkg version | grep "<"
ImageMagick-6.7.9.4                <
apache22-2.2.22_8                  <
apr-1.4.6.1.4.1_1                  <
automake-1.12.3                    <
bash-4.2.37                        <
cairo-1.10.2_4,2                   <
cups-client-1.5.2_2                <
cups-image-1.5.2_1                 <
emacs-24.2,2                       <
^C
[root@kaguzi /home/bc]# pkg upgrade
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
Nothing to do
[root@kaguzi /home/bc]# more /usr/local/etc/pkg.conf
# System-wide configuration file for pkg(1)
# For more information on the file format and
# options please refer to the pkg.conf(5) man page

# Configuration options
PACKAGESITE         : http://pkg.freebsd.org/${ABI}/latest
#SRV_MIRRORS        : NO
#PKG_DBDIR          : /var/db/pkg
#PKG_CACHEDIR       : /var/cache/pkg
#PORTSDIR           : /usr/ports
#PUBKEY             : /etc/ssl/pkg.conf
#HANDLE_RC_SCRIPTS   : NO
#PKG_MULTIREPOS     : NO
#ASSUME_ALWAYS_YES   : NO
#SYSLOG             : YES
#SHLIBS             : NO
#AUTODEPS           : NO
#PORTAUDIT_SITE     : http://portaudit.FreeBSD.org/auditfile.tbz

# Repository definitions
#repos:
#  default : http://example.org/pkgng/
#  repo1 : http://somewhere.org/pkgng/repo1/
#  repo2 : http://somewhere.org/pkgng/repo2/

[root@kaguzi /home/bc]#

What am I doing wrong (besides the obvious about late night adventures..)

Thanks.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: what am i doing wrong

Mark Felder-4
On Fri, Apr 5, 2013, at 9:39, Bjorn Carlsson wrote:
> > [root@kaguzi /home/bc]# pkg upgrade
> Updating repository catalogue
> Repository catalogue is up-to-date, no need to fetch fresh copy
> Nothing to do

You're running your own private package repository, right? Unfortunately
there is no public one available yet. So you either have to run your own
or just build from ports like usual, but have WITH_PKGNG=YES in
/etc/make.conf.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

what am i doing wrong

Beeblebrox
In reply to this post by Bjorn Carlsson
The "point" of the whole pkgng system is to shift the update method from ports (portmaster/portupgrade) to update via binaries. This is because building binary packages, then updating the the whole system through the packages is healthier and less error-prone. So to answer your question:
* If you DO NOT plan on building your own packages, should not have switched to pkgng.
* Since you have switched, you can try to revert to legacy pkg or setup your package builder system using poudriere (enough examples in internetland for this)
* Once you have poudriere building your packages, you can then make pkgng aware of the local repo by setting:
PACKAGESITE=file:/poudriere/data/packages/10amd-default (or whatever your actual turns out to be)

pkg upgrade should then run smoothly.
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS