From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 12:40:50 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83D276F7 for ; Fri, 19 Dec 2014 12:40:50 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C64B2F12 for ; Fri, 19 Dec 2014 12:40:49 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-58.adsl.hiwaay.net [216.180.19.58]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id sBJCegah001786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 19 Dec 2014 06:40:43 -0600 Message-ID: <54941E41.3040807@hiwaay.net> Date: Fri, 19 Dec 2014 06:46:57 -0600 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 CC: FreeBSD Questions Subject: Re: pkg versions don't match References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2014 12:40:50 -0000 On 12/19/14 03:53, Alejandro Imass wrote: > On Fri, Dec 19, 2014 at 4:14 AM, Alberto Mijares > wrote: > > [...] > > >> Try this: >> >> # pkg -f update >> >> and then try to install fail2ban again. >> >> >> > Alberto, thanks for the tip but -f says illegal option looked in man and it > does not exist. This is a fresh 10.0-RELEASE install so it came with pkg > preinstalled and no need for pkg2ng AFAICR. Anyway it was working just fine > but it seems the versions in remote do not match the versions in my local > pkgng database, even though it says is all up to date! > > root@poseidon:/etc/pkg # pkg update > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > root@poseidon:/etc/pkg # pkg install py27-fail2ban > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > The following 6 packages will be affected (of 0 checked): > > New packages to be INSTALLED: > py27-fail2ban: 0.9.0_2 > python27: 2.7.8_4 > python2: 2_3 > py27-setuptools27: 5.5.1 > py27-sqlite3: 2.7.8_5 > sqlite3: 3.8.6 > > The process will require 68 MB more space. > 10 MB to be downloaded. > > Proceed with this action? [y/N]: y > pkg: > http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/All/py27-fail2ban-0.9.0_2.txz: > Not Found > > Best, > make that 'pkg update -f' instead .... most options are specific to the command & occur after it .... $0.02 .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.