package docker.io (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker.io (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Artful |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Just adding a bug hopefully to help out, I am new to this.
rob@node:~$ lsb_release -rd
Description: Ubuntu 16.04.3 LTS
Release: 16.04
rob@node:~$ apt-cache policy docker
docker:
Installed: (none)
Candidate: 1.5-1
Version table:
1.5-1 500
500 http://
100 /var/lib/
3) What you expected to happen: Uninstall
4) What happened instead: this on reboot
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: docker.io (not installed)
ProcVersionSign
Uname: Linux 4.13.0-26-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
AptOrdering:
docker.io: Purge
NULL: ConfigurePending
Architecture: amd64
Date: Sun Jan 21 13:34:09 2018
ErrorMessage: subprocess installed post-removal script returned error exit status 127
InstallationDate: Installed on 2018-01-21 (0 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageV
dpkg 1.18.4ubuntu1.3
apt 1.2.24
SourcePackage: docker.io
Title: package docker.io (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Changed in docker.io (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in docker.io (Ubuntu Artful): | |
status: | New → Triaged |
Thanks for taking the time to file a bug!
It looks like the nuke-graph- directory. sh script is a shell (/bin/sh) and at the end runs shopt, which is a bash built-in.
To reproduce:
$ mkdir /tmp/test nuke-graph- directory. sh /tmp/test
$ pull-lp-source docker.io
$ cd docker.io-*
$ sudo ./contrib/
Nuking /tmp/test ...
(if this is wrong, press Ctrl+C NOW!)
+ sleep 10
./nuke- graph-directory .sh: 64: ./nuke- graph-directory .sh: shopt: not found