pkg upgrade - Nothing to do

Julien Laffaye jlaffaye at freebsd.org
Sun Nov 11 11:58:31 UTC 2012


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
> lissyara at 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_1                 <   needs updating (port has 1.8.4)
> ca_root_nss-3.13.6                 <   needs 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.1             <   needs 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


More information about the freebsd-ports mailing list