package avahi-daemon 0.6.31-4ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Bug #1393729 reported by David Pires
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
avahi (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Updating a Vivid Vervet system (on Virtual Box v. 4.3.18) by running sudo apt-get update && sudo apt-get dist-upgrade at TTY1.

Several packages where successfully upgraded.

The only error I got was with avahi-daemon getting the following:

Preparing to unpack .../avahi-daemon_0.6.31-4ubuntu4_i386.deb ...
Job for avahi-daemon.service canceled.
invoke-rc.d: initscript avahi-daemon, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Job for avahi-daemon.service canceled.
invoke-rc.d: initscript avahi-daemon, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/avahi-daemon_0.6.31-4ubuntu4_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: avahi-daemon 0.6.31-4ubuntu4
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
Uname: Linux 3.16.0-24-generic i686
ApportVersion: 2.14.7-0ubuntu10
Architecture: i386
Date: Tue Nov 18 09:27:13 2014
DuplicateSignature: package:avahi-daemon:0.6.31-4ubuntu3:subprocess new pre-removal script returned error exit status 1
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2014-07-15 (125 days ago)
InstallationMedia: Xubuntu 14.10 "Utopic Unicorn" - Alpha i386 (20140506)
SourcePackage: avahi
Title: package avahi-daemon 0.6.31-4ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
David Pires (slickymaster) 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 avahi (Ubuntu):
status: New → Confirmed
Changed in avahi (Ubuntu):
importance: Undecided → High
Revision history for this message
Rowan Wookey (rwky) wrote :

The same thing happens with 0.6.32~rc+dfsg-1ubuntu2.1

As a work around running `systemctl disable avahi-daemon.service` before the upgrade then `systemctl enable avahi-daemon.service` after the upgrade resolves the problem.

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.