Pkg updating repository catalogue no valid repository found
It wastes only about 300 MB of space, but more importantly consists of almost 170.000 files (watch your inodes on embedded devices! If you plan to become a ports developer, you will probably want to use Subversion for tools like You normally shouldn’t need these but it’s good to know that they exist. Be sure that /usr/ports is empty (including for Subversion’s dot directories) or Subversion will see that there’s already something there and won’t do the checkout.
If for example you want the ports tree as it existed in 2016Q4, you can retrieve it like this: Keep in mind though that using old trees is risky because they contain program versions with vulnerabilities that have since been found!
pkg: file:///usr/ports/packages/meta.txz: No such file or directory repository local has no meta file, using default settings pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory Unable to update repository local [[email protected]] ~# pkg upgrade Updating local repository catalogue...
pkg: file:///usr/ports/packages/meta.txz: No such file or directory repository local has no meta file, using default settings pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory Unable to update repository local All repositories are up-to-date.
And there’s a little more to it: Sometimes the name of a port and a package differ! When discussing package management I recommended Fresh Ports and when working with ports it can be useful, too.
I usually don’t do that because on systems that use binary packages only. This is more flexible: With portsnap you always get the current tree while Subversion also allows you to checkout older revisions, too.Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange [[email protected]] ~# pkg update Updating local repository catalogue...The important information when identifying a port is the category and the name.Together those form what is known as the port origin ( This does however only work if you know the exact name of the port. It’s a package called , though (or whatever the default Python 3.x version is at that time)!
The heart of it is one file that basically is a recipe if you will.