Re: pkg upgrade - Nothing to do

2012-11-15 Thread Patrick Lamaiziere
Le Sun, 11 Nov 2012 12:58:37 +0100,
Julien Laffaye jlaff...@freebsd.org a écrit :

 pkg version compares against the local ports tree.

It would be nice to be able to compare against a repository. Is there
some plans for this?

Regards.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: pkg upgrade - Nothing to do

2012-11-15 Thread Bryan Drewery
On 11/15/2012 3:10 PM, Patrick Lamaiziere wrote:
 Le Sun, 11 Nov 2012 12:58:37 +0100,
 Julien Laffaye jlaff...@freebsd.org a écrit :
 
 pkg version compares against the local ports tree.
 
 It would be nice to be able to compare against a repository. Is there
 some plans for this?
 
 Regards.
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
 

From pkg-version(8):


  -I  Use INDEX file for determining if a package is out of date.
 
  -P  Use ports for determining if a package is out of date.  This is the
  default if a ports tree exists.  The tree used can be overridden by
  PORTSDIR, see pkg(5) for more information.
 
  -R  Use repository catalogue for determining if a package is out of date.
  This is the default if no ports tree exists.
 

Regards,
Bryan Drewery
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: pkg upgrade - Nothing to do

2012-11-11 Thread Julien Laffaye

On 11/11/2012 12:26 PM, Alex Keda wrote:

HP# uname -a
FreeBSD HP.lissyara.su 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Jan  6
17:33:37 MSK 2012
lissy...@hp.lissyara.su:/usr/obj/usr/src/sys/GENERIC  amd64

HP# grep -v ^# /usr/local/etc/pkg.conf
packagesite: http://pkgbeta.FreeBSD.org/freebsd:9:x86:64/latest


HP# pkg upgrade
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
Nothing to do

HP# pkg version -v | grep -v up-to-date
apache-ant-1.8.3_1needs updating (port has 1.8.4)
ca_root_nss-3.13.6needs updating (port has 3.14)
... more than 20 lines skipped
thunderbird-i18n-16.0.1   needs updating (port has 16.0.2)
xf86-input-mouse-1.7.1needs updating (port has 1.7.1_1)
xterm-284 needs updating (port has 286)
HP#

==
how I can upgrade software, using pkg?


The repository is not up-to-date.
pkg version compares against the local ports tree.
You can 1) Wait till the repository is updated if you want binary 
upgrades 2) Compile your ports like you would have done without pkgng 
(with the ports tree and your tools configured to use pkgng of course).




+++
and, some DNS problem, with hosts described in pkg.conf
HP# host pkg.FreeBSD.org
HP#
HP# host pkg.FreeBSD.org 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:

HP#

pkgng does not use the A record of the DNS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: pkg upgrade - Nothing to do

2012-11-11 Thread Alex Keda
On 11.11.2012 15:58, Julien Laffaye wrote:
 On 11/11/2012 12:26 PM, Alex Keda wrote:
 HP# uname -a
 FreeBSD HP.lissyara.su 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Jan  6
 17:33:37 MSK 2012
 lissy...@hp.lissyara.su:/usr/obj/usr/src/sys/GENERIC  amd64

 HP# grep -v ^# /usr/local/etc/pkg.conf
 packagesite: http://pkgbeta.FreeBSD.org/freebsd:9:x86:64/latest


 HP# pkg upgrade
 Updating repository catalogue
 Repository catalogue is up-to-date, no need to fetch fresh copy
 Nothing to do

 HP# pkg version -v | grep -v up-to-date
 apache-ant-1.8.3_1needs updating (port has 1.8.4)
 ca_root_nss-3.13.6needs updating (port has 3.14)
 ... more than 20 lines skipped
 thunderbird-i18n-16.0.1   needs updating (port has 16.0.2)
 xf86-input-mouse-1.7.1needs updating (port has 1.7.1_1)
 xterm-284 needs updating (port has 286)
 HP#

 ==
 how I can upgrade software, using pkg?
 
 The repository is not up-to-date.
 pkg version compares against the local ports tree.
 You can 1) Wait till the repository is updated if you want binary
 upgrades 
what period between repository updates?
last modifications files/directoris in
http://pkgbeta.FreeBSD.org/freebsd:9:x86:64/latest
~1 month ago...

it's too long.
many bugfixes, security fixes commited into ports tree...
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: pkg upgrade - Nothing to do

2012-11-11 Thread Chris Rees
On 11/11/2012, Alex Keda ad...@lissyara.su wrote:
 On 11.11.2012 15:58, Julien Laffaye wrote:
 On 11/11/2012 12:26 PM, Alex Keda wrote:
 HP# uname -a
 FreeBSD HP.lissyara.su 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Jan  6
 17:33:37 MSK 2012
 lissy...@hp.lissyara.su:/usr/obj/usr/src/sys/GENERIC  amd64

 HP# grep -v ^# /usr/local/etc/pkg.conf
 packagesite: http://pkgbeta.FreeBSD.org/freebsd:9:x86:64/latest


 HP# pkg upgrade
 Updating repository catalogue
 Repository catalogue is up-to-date, no need to fetch fresh copy
 Nothing to do

 HP# pkg version -v | grep -v up-to-date
 apache-ant-1.8.3_1needs updating (port has 1.8.4)
 ca_root_nss-3.13.6needs updating (port has 3.14)
 ... more than 20 lines skipped
 thunderbird-i18n-16.0.1   needs updating (port has 16.0.2)
 xf86-input-mouse-1.7.1needs updating (port has 1.7.1_1)
 xterm-284 needs updating (port has 286)
 HP#

 ==
 how I can upgrade software, using pkg?

 The repository is not up-to-date.
 pkg version compares against the local ports tree.
 You can 1) Wait till the repository is updated if you want binary
 upgrades
 what period between repository updates?
 last modifications files/directoris in
 http://pkgbeta.FreeBSD.org/freebsd:9:x86:64/latest
 ~1 month ago...

 it's too long.
 many bugfixes, security fixes commited into ports tree...

This is still a beta, so I'm afraid you'll have to bear with us.
Building a package set takes several days with extremely powerful
machines (this is for one architecture, one FreeBSD version).

Once pkgng becomes the main target for package builds, you will have
your security fixes on time.  Until then, you will have to build from
ports.

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org