Pkg upgrade updating repository catalogue

The situation I have described exists since pkgng was released, since at least 2012.

Conversion has been successfully finished Your old packages database has been moved to: /var/db/ Even if we compile our software using the ports collection, the last stage before install is to create a package for the software.

# pkg upgrade sendmail Updating Free BSD repository catalogue... BSTNMA-VFTTP-304.(100.0.193.1) 0.873 ms 4.060 ms 1.295 ms 2 B3304. 212.2, 20::184 Connecting to ftp7.(ftp7.freebsd.org)|212.2|:21... I can't get the sendmail port's distribution files, and there isn't a package available, so at the moment I'm in a # wget 200 OK Length: 2207417 (2.1M) [application/octet-stream] Saving to: ‘sendmail.8.15.2gz’ sendmail.8.15.2gz 100%[====================================================================================================================================== You can change the server ports uses with an variable.

pkg: sendmail is not installed, therefore upgrade is impossible Checking integrity... # tcptraceroute ftp7.Selected device re0, address 100.0.193.99, port 47109 for outgoing packets Tracing the path to ftp7.(212.2) on TCP port 80 (http), 30 hops max 1 lo0-100. NET (140.222.231.129) 13.909 ms 13.042 ms 16.170 ms 6 customer.customer.(157.1) 12.101 ms 13.999 ms 14.463 ms 7 nyk-bb2-link.(62.115.134.109) 12.736 ms 12.905 ms 10.899 ms 8 ldn-bb2-link.(213.155.133.6) 87.360 ms 90.585 ms 88.851 ms 9 ldn-b3-link.(62.115.137.197) 87.316 ms 86.608 ms 85.195 ms 10 jisc-ic-318433-ldn-b3.c.(62.115.148.159) 80.234 ms 81.564 ms 81.709 ms 11 ae29.londpg-sbr2net (1.2) 82.335 ms 80.600 ms 81.831 ms 12 ae30.londtw-sbr2net (1.6) 81.793 ms 80.232 ms 82.312 ms 13 kpsn.londtw-sbr2net (1.86) 82.862 ms 82.107 ms 82.119 ms 14 212.219.171.222 83.104 ms 85.585 ms 88.442 ms 15 [open] 85.161 ms 83.739 ms 85.358 ms 100K Aug 21 Dreamer kernel: ipfw: 56599 Deny TCP 1.049 100.0.193.28 in via re0 Aug 21 Dreamer kernel: ipfw: 56599 Deny TCP 93.924 100.0.193.10 in via re0 Aug 21 Dreamer last message repeated 2 times Aug 21 Dreamer kernel: ipfw: 299 Deny TCP 100.0.193.489 212. out via re0 Aug 21 Dreamer kernel: ipfw: 299 Deny TCP 100.0.193.597 212. out via re0 Aug 21 Dreamer kernel: ipfw: 56599 Deny TCP 182.481 100.0.193.1 in via re0 Aug 21 Dreamer kernel: ipfw: 56599 Deny TCP 182.481 100.0.193.1 in via re0 Aug 21 Dreamer kernel: ipfw: 299 Deny TCP 100.0.193.015 212. out via re0 Aug 21 Dreamer kernel: ipfw: 299 Deny TCP 100.0.193.314 209. out via re0 Aug 21 Dreamer kernel: ipfw: 299 Deny TCP 100.0.193.752 212. out via re0 Aug 21 Dreamer kernel: ipfw: 299 Deny TCP 100.0.193.337 212. out via re0 Aug 21 Dreamer kernel: ipfw: 299 Deny TCP 100.0.193.933 209. out via re0 Aug 21 Dreamer kernel: ipfw: 299 Deny TCP 100.0.193.061 212. out via re0 'sendmail.8.15.2gz' Resolving ftp7.(ftp7.freebsd.org)... Connecting to ftp7.(ftp7.freebsd.org)|20::184|:21... Fetching meta.txz: 100% 944 B 0.9k B/s Fetching packagesite.txz: 100% 6 Mi B 5.8MB/s Processing entries: 100% Free BSD repository update completed. Updating database digests format: 100% pkg: No packages available to install matching 'sendmail' have been found in the repositories I've also posted this at https://forums.freebsd.org/threads/57359/ but haven't gotten any usable replies.

At this point though, pkgng has become a much better tool than the pkg_ tools, and while portmaster and portupgrade support registering packages with pkgng, I felt this was a good time to start building local packages for our infrastructure.

The main tools I use are: The ZPOOL value should be the name of the zfs pool created above.

Leave a Reply