installed android-androresolvd package post-installation script subprocess returned error exit status 1

Bug #1803663 reported by Clark Kent
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
android-androresolvd (Ubuntu)
Fix Released
Undecided
Роман Мизиченко

Bug Description

$ uname -a
Linux Mobile-C 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/os-release
ID_LIKE="ubuntu debian"
VERSION_ID="18.04"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

$ 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).
The following packages were automatically installed and are no longer required:
  cpp-7-arm-linux-gnueabi cpp-arm-linux-gnueabi gcc-7-arm-linux-gnueabi-base gcc-7-cross-base gcc-8-cross-base
  libasan4-armel-cross libatomic1-armel-cross libc6-dev-armel-cross libcilkrts5-armel-cross libgcc-7-dev-armel-cross
  libgcc1-armel-cross libgomp1-armel-cross libportaudiocpp0 libstdc++6-armel-cross libubsan0-armel-cross
  linux-libc-dev-armel-cross
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 508 not to upgrade.
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 Fri 2018-11-16 16:41:07 AEST; 116ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 31643 ExecStart=/etc/init.d/android-androresolvd start (code=exited, status=255)

Nov 16 16:41:07 Mobile-C systemd[1]: Starting LSB: Updates /etc/resolv.conf from Android system props...
Nov 16 16:41:07 Mobile-C android-androresolvd[31643]: Cannot access system properties via ANDROID_PROPERTY_WORKSPACE environment setting.
Nov 16 16:41:07 Mobile-C systemd[1]: android-androresolvd.service: Control process exited, code=exited status=255
Nov 16 16:41:07 Mobile-C systemd[1]: android-androresolvd.service: Failed with result 'exit-code'.
Nov 16 16:41:07 Mobile-C 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 Fri 2018-11-16 16:41:07 AEST; 1min 43s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 31643 ExecStart=/etc/init.d/android-androresolvd start (code=exited, status=255)

Nov 16 16:41:07 Mobile-C systemd[1]: Starting LSB: Updates /etc/resolv.conf from Android system props...
Nov 16 16:41:07 Mobile-C android-androresolvd[31643]: Cannot access system properties via ANDROID_PROPERTY_WORKSPACE envir
Nov 16 16:41:07 Mobile-C systemd[1]: android-androresolvd.service: Control process exited, code=exited status=255
Nov 16 16:41:07 Mobile-C systemd[1]: android-androresolvd.service: Failed with result 'exit-code'.
Nov 16 16:41:07 Mobile-C systemd[1]: Failed to start LSB: Updates /etc/resolv.conf from Android system props.

$ journalctl -xe
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3.6/http/client.py", line 1239, in request
Nov 16 16:42:41 Mobile-C autosuspend[1727]: self._send_request(method, url, body, headers, encode_chunked)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
Nov 16 16:42:41 Mobile-C autosuspend[1727]: self.endheaders(body, encode_chunked=encode_chunked)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
Nov 16 16:42:41 Mobile-C autosuspend[1727]: self._send_output(message_body, encode_chunked=encode_chunked)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
Nov 16 16:42:41 Mobile-C autosuspend[1727]: self.send(msg)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3.6/http/client.py", line 964, in send
Nov 16 16:42:41 Mobile-C autosuspend[1727]: self.connect()
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 166, in co
Nov 16 16:42:41 Mobile-C autosuspend[1727]: conn = self._new_conn()
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 150, in _n
Nov 16 16:42:41 Mobile-C autosuspend[1727]: self, "Failed to establish a new connection: %s" % e)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection obje
Nov 16 16:42:41 Mobile-C autosuspend[1727]: During handling of the above exception, another exception occurred:
Nov 16 16:42:41 Mobile-C autosuspend[1727]: Traceback (most recent call last):
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/requests/adapters.py", line 440, in sen
Nov 16 16:42:41 Mobile-C autosuspend[1727]: timeout=timeout
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, i
Nov 16 16:42:41 Mobile-C autosuspend[1727]: _stacktrace=sys.exc_info()[2])
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 388, in in
Nov 16 16:42:41 Mobile-C autosuspend[1727]: raise MaxRetryError(_pool, url, error or ResponseError(cause))
Nov 16 16:42:41 Mobile-C autosuspend[1727]: urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=80
Nov 16 16:42:41 Mobile-C autosuspend[1727]: During handling of the above exception, another exception occurred:
Nov 16 16:42:41 Mobile-C autosuspend[1727]: Traceback (most recent call last):
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/bin/autosuspend", line 203, in check
Nov 16 16:42:41 Mobile-C autosuspend[1727]: '?request={"jsonrpc": "2.0", '
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/requests/api.py", line 72, in get
Nov 16 16:42:41 Mobile-C autosuspend[1727]: return request('get', url, params=params, **kwargs)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/requests/api.py", line 58, in request
Nov 16 16:42:41 Mobile-C autosuspend[1727]: return session.request(method=method, url=url, **kwargs)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/requests/sessions.py", line 508, in req
Nov 16 16:42:41 Mobile-C autosuspend[1727]: resp = self.send(prep, **send_kwargs)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/requests/sessions.py", line 618, in sen
Nov 16 16:42:41 Mobile-C autosuspend[1727]: r = adapter.send(request, **kwargs)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/lib/python3/dist-packages/requests/adapters.py", line 508, in sen
Nov 16 16:42:41 Mobile-C autosuspend[1727]: raise ConnectionError(e, request=request)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port
Nov 16 16:42:41 Mobile-C autosuspend[1727]: During handling of the above exception, another exception occurred:
Nov 16 16:42:41 Mobile-C autosuspend[1727]: Traceback (most recent call last):
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/bin/autosuspend", line 559, in execute_checks
Nov 16 16:42:41 Mobile-C autosuspend[1727]: result = check.check()
Nov 16 16:42:41 Mobile-C autosuspend[1727]: File "/usr/bin/autosuspend", line 213, in check
Nov 16 16:42:41 Mobile-C autosuspend[1727]: raise TemporaryCheckError(error)
Nov 16 16:42:41 Mobile-C autosuspend[1727]: TemporaryCheckError: HTTPConnectionPool(host='localhost', port=8080): Max retr
Nov 16 16:42:41 Mobile-C autosuspend[1727]: 2018-11-16 16:42:41,945 - loop - DEBUG - Executing check ActiveConnection
Nov 16 16:42:42 Mobile-C autosuspend[1727]: 2018-11-16 16:42:42,018 - loop - DEBUG - Executing check Load
Nov 16 16:42:42 Mobile-C autosuspend[1727]: 2018-11-16 16:42:42,018 - loop - INFO - Check Load matched. Reason: Load 3.55
Nov 16 16:42:42 Mobile-C autosuspend[1727]: 2018-11-16 16:42:42,019 - loop - DEBUG - Skipping further checks
Nov 16 16:42:42 Mobile-C autosuspend[1727]: 2018-11-16 16:42:42,020 - loop - DEBUG - All checks have been executed
Nov 16 16:42:42 Mobile-C autosuspend[1727]: 2018-11-16 16:42:42,020 - loop - INFO - Check iteration finished. System is ac
mobile_c@Mobile-C:~/git/gpp-2.4.1/test$

Clark Kent (mgood7123)
description: updated
description: updated
Clark Kent (mgood7123)
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in android-androresolvd (Ubuntu):
status: New → Confirmed
Changed in android-androresolvd (Ubuntu):
status: Confirmed → Fix Released
assignee: nobody → Роман Мизиченко (roru78)
Revision history for this message
®γσ, ξηg Lιαη Ημ (englianhu) wrote :
Download full text (4.0 KiB)

```
:~$ 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.se...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.