how do i fix the android-androresolvd dpkg problem

Asked by Richard

installed android-androresolvd package post-installation script subprocess returned error exit status 1....
same problem you guys mention as a bug. how do i fix it.
although im using linux mint 20.1 and this site is ubuntu this happend when i upgraded but you guys answer still should work.
every time i install something i end up with this:
invoke-rc.d: initscript android-androresolvd, action "start" failed.
● android-androresolvd.service - LSB: Updates /etc/resolv.conf from Android system props
     Loaded: loaded (/etc/init.d/android-androresolvd; generated)
     Active: failed (Result: exit-code) since Mon 2021-07-05 03:07:14 PDT; 57ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 40029 ExecStart=/etc/init.d/android-androresolvd start (code=exited, status=255/EXCEPTION)

Jul 05 03:07:14 lilrichard systemd[1]: Starting LSB: Updates /etc/resolv.conf from Android system props...
Jul 05 03:07:14 lilrichard android-androresolvd[40052]: Cannot access system properties via ANDROID_PROPERTY_WORKSPACE environment setting.
Jul 05 03:07:14 lilrichard systemd[1]: android-androresolvd.service: Control process exited, code=exited, status=255/EXCEPTION
Jul 05 03:07:14 lilrichard systemd[1]: android-androresolvd.service: Failed with result 'exit-code'.
Jul 05 03:07:14 lilrichard systemd[1]: Failed to start LSB: Updates /etc/resolv.conf from Android system props.
dpkg: error processing package android-androresolvd (--configure):
 installed android-androresolvd package post-installation script subprocess returned error exit status 1
Setting up octave-info (5.2.0-1) ...
Errors were encountered while processing:
 android-androresolvd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Manfred Hampl suggests this article as an answer to your question:
FAQ #3041: “No support for Linux Mint”.

Revision history for this message
®γσ, ξηg Lιαη Ημ (englianhu) said :
#2

```
:~$ sudo apt install android-androresolvd
Reading package lists... Done
Building dependency tree
Reading state information... Done
android-androresolvd is already the newest version (1.3-1build1).
0 upgraded, 0 newly installed, 0 to remove and 1 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 android-androresolvd (1.3-1build1) ...
Job for android-androresolvd.service failed because the control process exited with error code.
See "systemctl status android-androresolvd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript android-androresolvd, action "start" failed.
● android-androresolvd.service - LSB: Updates /etc/resolv.conf from Android system props
     Loaded: loaded (/etc/init.d/android-androresolvd; generated)
     Active: failed (Result: exit-code) since Sun 2021-12-12 18:36:30 JST; 7ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 3808004 ExecStart=/etc/init.d/android-androresolvd start (code=exited, status=255/EXCEPTION)

Dec 12 18:36:30 Scibrokes-Trading systemd[1]: Starting LSB: Updates /etc/resolv.conf from Android system props...
Dec 12 18:36:30 Scibrokes-Trading android-androresolvd[3808010]: Cannot access system properties via ANDROID_PROPERTY_WORKSPACE environment setting.
Dec 12 18:36:30 Scibrokes-Trading systemd[1]: android-androresolvd.service: Control process exited, code=exited, status=255/EXCEPTION
Dec 12 18:36:30 Scibrokes-Trading systemd[1]: android-androresolvd.service: Failed with result 'exit-code'.
Dec 12 18:36:30 Scibrokes-Trading systemd[1]: Failed to start LSB: Updates /etc/resolv.conf from Android system props.
dpkg: error processing package android-androresolvd (--configure):
 installed android-androresolvd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 android-androresolvd
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

```
:~$ systemctl status android-androresolvd.service
● android-androresolvd.service - LSB: Updates /etc/resolv.conf from Android system props
     Loaded: loaded (/etc/init.d/android-androresolvd; generated)
     Active: failed (Result: exit-code) since Sun 2021-12-12 18:36:30 JST; 17s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 3808004 ExecStart=/etc/init.d/android-androresolvd start (code=exited, status=25>

Dec 12 18:36:30 Scibrokes-Trading systemd[1]: Starting LSB: Updates /etc/resolv.conf from And>
Dec 12 18:36:30 Scibrokes-Trading android-androresolvd[3808010]: Cannot access system propert>
Dec 12 18:36:30 Scibrokes-Trading systemd[1]: android-androresolvd.service: Control process e>
Dec 12 18:36:30 Scibrokes-Trading systemd[1]: android-androresolvd.service: Failed with resul>
Dec 12 18:36:30 Scibrokes-Trading systemd[1]: Failed to start LSB: Updates /etc/resolv.conf f>
```

```
:~$ journalctl -xe
--
-- A stop job for unit kubelet.service has finished.
--
-- The job identifier is 78414 and the job result is done.
Dec 12 18:37:00 Scibrokes-Trading systemd[1]: Started kubelet: The Kubernetes Node Agent.
-- Subject: A start job for unit kubelet.service has finished successfully
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit kubelet.service has finished successfully.
--
-- The job identifier is 78414.
Dec 12 18:37:00 Scibrokes-Trading kubelet[3808508]: E1212 18:37:00.963074 3808508 server.go:2>
Dec 12 18:37:00 Scibrokes-Trading systemd[1]: kubelet.service: Main process exited, code=exit>
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit kubelet.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Dec 12 18:37:00 Scibrokes-Trading systemd[1]: kubelet.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit kubelet.service has entered the 'failed' state with result 'exit-code'.
```

Source : https://bugs.launchpad.net/ubuntu/+source/android-androresolvd/+bug/1803663/comments/2

Can you help with this problem?

Provide an answer of your own, or ask Richard for more information if necessary.

To post a message you must log in.