** Description changed:

  $ 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$

** Description changed:

  $ 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 
+ 
+ $ 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$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1803663

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android-androresolvd/+bug/1803663/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to