installing freeradius error

Doug Berman dougberman at gmail.com
Fri Feb 26 16:52:25 CET 2016


Thanks, Matt

I removed all instances of freerad in dpkg except for one.
 freeradius-config.  Please can you have a look at the error and advise?

Once I get rid of it, I'll build 3.0.11 from source per your advice and
will follow the instructions on the wjkie:
http://wiki.freeradius.org/building/Build

many thanks again.

doug at db-dell:~$ dpkg --get-selections | grep freerad

*freerad*ius-config purge

doug at db-dell:~$

doug at db-dell:~$

doug at db-dell:~$ sudo apt-get --purge remove freeradius-config

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages will be REMOVED:

  freeradius-config*

0 upgraded, 0 newly installed, 1 to remove and 115 not upgraded.

After this operation, 0 B of additional disk space will be used.

Do you want to continue? [Y/n] Y

(Reading database ... 209902 files and directories currently installed.)

Removing freeradius-config (3.0.10-ppa2~trusty) ...

Purging configuration files for freeradius-config (3.0.10-ppa2~trusty) ...

rmdir: failed to remove ‘/etc/freeradius’: No such file or directory

dpkg: error processing package freeradius-config (--purge):

 subprocess installed post-removal script returned error exit status 1

Errors were encountered while processing:

 freeradius-config

E: Sub-process /usr/bin/dpkg returned an error code (1)

doug at db-dell:~$



On Fri, Feb 26, 2016 at 10:08 AM, Matthew Newton <mcn4 at leicester.ac.uk>
wrote:

> On Fri, Feb 26, 2016 at 09:38:48AM -0500, Doug Berman wrote:
> > I edited statoverride and removed the freerad entry
> >
> > I ran apt-get purge freeradius as well as apt-get purge libfreeradius2
>
> Did you purge all of the freeradius packages?
>
> # dpkg --get-selections | grep freerad
>
> for each of those
>
> # apt-get --purge remove ...
>
> then you should be OK. Removing /etc/freeradius shouldn't cause
> problems like that, and I've done it plenty of times. Otherwise
> there may be something wrong with the packages you are using; I
> don't where they're from (I just build packages from the
> freeradius source).
>
> Matthew
>
>
> --
> Matthew Newton, Ph.D. <mcn4 at le.ac.uk>
>
> Systems Specialist, Infrastructure Services,
> I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
>
> For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list