Package: hostapd
Version: 2:2.7+git20190128+0c1e29f-2

Dear maintaniers,

On  Debian Buster, it seems not  possible to uninstall hostapd package
after    installation.

Furthermore, i can not launch daemon.

My current configuration before  installing hostapd is :
(with sysvinit, not systemd !)

ansible@vm-buster-x86-amd64-100:~$ pstree -anp
init,1
|-dhclient,603 -4 -v -i -pf /run/dhclient.eth-admin.pid -lf /var/lib/dhcp/dhclient.eth-admin.leases -I -df... |-dhclient,685 -4 -v -i -pf /run/dhclient.eth-srv.pid -lf /var/lib/dhcp/dhclient.eth-srv.leases -I -df ... |-dhclient,768 -4 -v -i -pf /run/dhclient.eth-user.pid -lf /var/lib/dhcp/dhclient.eth-user.leases -I -df ...
  |-cron,1197
  |-dbus-daemon,1206 --system
  |-getty,1476 115200 console
  |-getty,1477 38400 tty2
  |-getty,1478 38400 tty3
  |-getty,1479 38400 tty4
  |-syslog-ng,12916
  |   `-(syslog-ng,13835)
  |-syslog-ng,12939
  |   `-syslog-ng,12940 -p /var/run/syslog-ng.pid --no-caps
  `-sshd,16299
      `-sshd,10843
          `-sshd,10849
              `-bash,10850
                  `-pstree,13836 -anp

ansible@vm-buster-x86-amd64-100:~$ cat /etc/debian_version
buster/sid

ansible@vm-buster-x86-amd64-100:~$ cat /etc/apt/sources.list.d/debian_apt_v_10_buster_* |grep -v "#"

deb http://ftp.debian.org/debian/ buster main contrib non-free
deb http://ftp.debian.org/debian/ sid main contrib non-free
deb http://ftp.debian.org/debian/ stretch main contrib non-free
deb http://ftp.debian.org/debian/ unstable main contrib non-free

ansible@vm-buster-x86-amd64-100:~$ cat /etc/apt/preferences.d/preferences_debian_v_10_buster* |grep -v "#"

Package: *
Pin: release a=buster
Pin-Priority: 900

Package: *
Pin: release a=stretch
Pin-Priority: 400

Package: *
Pin-Priority: -1

Package: *
Pin: release a=unstable
Pin-Priority: -1

Package: dhcpcd5
Pin: release *
Pin-Priority: -1

Package: *systemd*
Pin: release *
Pin-Priority: -1

ansible@vm-buster-x86-amd64-100:~$ sudo  apt update && sudo apt upgrade

ansible@vm-buster-x86-amd64-100:~$ dpkg -l |grep -v ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================================================-============================-============-===============================================================================


ansible@vm-buster-x86-amd64-100:~$ sudo apt install hostapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libnl-route-3-200
The following NEW packages will be installed:
  hostapd libnl-route-3-200
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 939 kB of archives.
After this operation, 2637 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.debian.org/debian buster/main amd64 libnl-route-3-200 amd64 3.4.0-1 [162 kB] Get:2 http://ftp.debian.org/debian buster/main amd64 hostapd amd64 2:2.7+git20190128+0c1e29f-2 [777 kB]
Fetched 939 kB in 1s (1280 kB/s)
Selecting previously unselected package libnl-route-3-200:amd64.
(Reading database ... 130986 files and directories currently installed.)
Preparing to unpack .../libnl-route-3-200_3.4.0-1_amd64.deb ...
Unpacking libnl-route-3-200:amd64 (3.4.0-1) ...
Selecting previously unselected package hostapd.
Preparing to unpack .../hostapd_2%3a2.7+git20190128+0c1e29f-2_amd64.deb ...
Unpacking hostapd (2:2.7+git20190128+0c1e29f-2) ...
Setting up libnl-route-3-200:amd64 (3.4.0-1) ...
Setting up hostapd (2:2.7+git20190128+0c1e29f-2) ...
/etc/init.d/hostapd: 30: /etc/init.d/hostapd: log_action_msg: not found
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-8) ...
ansible@vm-buster-x86-amd64-100:~$


Which is very fine ....

But...

ansible@vm-buster-x86-amd64-100:~$ sudo apt remove --purge hostapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libnl-route-3-200
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  hostapd*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 2081 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 131018 files and directories currently installed.)
Removing hostapd (2:2.7+git20190128+0c1e29f-2) ...
/etc/init.d/hostapd: 30: /etc/init.d/hostapd: log_action_msg: not found
Processing triggers for man-db (2.8.5-2) ...
(Reading database ... 130996 files and directories currently installed.)
Purging configuration files for hostapd (2:2.7+git20190128+0c1e29f-2) ...
ansible@vm-buster-x86-amd64-100:~$

Please note following error :

/etc/init.d/hostapd: 30: /etc/init.d/hostapd: log_action_msg: not found

Furthermore, when trying to start daemon, i have :

ansible@vm-buster-x86-amd64-100:~$ sudo /etc/init.d/hostapd restart
/etc/init.d/hostapd: 30: /etc/init.d/hostapd: log_action_msg: not found

Thanks in advance for your help

Best regards

Reply via email to