pkg versions don't match
Alberto Mijares
amijaresp at gmail.com
Fri Dec 19 09:14:58 UTC 2014
Hi Alejandro,
On Thu, Dec 18, 2014 at 11:54 PM, Alejandro Imass <aimass at yabarana.com> wrote:
> Hi,
>
> I am new to pkg and using a relatively recently installed 10.0-RELEASE.
> Today I tried installing and upgrading stuff and the pkg versions on
> http://pkg.freebsd.org differ from those that pkg finds.
>
> I tried pkg update, etc. but everything says up to date. nevertheless the
> versions in:
>
> http://pkg.freebsd.org/freebsd:10:x86:64/latest/All/
>
> Do not match. Look at this example:
>
> root at poseidon:/etc/pkg # pkg search fail2ban
> py27-fail2ban-0.9.0_2
>
> root at 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
>
> In effect the correct version should be py27-fail2ban-0.9.1.txz
Try this:
# pkg -f update
and then try to install fail2ban again.
>
> How to I update the local pkg db? I updated ports collections thinking they
> were somehow related but nothing. I don't know what else to do.
>
> Thanks for any pointers.
>
Before using pkg, had you used another package manager? (pkg_add,
ports). If so, you should run
# pkg2ng
before attempt to install anything with pkgng.
Hope this helps.
Best regards,
Alberto Mijares
More information about the freebsd-questions
mailing list