We have multiple servers each running multiple jails. All servers and jails are running fully updated versions of FreeBSD 12.4. We also use Poudriere to create our own packages.
I just recently went to update packages in the jails and most of them update fine but a few refuse to work with the following error
Most posts I've read seem to indicate this is a network issue and in watching the Apache access logs on our package server I can see that there is no request for "meta.conf" and "packagesite.pkg" which made me think that maybe this is a network issue but networking seems fine, I can fetch those files, "host" returns the IP, "drill _https._tcp.packages.example.com SRV" returns the SRV record, etc.
I've also tried using other DNS servers, removing pkg and reinstalling an older version from the backup, running "pkg-static bootstrap -f", restarting the servers and jails, and a few other things but nothing works.
Switching to the FreeBSD repository works but I kind of need to use our repository.
As I said, it's just a few jails that will not work and all the others are fine. There's no discernible difference between any of the jails except for the packages that are installed otherwise they are all set up exactly the same.
I'm going crazy trying to get this to work and would appreciate any ideas anyone has.
Thank you!
I just recently went to update packages in the jails and most of them update fine but a few refuse to work with the following error
Code:
Updating packages repository catalogue...
pkg: An error occured while fetching package
pkg: An error occured while fetching package
repository packages has no meta file, using default settings
pkg: An error occured while fetching package
pkg: An error occured while fetching package
Unable to update repository packages
Error updating repositories!
Most posts I've read seem to indicate this is a network issue and in watching the Apache access logs on our package server I can see that there is no request for "meta.conf" and "packagesite.pkg" which made me think that maybe this is a network issue but networking seems fine, I can fetch those files, "host" returns the IP, "drill _https._tcp.packages.example.com SRV" returns the SRV record, etc.
I've also tried using other DNS servers, removing pkg and reinstalling an older version from the backup, running "pkg-static bootstrap -f", restarting the servers and jails, and a few other things but nothing works.
Switching to the FreeBSD repository works but I kind of need to use our repository.
Code:
Updating FreeBSD repository catalogue...
WARNING: Meta v1 support will be removed in the next version
FreeBSD repository is up to date.
All repositories are up to date.
WARNING: Meta v1 support will be removed in the next version
Updating database digests format: 100%
Checking for upgrades (32 candidates): 100%
Processing candidates (32 candidates): 100%
The following 43 package(s) will be affected (of 0 checked):
...
As I said, it's just a few jails that will not work and all the others are fine. There's no discernible difference between any of the jails except for the packages that are installed otherwise they are all set up exactly the same.
I'm going crazy trying to get this to work and would appreciate any ideas anyone has.
Thank you!