Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2015 08:50:18 +0100
From:      Zsolt Udvari <udvzsolt@gmail.com>
To:        Leslie Jensen <leslie@eskk.nu>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: pkg upgrade question
Message-ID:  <CADtCJqrMK_iJW9QqCCEV=sW3ay+ZaQpCkGmxLRNp1jBMKOajmQ@mail.gmail.com>
In-Reply-To: <54A8ED8C.8020404@eskk.nu>
References:  <54A8ED8C.8020404@eskk.nu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
The ports tree and the package repository aren't equal, the ports tree is
the newer. The packages will build from ports tree on every Wednesday.

If you run "pkg upgrade" it will check the package repository, the "pkg
version" compares your installed versions and ports tree - this is the
reason of difference.
If you don't care about ports tree only the repository, please use "pkg
version -R". Check "man pkg-version" for documentation :)

Zsolt


2015-01-04 8:36 GMT+01:00 Leslie Jensen <leslie@eskk.nu>:

>
> If I do
>
> portsnap fetch update
> pkg version -vIL=
>
> I'll get the result below for ports that needs to be upgraded
>
> Building new INDEX files... done.
> cups-client-1.7.3_2                <   needs updating (index has 1.7.3_3)
> gnutls-3.2.19_1                    <   needs updating (index has 3.2.21)
> libgcrypt-1.6.1_5                  <   needs updating (index has 1.6.2)
> noip-2.1.9_2                       <   needs updating (index has 2.1.9_3)
> pkg-1.4.3                          <   needs updating (index has 1.4.4)
> squidview-0.80                     <   needs updating (index has 0.81)
>
> If I do
> pkg version
>
> I'll see the same packages marked with a <
>
> Then I do
> pkg upgrade
>
>
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> Checking for upgrades (1 candidates): 100%
> Processing candidates (1 candidates): 100%
> Checking integrity... done (0 conflicting)
> Your packages are up to date.
>
> And it says that all packages are up to date!
>
> Is it because no packages are available for those ports at the moment?
>
> I'm a bit confused.
>
> Thanks
>
> /Leslie
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CADtCJqrMK_iJW9QqCCEV=sW3ay+ZaQpCkGmxLRNp1jBMKOajmQ>