package selinux (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
selinux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I tried to install selinux with sudo apt-get install selinux.
Upon reboot one of the error messages was that the file system was not writable
and could not make the directory /root/selinux. There was another complaint that may be related to gnome on the system, but that may not be relevant. I could not switch screens and log in to fix
anything. When I tried and the password was accepted the screen would blank and give another
login prompt.
I booted the system on an installation CD and remounted the directories on /mnt. Then I chroot
to /mnt and then did sudo apt-get remove selinux.
I had to do the recover routine and dpkg and then clean to get the system back to being stable.
I can't confirm which version of selinux it was (probably in the logs).
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: selinux (not installed)
ProcVersionSign
Uname: Linux 4.4.0-104-
ApportVersion: 2.20.1-0ubuntu2.14
Architecture: amd64
Date: Thu Dec 21 22:42:21 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
RelatedPackageV
dpkg 1.18.4ubuntu1.3
apt 1.2.24
SourcePackage: selinux
Title: package selinux (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |