package snapd 2.0.8 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Bug #1595787 reported by Andrew Dight
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
sane-backends (Ubuntu)
Invalid
High
Unassigned

Bug Description

Preparing to unpack .../network-manager_1.2.0-0ubuntu0.16.04.2_amd64.deb ...
Unpacking network-manager (1.2.0-0ubuntu0.16.04.2) over (1.1.93-0ubuntu4) ...
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Preparing to unpack .../network-manager-gnome_1.2.0-0ubuntu0.16.04.3_amd64.deb ...
Unpacking network-manager-gnome (1.2.0-0ubuntu0.16.04.3) over (1.1.93-1ubuntu1) ...
Preparing to unpack .../libnma0_1.2.0-0ubuntu0.16.04.3_amd64.deb ...
Unpacking libnma0:amd64 (1.2.0-0ubuntu0.16.04.3) over (1.1.93-1ubuntu1) ...
Preparing to unpack .../libnma-common_1.2.0-0ubuntu0.16.04.3_all.deb ...
Unpacking libnma-common (1.2.0-0ubuntu0.16.04.3) over (1.1.93-1ubuntu1) ...
Preparing to unpack .../libsane-common_1.0.26-git20160622-xenial0_amd64.deb ...
Unpacking libsane-common (1.0.26-git20160622-xenial0) over (1.0.25+git20150528-1ubuntu2) ...
Preparing to unpack .../libsane_1.0.26-git20160622-xenial0_amd64.deb ...
Unpacking libsane:amd64 (1.0.26-git20160622-xenial0) over (1.0.25+git20150528-1ubuntu2) ...
Preparing to unpack .../software-properties-common_0.96.20.1_all.deb ...
Unpacking software-properties-common (0.96.20.1) over (0.96.20) ...
Preparing to unpack .../software-properties-gtk_0.96.20.1_all.deb ...
Unpacking software-properties-gtk (0.96.20.1) over (0.96.20) ...
Preparing to unpack .../python3-software-properties_0.96.20.1_all.deb ...
Unpacking python3-software-properties (0.96.20.1) over (0.96.20) ...
Preparing to unpack .../sane-utils_1.0.26-git20160622-xenial0_amd64.deb ...
Failed to execute operation: Connection timed out
Failed to stop saned.service: Connection timed out
See system logs and 'systemctl status saned.service' for details.
Failed to get load state of saned.service: Connection timed out
invoke-rc.d: initscript saned, action "stop" failed.
/var/lib/dpkg/info/sane-utils.prerm: 5: /var/lib/dpkg/info/sane-utils.prerm: saned_eh: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
Failed to execute operation: Connection timed out
Failed to stop saned.service: Connection timed out
See system logs and 'systemctl status saned.service' for details.
Failed to get load state of saned.service: Connection timed out
invoke-rc.d: initscript saned, action "stop" failed.
/var/lib/dpkg/tmp.ci/prerm: 5: /var/lib/dpkg/tmp.ci/prerm: saned_eh: not found
dpkg: error processing archive /var/cache/apt/archives/sane-utils_1.0.26-git20160622-xenial0_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
Failed to execute operation: Connection timed out
Failed to execute operation: Connection timed out
Failed to start saned.service: Connection timed out
See system logs and 'systemctl status saned.service' for details.
invoke-rc.d: initscript saned, action "start" failed.
saned couldn't start; check your inetd configuration and README.Debian
Preparing to unpack .../archives/snapd_2.0.9_amd64.deb ...
Failed to stop snapd.service: Connection timed out
See system logs and 'systemctl status snapd.service' for details.
Failed to get load state of snapd.service: Connection timed out
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Failed to stop snapd.service: Connection timed out
See system logs and 'systemctl status snapd.service' for details.
Failed to get load state of snapd.service: Connection timed out
dpkg: error processing archive /var/cache/apt/archives/snapd_2.0.9_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Failed to execute operation: Connection timed out
Failed to get unit file state for snapd.refresh.timer: Connection timed out
Failed to retrieve unit: Connection timed out
snapd.refresh.timer is a disabled or a static unit, not starting it.
Failed to execute operation: Connection timed out
Failed to get unit file state for snapd.socket: Connection timed out
Failed to retrieve unit: Connection timed out
snapd.socket is a disabled or a static unit, not starting it.
Failed to execute operation: Connection timed out
Failed to get unit file state for snapd.service: Connection timed out
Failed to retrieve unit: Connection timed out
snapd.service is a disabled or a static unit, not starting it.
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Failed to open connection to "system" message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/sane-utils_1.0.26-git20160622-xenial0_amd64.deb
 /var/cache/apt/archives/snapd_2.0.9_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: snapd 2.0.8
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Thu Jun 23 15:50:31 2016
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2016-06-21 (2 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: snapd
Title: package snapd 2.0.8 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
Andrew Dight (dight03) 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 snapd (Ubuntu):
status: New → Confirmed
Changed in snapd (Ubuntu):
importance: Undecided → High
Michael Vogt (mvo)
affects: snapd (Ubuntu) → sane-backends (Ubuntu)
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Please don't report to launchpad problems with some random software you found somewhere on the net. You install third-party soft, you're on your own.

Changed in sane-backends (Ubuntu):
status: Confirmed → Invalid
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.