ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #78110
[Bug 565407] Re: 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
I have reproduced the problem with fglrx 2:8.723.1-0ubuntu3 and have
verified that the version of fglrx 2:8.723.1-0ubuntu4 in proposed fixes
the issue.
Marking as verification-done.
** Description changed:
== DESCRIPTION ==
Installation of package fglrx failed with the following error:
Unpacking fglrx (from .../fglrx_2%3a8.723.1-0ubuntu2_i386.deb) ...
[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/ati/fglrx-uninstall.sh (this is
+ 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/ati/fglrx-uninstall.sh (this is
not recommended).
dpkg: error processing
/var/cache/apt/archives/fglrx_2%3a8.723.1-0ubuntu2_i386.deb (--unpack):
- subprocess new pre-installation script returned error exit status 1
-
- == HOW TO REPRODUCE ==
- - install the drivers from ATI (download the installer e.g ati-driver-installer-10-3-x86.x86_64.run and run it )
- - install the package from the Ubuntu repository
- $ sudo apt-get install fglrx
-
- => failure
+ 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-installer-10-3-x86.x86_64.run and run it )
+ 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_UNINSTALL=/usr/share/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/apt/archives/fglrx_2%3a8.723.1-0ubuntu2_i386.deb: subprocess new pre-installation script returned error exit status 1
+ E: /var/cache/apt/archives/fglrx_2%3a8.723.1-0ubuntu2_i386.deb:
+ subprocess new pre-installation script returned error exit status 1
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)
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
Uname: Linux 2.6.31-21-generic i686
NonfreeKernelModules: fglrx
AptOrdering:
fglrx: Install
fglrx: Configure
fglrx-amdcccle: Configure
fglrx-kernel-source: Configure
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=6c566782-b53f-4a1d-b3f5-8cd82ee10bcb ro quiet splash
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.asset.tag: ATN12345678901234567
dmi.board.name: F8P
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr201:bd08/09/2007:svnASUSTeKComputerInc.:pnF8P:pvr1.0:rvnASUSTeKComputerInc.:rnF8P:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: F8P
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.
system:
distro: Ubuntu
codename: lucid
architecture: i686
kernel: 2.6.31-21-generic
** Tags added: verification-done
** Tags removed: verification-needed
--
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
https://bugs.launchpad.net/bugs/565407
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in ubuntu.
References