package docker.io (not installed) failed to install/upgrade: installed docker.io package post-removal script subprocess returned error exit status 127

Bug #1767617 reported by Navaneeth
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
docker.io (Ubuntu)
Confirmed
High
Unassigned

Bug Description

package docker.io (not installed) failed to install/upgrade: installed docker.io package post-removal script subprocess returned error exit status 127

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: docker.io (not installed)
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Sat Apr 28 15:30:18 2018
ErrorMessage: installed docker.io package post-removal script subprocess returned error exit status 127
InstallationDate: Installed on 2017-12-01 (147 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.1
SourcePackage: docker.io
Title: package docker.io (not installed) failed to install/upgrade: installed docker.io package post-removal script subprocess returned error exit status 127
UpgradeStatus: Upgraded to bionic on 2018-04-27 (0 days ago)

Revision history for this message
Navaneeth (nns98) 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 docker.io (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Günther (launchpad-domain-the-phoenix) wrote :

This bug affects me too. It has been fixed upstream here:

https://github.com/moby/moby/pull/30519

A workaround is to edit /var/lib/docker/nuke-graph-directory.sh, and do the following replacement:

-#!/bin/sh
+#!/bin/bash

Joshua Powers (powersj)
Changed in docker.io (Ubuntu):
importance: Undecided → Critical
importance: Critical → High
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.