Date: Wed, 09 Apr 2014 17:23:21 +0200 From: Remy van Elst <relst@relst.nl> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD Handbook, upgrading ports incorrect with 10.0-RELEASE? Message-ID: <534565E9.8080109@relst.nl> In-Reply-To: <81531653-3582-4101-8F27-F783316D0B54@gmail.com> References: <534520DE.5060005@relst.nl> <81531653-3582-4101-8F27-F783316D0B54@gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Matthew Pherigo schreef op 09/04/14 17:15:
>> On Apr 9, 2014, at 5:28 AM, Remy van Elst <relst@relst.nl> wrote:
>>
>> As I just tried, replacing pkg_version -l "<" with pkg version -l "<" (note the underscore) gives the same result and allows me to recompile/update the ports that are outdated.
>>
>> Maybe this can be added to the handbook? As in, for non-pkgng do this, for pkgng do this. I find my level of knowledge on FreeBSD not enough to submit a patch myself, therefore the mailing list seems good.
>
> Hi Remy,
>
> I'm not sure this is really the correct way to do this in the first place.
>
> Are you using binary packages, or are you just installing things from the ports tree?
Ports only. However, recently converted the package database because
some systems were upgraded to 10.0-RELEASE.
>
> If you're just using binary packages, the best method is "pkg upgrade". If you are using ports, the method most people would use would be "portmaster -aD" (meaning "install all upgrades and clean up all downloaded files afterwords"), though I don't think portmaster is installed by default.
The handbook tells you that this command shows outdated ports (" Then,
run this command to get a listing of the ports which are older than the
currently available version:") and after that the handbook tells you to
use either portmaster or portupgrade to actually upgrade them.
I manage a few systems with only two or three extra ports installed, on
those we (as in, me and my team) usually just upgrade those ports
manually instead of with portmaster. I don't even know if portmaster is
installed there.
>
> Maybe I'm missing something, but I just don't see why you would use this "pkg_version" method as opposed to the proper functions for upgrading. To me, it sounds like that method may have been originally used before these functions became available.
Then updating the handbook to include "the proper functions for
upgrading" would also be a good idea, instead of just changing this command.
>
> --Matt
[-- Attachment #2 --]
0 *H
010 + 0 *H
300AÊvq
0
*H
010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0
131206000000Z
161205235959Z0D10 UNL10U
Remy van Elst10 *H
relst@relst.nl0"0
*H
0
ZG,mUtnpPH`t˼&Yne D>R1!IXyAr \בgbrT>;Hz%HW0P87S&ؘi.k P
TSLYTxEVe"3zbXpn)ˀJ۱4`/Iu}E=H,);>Ofߥ^Vn(R\`8BIVPT *##MR' 00U#0zN t[xcd'/[y{0Upg=ޚns_e0U0U0 0U%0++0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0WUP0N0LJHFhttp://crl.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crl0+|0z0R+0Fhttp://crt.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0
*H
SS~?vgJ$pO.RrRKj6b%vKYxu3Z+3,UC
ZҲyD5;㨡x2YXm%"b9
!u*S <:qFJ'Au۽}|
j&$QJKT)
C-iaL<[VD+<PړVM8OCjH;!̆YTw/WmI00mOj3""2zq0
*H
010 UUS10 UUT10USalt Lake City10U
The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0
110428000000Z
200530104838Z010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0"0
*H
0
[KW^/@ȣSX_fe2N2}UxLUB'qi2@'Vbqi c^`ʢAjHmeC*.+c8w߱ڂ2jgo \5Tq
7
PSlY1 LR@[HhJ$:q_㬿;%qh=XF<hmz!W42~JRrd&N`ohQcB}"cөΞD\[5 K0G0U#0g}ĝ&p KPH|=n}0UzN t[xcd'/[y{0U0U0 0U
00U 0XUQ0O0MKIGhttp://crl.usertrust.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0t+h0f0=+01http://crt.usertrust.com/UTNAddTrustClient_CA.crt0%+0http://ocsp.usertrust.com0
*H
־xWUm3DRB
JAIZҭsn>&|L0(B<%>
u=9fѡMo(ltZڱuz/yVtCr`9 G:eH<=%`I?C
3_н`j;:<I3B)93i.EMiڀ=]|Gm]W0KID~y83:]&XaU!ՙC@B0Ұun100010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAAÊvq
0 + E0 *H
1 *H
0 *H
1
140409152321Z0# *H
1}_`P=rR
stux0l *H
1_0]0 `He*0 `He0
*H
0*H
0
*H
@0+0
*H
(0 +710010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAAÊvq
0*H
1010 UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAAÊvq
0
*H
qYMߵ[MaƇ)arTvh\R2 &I'.&Jm|A
=ky 뿽q}ja鮀%;)
X^(WN/&t9QmTɓ$ʙ$G%j%ؒfMNt~
d0fH6ɏ"F32#.^։3e5=wl9X0wi3Q)a{_@X#MD~)
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534565E9.8080109>
