From owner-freebsd-questions@freebsd.org Wed Sep 7 22:56:05 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71304BD0C2C for ; Wed, 7 Sep 2016 22:56:05 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36D8D786 for ; Wed, 7 Sep 2016 22:56:05 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id e124so225127447ith.0 for ; Wed, 07 Sep 2016 15:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xBkIs3BRu41TO14afBbhzb/v/CnttzUI1sUZ0rqF5Ww=; b=urqMKjHK+ZfsSLHgWEpdHay1aYELLzIemxid9/Ds4HSeyUxcNOcwwf8bRBimJHl4Cx zDNTZM46LTOmbMocaSKgzZz0yBNOY73lTYDayXbN76OKuBgd5YhPb3SNB9bxeHgMjzvh 7QrPdV9sAqx0pmXYOPwONrincrMig9k4Ahc9BYnnAjT1KLVjFOJZvRgQU8ydTDDIbQ6O g/WvH/mQY9aLs0mwVsyuLU1fMCSD35roEyXW/6pdIfYlawUho0UwYxtFyAy04jpwmKmS BQXFlMsU+60WKe0HWB4+9w4fTOKg+pb5aKt0f5pooGPY/m1eKjMz/r/GBF7+xj/gGLOb REDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xBkIs3BRu41TO14afBbhzb/v/CnttzUI1sUZ0rqF5Ww=; b=MG2sfDZn5gIle7hTizUW+E2Qn7iw9XiqgQ86GTnNwwkT2wIlOmpdyG+MJTmQX0r6uw /Yl/mEHUq9BFjLl8lufESxTx+CxZLbpAoEiWWEpJTqKJnPyF3inuCx03OzWYaD574SGw KlKGYFQ5Ma1ajrrlHXDLjE9Oxt+ZieSvA/AgauLhq3RtmQD3XMexFw0pc7SwqZuus7t5 Ro6/yoMCJlv6mFfZUzYAtud6eTJcJm23XP+bdgnlxhD6ymKYXpO7ZRuWek8rpgfChKRD hhCVdUBjuLkr5xKH9whZG6K7qBINnv/5SbgScT0qXc7/x69dukPpLduvuhhVAsbd6UjA /X7g== X-Gm-Message-State: AE9vXwN8DFXNmpV2/X2p+3zFkK3M3qfwwFwDnnX+stR3ifcI5OJQTCbzeRrA22+aecbknsxKN/A7HC9hBy63Dw== X-Received: by 10.36.144.68 with SMTP id x65mr10071368itd.70.1473288964540; Wed, 07 Sep 2016 15:56:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.26.3 with HTTP; Wed, 7 Sep 2016 15:56:04 -0700 (PDT) In-Reply-To: References: From: Ben Woods Date: Thu, 8 Sep 2016 06:56:04 +0800 Message-ID: Subject: Re: Different pkg upgrade behavior on different machines To: David Newman Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2016 22:56:05 -0000 On Thursday, 8 September 2016, David Newman wrote: > Greetings. How to get pkg to upgrade a package with a security > vulnerability? > > I have four identical virtual machines, all running 10.3-RELEASE and > bind910 installed using pkg and not ports. The 'pkg audit' command > reports a vulnerability in bind910-9.10.4P2. > > One of the four machines successfully upgrades to bind910-9.10.4P2_1 > using the commands 'sudo pkg update && sudo pkg upgrade bind910'. > > The other three machines report all repositories and packages are up to > date. > > This behavior has existed for at least a couple of weeks, so I don't > think it's a repository sync issue. > > Thanks in advance for advice on getting the updated pkg on all four VMs. > > dn > Strange behavior indeed! Can you provide the output of these commands for troubleshooting? Please provide for the box that works ok, and for one of the boxes that doesn't. cat /etc/pkg/FreeBSD.conf cat /usr/local/etc/pkg/repos/* cat /usr/local/etc/pkg.conf pkg info bind910 pkg audit -F Regards, Ben -- -- From: Benjamin Woods woodsb02@gmail.com