Problems with pkg

maxnix maxnix.bsd at gmail.com
Thu Jul 21 11:16:44 UTC 2016


Il giorno Thu, 21 Jul 2016 02:05:37 -0700
Doug Hardie <doug at mail.sermon-archive.info> ha scritto:

> > On 21 July 2016, at 02:01, maxnix <maxnix.bsd at gmail.com> wrote:
> > 
> > Il giorno Wed, 20 Jul 2016 23:32:06 -0700
> > Doug Hardie <doug at mail.sermon-archive.info> ha scritto:
> >   
> >> 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.
> >> 
> >> Backup% uname -a
> >> FreeBSD Backup 9.3-RELEASE-p43 FreeBSD 9.3-RELEASE-p43 #0: Sat May
> >> 28 00:19:32 UTC 2016
> >> root at 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
> >> 
> >> 
> >> At this point I tried it again and got:
> >> 
> >> 
> >> Backup# pkg install postfix
> >> Updating repository catalogue
> >> The following 1 packages will be installed:
> >> 
> >> 	Installing postfix: 2.11.1_1,1
> >> 
> >> The installation will require 13 MB more space
> >> 
> >> 1 MB to be downloaded
> >> 
> >> 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# 
> >> 
> >> 
> >> I don't have this on other 9.3 systems.  How do I get around this?
> >>   
> > 
> > Try forcing an update of the repositories with:
> > 
> > # pkg update -f
> > 
> > and then try the installation again.  
> 
> Exactly the same output as before.
> 
> 

Pheraps you are using an old version of pkg? If so, install the latest
from ports. This should solve the problem.


More information about the freebsd-questions mailing list