dnsmasq cannot execute at systemctl
This bug report will be marked for expiration in 52 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsmasq (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Using Ubuntu 24.04 I get a 'could not execute error:
sudo apt install dnsmasq
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed
dnsmasq
0 to upgrade, 1 to newly install, 0 to remove and 14 not to upgrade.
Need to get 0 B/17.9 kB of archives.
After this operation, 88.1 kB of additional disk space will be used.
Selecting previously unselected package dnsmasq.
(Reading database ... 273753 files and directories currently installed.)
Preparing to unpack .../dnsmasq_
Unpacking dnsmasq (2.90-2build2) ...
Setting up dnsmasq (2.90-2build2) ...
Could not execute systemctl: at /usr/bin/
apt-cache policy dnsmasq
dnsmasq:
Installed: (none)
Candidate: 2.90-2build2
Version table:
2.90-2build2 500
500 http://
500 http://
Thanks for taking the time to report this bug and trying to make Ubuntu better.
I tried to install dnsmasq in a brand new LXD container running Noble (24.04) and I was not able to reproduce the failure you mentioned:
root@dnsmasq- install: ~# apt install dnsmasq archive. ubuntu. com/ubuntu noble/main amd64 dnsmasq-base amd64 2.90-2build2 [375 kB] archive. ubuntu. com/ubuntu noble/universe amd64 dnsmasq all 2.90-2build2 [17.9 kB] archive. ubuntu. com/ubuntu noble/main amd64 dns-root-data all 2023112702~ willsync1 [4450 B] base_2. 90-2build2_ amd64.deb ... 2.90-2build2_ all.deb ... root-data_ 2023112702~ willsync1_ all.deb ... willsync1) ... willsync1) ... system/ multi-user. target. wants/dnsmasq. service → /u systemd/ system/ dnsmasq. service. deb-systemd- invoke line 148.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
dns-root-data dnsmasq-base
The following NEW packages will be installed:
dns-root-data dnsmasq dnsmasq-base
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 397 kB of archives.
After this operation, 953 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 397 kB in 3s (157 kB/s)
Selecting previously unselected package dnsmasq-base.
(Reading database ... 34374 files and directories currently installed.)
Preparing to unpack .../dnsmasq-
Unpacking dnsmasq-base (2.90-2build2) ...
Selecting previously unselected package dnsmasq.
Preparing to unpack .../dnsmasq_
Unpacking dnsmasq (2.90-2build2) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../dns-
Unpacking dns-root-data (2023112702~
Setting up dnsmasq-base (2.90-2build2) ...
Setting up dns-root-data (2023112702~
Setting up dnsmasq (2.90-2build2) ...
Created symlink /etc/systemd/
sr/lib/
Could not execute systemctl: at /usr/bin/
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for dbus (1.14.10-4ubuntu4) ...
Scanning processes...
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host. install: ~#
root@dnsmasq-
Not sure how to trigger the problem you described, and without that we cannot do anything. I am marking this bug as Incomplete as I cannot verify whether it is a real bug.