Home arrow Debugging Tips arrow Error: pkg: Unable to find catalogs
Error: pkg: Unable to find catalogs PDF
Saturday, 30 January 2016
If you get the following error when you try to update pkg: 

# pkg update
# pkg update
Updating repository catalogue
digests.txz                                                                                                                                           100% 2111KB 150.8KB/s 141.5KB/s   00:14
packagesite.txz                                                                                                                                       100% 5446KB 170.2KB/s 275.6KB/s   00:32
pkg: package field incomplete: comment
Incremental update completed, 24860 packages processed:
0 packages updated, 0 removed and 24860 added.
pkg: Unable to find catalogs

 or:


# pkg upgrade
# pkg upgrade
Updating repository catalogue
digests.txz                                                                                                                                           100% 2111KB 301.6KB/s 651.5KB/s   00:07
packagesite.txz                                                                                                                                       100% 5446KB 320.3KB/s 585.6KB/s   00:17
pkg: package field incomplete: comment
Incremental update completed, 24860 packages processed:
0 packages updated, 0 removed and 24860 added.
pkg: Unable to find catalogs

 then probably you have an older version of pkg and pkg update will not work. To solve the problem we will install a newer version of pkg from ports and then we will try again.


# portsnap fetch extract
# cd
# make deinstall; make reinstall
# pkg update

 



Last Updated ( Saturday, 30 January 2016 )
 
Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?