package android-androresolvd 1.3-1build1 failed to install/upgrade: installed android-androresolvd package post-installation script subprocess returned error exit status 2

Bug #1894989 reported by Pitour Saldanha
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
android-androresolvd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Errors were encountered while processing:
 android-androresolvd
ERROR couldn't connect to zsys daemon: timed out waiting for server handshake
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
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 Wed 2020-09-09 18:30:56 IST; 41ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 294777 ExecStart=/etc/init.d/android-androresolvd start (code=exited, status=255/EXCEPTION)

Sep 09 18:30:55 tech-H81M-S systemd[1]: Starting LSB: Updates /etc/resolv.conf from Android system props...
Sep 09 18:30:56 tech-H81M-S android-androresolvd[294783]: Cannot access system properties via ANDROID_PROPERTY_WORKSPACE environment setting.
Sep 09 18:30:56 tech-H81M-S systemd[1]: android-androresolvd.service: Control process exited, code=exited, status=255/EXCEPTION
Sep 09 18:30:56 tech-H81M-S systemd[1]: android-androresolvd.service: Failed with result 'exit-code'.
Sep 09 18:30:56 tech-H81M-S 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

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: android-androresolvd 1.3-1build1
ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55
Uname: Linux 5.4.0-47-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Sep 9 18:25:23 2020
DuplicateSignature:
 package:android-androresolvd:1.3-1build1
 Setting up android-androresolvd (1.3-1build1) ...
 /var/lib/dpkg/info/android-androresolvd.postinst: 27: cannot create /etc/resolvconf/resolv.conf.d/original: Directory nonexistent
 dpkg: error processing package android-androresolvd (--configure):
  installed android-androresolvd package post-installation script subprocess returned error exit status 2
ErrorMessage: installed android-androresolvd package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2020-08-31 (8 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: android-androresolvd
Title: package android-androresolvd 1.3-1build1 failed to install/upgrade: installed android-androresolvd package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Pitour Saldanha (pitour7979) wrote :
tags: removed: need-duplicate-check
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
Alem Aman (alemam)
Changed in android-androresolvd (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
®γσ, ξηg Lιαη Ημ (englianhu) wrote :

```
:~$ 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 19:25:01 JST; 9ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 3849444 ExecStart=/etc/init.d/android-androresolvd start (code=exited, status=255/EXCEPTION)

Dec 12 19:25:01 Scibrokes-Trading systemd[1]: Starting LSB: Updates /etc/resolv.conf from Android system props...
Dec 12 19:25:01 Scibrokes-Trading android-androresolvd[3849448]: Cannot access system properties via ANDROID_PROPERTY_WORKSPACE environment setting.
Dec 12 19:25:01 Scibrokes-Trading systemd[1]: android-androresolvd.service: Control process exited, code=exited, status=255/EXCEPTION
Dec 12 19:25:01 Scibrokes-Trading systemd[1]: android-androresolvd.service: Failed with result 'exit-code'.
Dec 12 19:25:01 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)
```

Source : https://www.devmanuals.net/install/ubuntu/ubuntu-20-04-focal-fossa/installing-android-androresolvd-on-ubuntu20-04.html

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.