Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2018 17:26:17 -0700
From:      David Newman <dnewman@networktest.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Amavisd-new has disappeared from PKG repository?
Message-ID:  <d197a317-9929-3e29-a36f-4bd230d127f4@networktest.com>
In-Reply-To: <CAJNJjW9vEjiQnoKey=f6=-dB_ww8JpxNnQ1xsD99BX2WtV8QAw@mail.gmail.com>
References:  <CAJNJjW9Y27su4n6jVumJwCHpABN_LkO57WMWjm2oQL-cbR46SQ@mail.gmail.com> <a84a6ca2-e586-9dff-50de-36ad45927da6@networktest.com> <CAJNJjW9vEjiQnoKey=f6=-dB_ww8JpxNnQ1xsD99BX2WtV8QAw@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 9/9/18 4:40 PM, Plugmusc wrote:

> This is very strange. I have multiple servers and non are able to find =
the
> package:
>=20
> # pkg search amavis
>=20
> amavis-logwatch-1.51.03_1      Amavisd-new log parser
>=20
> amavis-stats-0.1.12_5          Simple AMaViS statistics generator based=
 on
> rrdtool
>=20
>=20
> I've done pkg upgrade -f. The servers are all in Hong Kong.
>=20
>=20
> Does anyone have any ideas?

This is just conjecture, and possibly wrong, but it could be some issue
with either DNS resolution and/or contents of the repository checked by
'pkg search <pkg name>'.

To test this you could try pointing to a different repository.

Example: My FreeBSD.conf file points to pkg.freebsd.org. From my
location in California, pkg.freebsd.org resolves to
pkg0.isc.freebsd.org, which has an IPv4 address of 149.20.1.201.

Just for testing (this is a very bad idea in production), I hard-coded
that IPv4 address in my FreeBSD.conf file:

FreeBSD: {
  #url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  url: "pkg+http://149.20.1.201/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

Then re-ran 'pkg update' and ran 'pkg search -r FreeBSD amavis'. Note
that the results include amavisd-new:

amavis-logwatch-1.51.03_1      Amavisd-new log parser
amavis-stats-0.1.12_5          Simple AMaViS statistics generator based
on rrdtool
amavisd-milter-1.6.0_5         Milter for amavisd-new
amavisd-new-2.11.0_3,1         Mail scanner interface between mailer and
content checkers

dn














Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?d197a317-9929-3e29-a36f-4bd230d127f4>