I have two repositories: ftp and local. Ftp does not have all the packages and there is no way to download the missing ones. For this, a local repository was added. When installing pkg packages, strange things happen. The installer wants to install packages that are in ftp from the local, but they are not there. With ftp a similar problem. It doesn't seem to check if the package is in the given repository or not. How is it fixed?