Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2015 16:36:16 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Dave Horsfall <dave@horsfall.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: fail2ban fails to build (fwd)
Message-ID:  <563847D0.9000203@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.11.1511031537570.74705@aneurin.horsfall.org>
References:  <alpine.BSF.2.11.1511031108390.66640@aneurin.horsfall.org> <563821FD.1070209@FreeBSD.org> <alpine.BSF.2.11.1511031402430.66640@aneurin.horsfall.org> <563827B2.6030601@FreeBSD.org> <alpine.BSF.2.11.1511031537570.74705@aneurin.horsfall.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/11/2015 3:53 PM, Dave Horsfall wrote:
> On Tue, 3 Nov 2015, Kubilay Kocak wrote:
> 
>> Have you tried deleting pkg, making sure you're grabbing the latest 
>> packages, and reinstalling pkg?
>>
>> a) pkg should not be segfaulting
>> b) if you're not on the latest pkg version, the bug could have already
>> been fixed
> 
> OK, I did a bit more digging, and found that during one of my more 
> desperate i.e. less lucid moments I had renamed /var/db/pkg to .../pkg.old 
> in an attempt to load all of ports again, which I now remember was failing 
> because of a FreeBSD version mismatch[*].  Looks like pkg got upset and 
> crashed...
> 
> Anyway, here's what you wanted (after I renamed it back):
> 
> pkg-1.5.3                          >   succeeds port (port has 1.2.7)
> 
> So yeah, I'm outta date, so I have some work to do...

Definitely. What's not better is what you have installed is later than
what pkg thinks there is (db mismatch or out of sync)

> [*]
> Because this is a binary-only system (as supplied to me), the script to 
> bump the patch level is not present, but it gets incremented on a kernel 
> update, thus we have:
> 
>     aneurin# uname -r
>     9.3-RELEASE-p21

What script, freebsd-update?

> but I know it's at p29 because I faithfully track all updates.

How are you tracking them?

> No matter what mirror or technique (FTP/HTTP) was used to load "ports" I 
> get something like "not found on this server" or something, so I gave up; 
> it was looking for -p21 but only say -p25 was available.
> 
> Does that make sense?

Kinda/Mostly :)

When you say "load ports", what do you mean and what method exactly are
you using to do it?

You said earlier you're using binary packages only, but here you say
ports. Are we using these terms interchangeably here? If so, cool, if
not, confusing :)

I'm not sure whether or to what extent your potential system
(mis?)configuration is contributing to these "not found on this server"
errors. What exactly is showing you this error?

./koobs





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?563847D0.9000203>