I am installing freeradius-mysql.
It Just give me an error.
Errors were encountered while processing:
freeradius-mysql
I tried so many articles but they couldn't help me. Reinstalled it many time but no luck.
whole output
sudo apt-get install freeradius-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
freeradius-mysql is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up freeradius-mysql (2.1.12+dfsg-1.2ubuntu8) ...
reload: Unknown instance:
invoke-rc.d: initscript freeradius, action "force-reload" failed.
dpkg: error processing package freeradius-mysql (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
freeradius-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
After sudo apt-get --reinstall install freeradius-mysql
Output :
sudo apt-get --reinstall install freeradius-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. 1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for freeradius-mysql:amd64
sudo apt-get --reinstall install freeradius-mysql
sudo dpkg --configure -a
(this migth take a few minutes or hours)