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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms090104040608050306010507 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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/up= date 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 pla= ce. > > Are you using binary packages, or are you just installing things from t= he ports tree? Ports only. However, recently converted the package database because=20 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 "portm= aster -aD" (meaning "install all upgrades and clean up all downloaded fil= es afterwords"), though I don't think portmaster is installed by default.= The handbook tells you that this command shows outdated ports (" Then,=20 run this command to get a listing of the ports which are older than the=20 currently available version:") and after that the handbook tells you to=20 use either portmaster or portupgrade to actually upgrade them. I manage a few systems with only two or three extra ports installed, on=20 those we (as in, me and my team) usually just upgrade those ports=20 manually instead of with portmaster. I don't even know if portmaster is=20 installed there. > > Maybe I'm missing something, but I just don't see why you would use thi= s "pkg_version" method as opposed to the proper functions for upgrading. = To me, it sounds like that method may have been originally used before th= ese functions became available. Then updating the handbook to include "the proper functions for=20 upgrading" would also be a good idea, instead of just changing this comma= nd. > > --Matt --------------ms090104040608050306010507 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME-cryptografische ondertekening MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKMzCC BREwggP5oAMCAQICEEHqw4p2hryPGbRxDfQG0+swDQYJKoZIhvcNAQEFBQAwgZMxCzAJBgNV BAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQx GjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMTkwNwYDVQQDEzBDT01PRE8gQ2xpZW50IEF1 dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0EwHhcNMTMxMjA2MDAwMDAwWhcNMTYx MjA1MjM1OTU5WjBEMQswCQYDVQQGEwJOTDEWMBQGA1UEAxMNUmVteSB2YW4gRWxzdDEdMBsG CSqGSIb3DQEJARYOcmVsc3RAcmVsc3QubmwwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK AoIBAQC8C8VaRywEpaXWbf4fvFXKdARuHMNwUA7LSLxgpnSSwMu8JoelWfL1gG4BgWUJiLD1 3kSAlT6rUh0xworqIUlYeYTBvrfK0UFyCdlcoteRZwifYnK/VD47SL/wBw7VBLan+3qrsSWf iUhXG9cStr+8tDAPklAXiZU42wK71zdTkibH2JhplQgurq1rrNXBtACapFANVFO2TFnLVAt4 RcFWZRC7IrWhM3pi+ttYiBZwbsUpy4CzStuxobCYNKMCYA+HHy9JdX1FoPI9SBksKTsaPk9m lKffpf2pXo7bVm4oB1Lh/hfGXOztAWA4n0IYSaJWUFQMACr8IyNNxBpSpifFAgMBAAGjggGt MIIBqTAfBgNVHSMEGDAWgBR6E04AdFvGeGNkJ8Ev4qBbvHnFezAdBgNVHQ4EFgQUcBmD/57E Z5498N6abnPmgF9l2McwDgYDVR0PAQH/BAQD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QYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAO BgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMTkwNwYDVQQDEzBD T01PRE8gQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEEHqw4p2 hryPGbRxDfQG0+swgbsGCyqGSIb3DQEJEAILMYGroIGoMIGTMQswCQYDVQQGEwJHQjEbMBkG A1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFD T01PRE8gQ0EgTGltaXRlZDE5MDcGA1UEAxMwQ09NT0RPIENsaWVudCBBdXRoZW50aWNhdGlv biBhbmQgU2VjdXJlIEVtYWlsIENBAhBB6sOKdoa8jxm0cQ30BtPrMA0GCSqGSIb3DQEBAQUA BIIBAHH4WU3R37Vbzk3tYcaH3cYDxRLt7ym9YZuL6nLvFlR/dmhcUjK3CfHk1CZJtRUnvufi LibbSoNtfOAXi0HTEaQKPaOn8KVreSDrv735m5lxfbxqYZXproCQF+MlrjvTyCkNWJiQXvfJ KFe6HoxOpNPYLybKyHQ5UQKsbdsZjZ//VLLijMmTJN0V9MTKmb8kR9Ylgotq6usl0diSkGaQ rcxNFK9OD3TgfuTysQpkGzBmSDbOyY+nIu4bRhoU65MSM/EPMiMuXrPi0hHy1okzZdsVNR49 d6FsOYxYsjCDHHeo/Gl/lOAzUSnrYcZ77F9AWCOgzfv7s9zsTbSZROd+5CkAAAAAAAA= --------------ms090104040608050306010507--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534565E9.8080109>