pkg upgrade does not?

Frank Steinborn steinex at nognu.de
Mon Apr 17 20:50:34 UTC 2017


James B. Byrne via freebsd-questions <freebsd-questions at freebsd.org> wrote:
> # pkg update
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> 
> # pkg upgrade
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> Checking for upgrades (169 candidates): 100%
> Processing candidates (169 candidates): 100%
> Checking integrity... done (0 conflicting)
> Your packages are up to date.
> 
> But evidently "Your packages are up to date." is not a factual statement:

Hi James,

FreeBSD started doing "quarterly" ports-releases, and pkg per default
uses these. Have a look at /etc/pkg/FreeBSD.conf.

These ports-branches only receive security-fixes and will not change
otherwise for 3 months.

> 
> 
> # pkg version -vIL=
> atk-2.18.0                         <   needs updating (index has 2.24.0)
> bind911-9.11.0P5_1                 >   succeeds index (index has
> 9.11.0P3)
> ca_root_nss-3.30.1                 >   succeeds index (index has 3.30)
> dbus-1.10.14_2                     <   needs updating (index has 1.10.16)
> dbus-glib-0.104                    <   needs updating (index has 0.108)
> desktop-file-utils-0.22_4          <   needs updating (index has 0.23)
> glib-2.46.2_5                      <   needs updating (index has
> 2.50.2,1)
> gobject-introspection-1.46.0       <   needs updating (index has
> 1.50.0,1)
> gtk2-2.24.29_3                     <   needs updating (index has 2.24.31)
> libedit-3.1.20150325_2,1           <   needs updating (index has
> 3.1.20170329_2,1)
> llvm37-3.7.1_5                     ?   orphaned: devel/llvm37
> mysql56-client-5.6.35_3            <   needs updating (index has
> 5.6.35_4)
> pango-1.38.0_1                     <   needs updating (index has 1.40.4)
> perl5-5.24.1                       <   needs updating (index has
> 5.24.1_1)
> shared-mime-info-1.5               <   needs updating (index has 1.8)
> vim-8.0.0507                       <   needs updating (index has
> 8.0.0534)
> wget-1.19                          <   needs updating (index has 1.19.1)

You are probably have a HEAD /usr/ports checkout, not the 2017Q2-branch
pkg is using. To checkout the 2017Q2-branch to /usr/ports, you could
use:

# svn checkout https://svn.freebsd.org/ports/branches/2017Q2/ /usr/ports

Hope this helps.

Cheers,
Frank



More information about the freebsd-questions mailing list