Too few arguments to function pkg_switch_repo()
-
PHP ERROR: Type: 1, File: /etc/inc/pkg-utils.inc, Line: 1550, Message: Uncaught ArgumentCountError: Too few arguments to function pkg_switch_repo(), 1 passed in /usr/local/www/pkg_mgr_install.php on line 292 and exactly 2 expected in /etc/inc/pkg-utils.inc:1550 Stack trace: #0 /usr/local/www/pkg_mgr_install.php(292): pkg_switch_repo('/usr/local/etc/...') #1 {main} thrown @ 2022-12-03 07:15:00
This is happening every time when try to switch repository.
-
-
@gabacho4
Did not try to upgrade from 22.05, but upgrade from 23.01 Dec 1 to 23.01 Dec 2 is worked.Overall yes, in addition, there is some problem with update script on server or server itself, just because it randomly can't find repo (via option 13) or server, unable to check for updates, sometimes interrupting process in the middle with download failed, attempts to update to nothing — via option 13 it checks for updates founds nothing and asks for update Y/N and if you choose Y, you will get broken system... but we are all know it's not even beta version today... so it is expected. It is getting better every week since the start. -
That should be fixed in the next snapshot.