Discussion:
Problems with pkg
(too old to reply)
Doug Hardie
2016-07-21 06:32:06 UTC
Permalink
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 ***@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?

— Doug
maxnix
2016-07-21 09:01:06 UTC
Permalink
Il giorno Wed, 20 Jul 2016 23:32:06 -0700
Post by Doug Hardie
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
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
21260 packages updated, 2245 removed and 3882 added.
pkg: Unable to find catalogs
Backup# pkg install postfix
Updating repository catalogue
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
Not Found Backup#
I don't have this on other 9.3 systems. How do I get around this?
— Doug
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
Try forcing an update of the repositories with:

# pkg update -f

and then try the installation again.
Doug Hardie
2016-07-21 09:05:37 UTC
Permalink
Post by maxnix
Il giorno Wed, 20 Jul 2016 23:32:06 -0700
Post by Doug Hardie
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
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
21260 packages updated, 2245 removed and 3882 added.
pkg: Unable to find catalogs
Backup# pkg install postfix
Updating repository catalogue
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
Not Found Backup#
I don't have this on other 9.3 systems. How do I get around this?
# pkg update -f
and then try the installation again.
Exactly the same output as before.
maxnix
2016-07-21 11:16:35 UTC
Permalink
Il giorno Thu, 21 Jul 2016 02:05:37 -0700
Post by Doug Hardie
Post by maxnix
Il giorno Wed, 20 Jul 2016 23:32:06 -0700
Post by Doug Hardie
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
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
21260 packages updated, 2245 removed and 3882 added.
pkg: Unable to find catalogs
Backup# pkg install postfix
Updating repository catalogue
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
Not Found Backup#
I don't have this on other 9.3 systems. How do I get around this?
# 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.
Doug Hardie
2016-07-21 22:37:24 UTC
Permalink
Post by maxnix
Il giorno Thu, 21 Jul 2016 02:05:37 -0700
Post by Doug Hardie
Post by maxnix
Il giorno Wed, 20 Jul 2016 23:32:06 -0700
Post by Doug Hardie
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
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
21260 packages updated, 2245 removed and 3882 added.
pkg: Unable to find catalogs
Backup# pkg install postfix
Updating repository catalogue
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
Not Found Backup#
I don't have this on other 9.3 systems. How do I get around this?
# 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.
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.




— Doug

Loading...