Date: Thu, 21 Jul 2016 15:37:24 -0700 From: Doug Hardie <doug@remotesupportservicesllc.com> To: maxnix <maxnix.bsd@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Problems with pkg Message-ID: <F1412ABF-8650-4D29-92B7-3B311C334E46@remotesupportservicesllc.com> In-Reply-To: <20160721131635.5b2f4244@max-BSD> References: <4063D44B-1F87-4C9C-86CA-7F0869327B46@mail.sermon-archive.info> <20160721110106.30de19fa@max-BSD> <8098910D-816B-44F9-A66F-8B28CB3A30F8@mail.sermon-archive.info> <20160721131635.5b2f4244@max-BSD>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 21 July 2016, at 04:16, maxnix <maxnix.bsd@gmail.com> wrote: >=20 > Il giorno Thu, 21 Jul 2016 02:05:37 -0700 > Doug Hardie <doug@mail.sermon-archive.info> ha scritto: >=20 >>> On 21 July 2016, at 02:01, maxnix <maxnix.bsd@gmail.com> wrote: >>>=20 >>> Il giorno Wed, 20 Jul 2016 23:32:06 -0700 >>> Doug Hardie <doug@mail.sermon-archive.info> ha scritto: >>>=20 >>>> I have a recently installed 9.3 system that has been upgraded to >>>> the latest patches available with freebsd-update. I tried to >>>> install postfix using pkg and here are the initial results. >>>>=20 >>>> Backup% uname -a >>>> FreeBSD Backup 9.3-RELEASE-p43 FreeBSD 9.3-RELEASE-p43 #0: Sat May >>>> 28 00:19:32 UTC 2016 >>>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >>>> amd64 Backup% su Password: Backup# pkg install postfix >>>> Updating repository catalogue >>>> digests.txz 100% 2137KB 2.1MB/s 1.4MB/s >>>> 00:01 packagesite.txz 100% 5592KB 2.7MB/s >>>> 2.0MB/s 00:02 pkg: package field incomplete: comment >>>> Incremental update completed, 25142 packages processed: >>>> 21260 packages updated, 2245 removed and 3882 added. >>>> pkg: Unable to find catalogs >>>>=20 >>>>=20 >>>> At this point I tried it again and got: >>>>=20 >>>>=20 >>>> Backup# pkg install postfix >>>> Updating repository catalogue >>>> The following 1 packages will be installed: >>>>=20 >>>> Installing postfix: 2.11.1_1,1 >>>>=20 >>>> The installation will require 13 MB more space >>>>=20 >>>> 1 MB to be downloaded >>>>=20 >>>> Proceed with installing packages [y/N]: y >>>> pkg: >>>> = http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/All/postfix-2.11.1_1,1.txz:= >>>> Not Found Backup#=20 >>>>=20 >>>>=20 >>>> I don't have this on other 9.3 systems. How do I get around this? >>>>=20 >>>=20 >>> Try forcing an update of the repositories with: >>>=20 >>> # pkg update -f >>>=20 >>> and then try the installation again. =20 >>=20 >> Exactly the same output as before. >>=20 >>=20 >=20 > Pheraps you are using an old version of pkg? If so, install the latest > from ports. This should solve the problem. Apparently 9.3 doesn't update pkg using pkg. Building from ports takes = a long time over a slow internet connection, but eventually it did work. = I ended up having to rebuild the ports database once again. Don't = quite know why. Thanks for the suggestion. =E2=80=94 Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F1412ABF-8650-4D29-92B7-3B311C334E46>