fglrx deb postrm script hangs indefinitely
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fglrx-installer (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
I just installed fglrx (2:13.350.
It causes a CPU hang (see Bug 1338177), so I wanted to remove it.
Running:
sudo apt-get purge fglrx fglrx-amdcccle
silently hangs, indefinitely. The prompt just never returns (not even with Ctrl-C).
I tracked the bug down to this script:
/var/lib/
whose process I was able to kill, and dpkg then continued (to a non-graceful exit);
--
Purging configuration files for fglrx (2:13.350.
dpkg: error processing package fglrx (--purge):
subprocess installed post-removal script was killed by signal (Terminated)
Errors were encountered while processing:
fglrx
E: Sub-process /usr/bin/dpkg returned an error code (1)
---
The offending line in the postrm script is this one:
update-rc.d atieventsd remove >/dev/null
Having commented it out, I was then able to re-run the
sudo apt-get purge fglrx fglrx-amdcccle
successfully.
The root cause seems to be that the command:
/usr/
will sit there interminably, inactively, and unkillably.
even sudo killall -9 insserv won't stop it.
To fully recover from the insserv hang, I had to shut down the machine, with shutdown -h now,
and even that didn't fully go down; I had to eventually physically reset the box.
There are really 3 bugs here:
1. The fglrx package cannot be gracefully uninstalled.
2. insserv needs to be killed with fire.
3. the kernel's reboot or shutdown commands fail if a process like insserv is stuck in the "D" state.
---
ApportVersion: 2.14.4-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
/dev/snd/
DistroRelease: Ubuntu 14.10
HibernationDevice: RESUME=
InstallationDate: Installed on 2014-07-06 (0 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
IwConfig:
eth0 no wireless extensions.
eth1 no wireless extensions.
lo no wireless extensions.
MachineType: System manufacturer System Product Name
Package: linux (not installed)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList:
Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.132
RfKill:
Tags: utopic
Uname: Linux 3.15.0-6-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 07/01/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4105
dmi.board.
dmi.board.name: P8Z68-V LX
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
Changed in linux (Ubuntu): | |
importance: | Undecided → Critical |
affects: | linux (Ubuntu) → fglrx-installer (Ubuntu) |
Changed in fglrx-installer (Ubuntu): | |
importance: | Critical → Medium |
status: | Confirmed → New |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1338603
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.