package fglrx (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 - inst_path_default or inst_path_override does not exist in /etc/ati when ATI Drivers are previously installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fglrx-installer (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Lucid |
Fix Released
|
High
|
Unassigned |
Bug Description
== DESCRIPTION ==
Installation of package fglrx failed with the following error:
Unpacking fglrx (from .../fglrx_
[Warning] Uninstall : inst_path_default or inst_path_override
does not exist in /etc/ati. This suggests that the ATI driver
is not installed, the ATI driver is only partially installed,
or the current ATI driver installed is an older version than the
one this script was designed for. Both files listed above are
required for determining where installed files are located.
To force uninstallation of the driver by guessing where the
uninstallation files are located, set the FORCE_ATI_UNINSTALL
environment variable and re-run /usr/share/
not recommended).
dpkg: error processing
/var/cache/
subprocess new pre-installation script returned error exit status 1
The preinst script removes the /etc/ati directory _before_ running the ATI's uninstallation script. Hence the later complains about it not being there anymore.
TEST CASE:
1. install the drivers from ATI (download the installer e.g ati-driver-
2. install the package from the Ubuntu repository
$ sudo apt-get install fglrx
The installation crashes with the aforementioned error.
3. purge fglrx
4. reinstall the drivers from ATI (step 1)
5. install fglrx from -proposed
6. Verify that it install correctly and the drivers from ATI are removed.
== WORKAROUND ==
$ export FORCE_ATI_
$ apt-get install fglrx
OR
- reinstall from the ATI installer to restore the /etc/ati directory
- then uninstall with ATI script
- finally installthe ubuntu package.
E: /var/cache/
When running update manager on a laptop after the 9.10 -> 10.04 upgrade.
Card is Radeon 2400
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: fglrx (not installed)
ProcVersionSign
Uname: Linux 2.6.31-21-generic i686
NonfreeKernelMo
AptOrdering:
fglrx: Install
fglrx: Configure
fglrx-amdcccle: Configure
fglrx-
xorg-driver-fglrx: Configure
Architecture: i386
Date: Sat Apr 17 17:04:09 2010
DkmsStatus:
ErrorMessage: subprocess new pre-installation script returned error exit status 1
MachineType: ASUSTeK Computer Inc. F8P
ProcCmdLine: root=UUID=
SourcePackage: fglrx-installer
Title: package fglrx (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
dmi.bios.date: 08/09/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 201
dmi.board.
dmi.board.name: F8P
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: F8P
dmi.product.
dmi.sys.vendor: ASUSTeK Computer Inc.
system:
distro: Ubuntu
codename: lucid
architecture: i686
kernel: 2.6.31-21-generic
Related branches
description: | updated |
summary: |
package fglrx (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 - inst_path_default - or inst_path_override does not exist in /etc/ati + or inst_path_override does not exist in /etc/ati when ATI Drivers are + previously installed |
Changed in fglrx-installer (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Medium → High |
Changed in fglrx-installer (Ubuntu): | |
status: | Triaged → In Progress |
Changed in fglrx-installer (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in fglrx-installer (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in fglrx-installer (Ubuntu): | |
status: | Fix Released → Incomplete |
Changed in fglrx-installer (Ubuntu): | |
status: | Incomplete → Fix Released |
Changed in fglrx-installer (Ubuntu Lucid): | |
status: | Fix Released → Fix Committed |
Changed in fglrx-installer (Ubuntu Lucid): | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
Changed in fglrx-installer (Ubuntu Lucid): | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in fglrx-installer (Ubuntu Lucid): | |
status: | Fix Released → Fix Committed |
Changed in fglrx-installer (Ubuntu Lucid): | |
assignee: | Alberto Milone (albertomilone) → LasPlagas (iceglen) |
Changed in fglrx-installer (Ubuntu Lucid): | |
assignee: | LasPlagas (iceglen) → nobody |
description: | updated |
Changed in fglrx-installer (Ubuntu): | |
status: | Fix Released → Fix Committed |
tags: | added: karmic |
Changed in fglrx-installer (Ubuntu): | |
status: | Fix Committed → Fix Released |
Thanks for your report.
Could you please open a terminal and provide the output of the command:
$sudo apt-get install fglrx
Thanks.