Beaker Posted December 18, 2022 Share Posted December 18, 2022 I recently attempted to perform a package update on Polisy. After kicking of the process via the IoP console I waited aprox. 30 minutes, SSHed into the Polisy to find that the process was still running. Seemed odd that it hadn’t completed, I kicked off the following cmd ‘sudo tail -f /var/udx /logs/log’ to find the pkg upgrade process in an endless loop. It was basically complaining that the pkg command itself had to be upgraded first but it was not taking place and continued to loop. I’ve posted a snapshot of the above noted log. The below block of text continued to fill the log file. Any assistance would be great. Cheers, Ken. Updating FreeBSD repository catalogue... FreeBSD repository is up to date. Updating FreeBSD-base repository catalogue... FreeBSD-base repository is up to date. Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. New version of pkg detected; it needs to be installed first. Checking integrity... done (0 conflicting) The most recent versions of packages are already installed Updating FreeBSD repository catalogue... FreeBSD repository is up to date. Updating FreeBSD-base repository catalogue... FreeBSD-base repository is up to date. Updating udi repository catalogue... udi repository is up to date. All repositories are up to date. New version of pkg detected; it needs to be installed first. Checking integrity... done (0 conflicting) The most recent versions of packages are already installed Link to comment
Solution Michel Kohanim Posted December 18, 2022 Solution Share Posted December 18, 2022 Beaker, I am so very sorry to hear. Please do either of the following: 1. In /usr/local/etc/pkg/repos/FreeBSD.conf, add priority: 1. Something like this: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", enabled: yes, priority: 1 } 2. Do: sudo pkg install -r udi pkg sudo /usr/local/etc/udx.d/static/udxops.sh upgrade.polisy With kind regards, Michel 1 5 Link to comment
Beaker Posted December 19, 2022 Author Share Posted December 19, 2022 Thank you for the quick response. worked like charm. Cheers, Ken. 3 Link to comment
BigMojo Posted December 20, 2022 Share Posted December 20, 2022 Same error, same fix, same result ! Thank you gentlemen and the very happiest of holidays ! 2 Link to comment
Recommended Posts