[Bug 1563945] Re: package avahi-dnsconfd 0.6.32~rc+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
David Martinka
dave at b-sharpmusic.com
Fri Apr 6 03:27:24 UTC 2018
Added "set -x" to the prerm script at /var/lib/dpkg/info/avahi-
dnsconfd.prerm for more verbose console output and re-ran apt update &&
apt upgrade and it looks like it's failing here:
deb-systemd-invoke stop avahi-daemon.socket
```
The following packages will be upgraded:
avahi-dnsconfd
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/14.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 459430 files and directories currently installed.)
Preparing to unpack .../avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb ...
+ dpkg-maintscript-helper rm_conffile /etc/default/avahi-dnsconfd 0.6.26-1~ avahi-dnsconfd -- upgrade 0.6.32~rc+dfsg-1ubuntu2.1
+ [ -d /run/systemd/system ]
+ deb-systemd-invoke stop avahi-daemon.socket
Job for avahi-daemon.socket canceled.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Job for avahi-daemon.socket canceled.
dpkg: error processing archive /var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/avahi-dnsconfd_0.6.32~rc+dfsg-1ubuntu2.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
When run manually this command fails as well:
```
$ deb-systemd-invoke stop avahi-daemon.socket
Job for avahi-daemon.socket canceled.
$ deb-systemd-invoke status avahi-daemon.socket
● avahi-daemon.socket - Avahi mDNS/DNS-SD Stack Activation Socket
Loaded: loaded (/lib/systemd/system/avahi-daemon.socket; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-04-05 01:15:39 EDT; 22h ago
Listen: /var/run/avahi-daemon/socket (Stream)
Apr 05 01:15:39 MYCOMPUTER systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Apr 05 22:50:26 MYCOMPUTER systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Apr 05 22:50:26 MYCOMPUTER systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Apr 05 22:50:26 MYCOMPUTER systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Apr 05 23:20:31 MYCOMPUTER systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Apr 05 23:20:31 MYCOMPUTER systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Apr 05 23:20:31 MYCOMPUTER systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Apr 05 23:21:29 MYCOMPUTER systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
```
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1563945
Title:
package avahi-dnsconfd 0.6.32~rc+dfsg-1ubuntu2 failed to
install/upgrade: subprocess installed pre-removal script returned
error exit status 1
Status in avahi package in Ubuntu:
Confirmed
Bug description:
interesting issues while updating packages this morning...
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: avahi-dnsconfd 0.6.32~rc+dfsg-1ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Wed Mar 30 09:33:28 2016
DpkgTerminalLog:
Removing avahi-discover (0.6.32~rc+dfsg-1ubuntu2) ...
Removing avahi-dnsconfd (0.6.32~rc+dfsg-1ubuntu2) ...
Job for avahi-daemon.socket canceled.
dpkg: error processing package avahi-dnsconfd (--remove):
subprocess installed pre-removal script returned error exit status 1
DuplicateSignature:
Removing avahi-dnsconfd (0.6.32~rc+dfsg-1ubuntu2) ...
Job for avahi-daemon.socket canceled.
dpkg: error processing package avahi-dnsconfd (--remove):
subprocess installed pre-removal script returned error exit status 1
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationDate: Installed on 2016-01-06 (83 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1
apt 1.2.9
SourcePackage: avahi
Title: package avahi-dnsconfd 0.6.32~rc+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1563945/+subscriptions
More information about the foundations-bugs
mailing list