Failed to upgrade fglrx from 14.502 to 15.200 on Trusty.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fglrx-installer (Ubuntu) |
Fix Released
|
High
|
Florin Neacsu | ||
Trusty |
Fix Released
|
High
|
Alberto Milone | ||
fglrx-installer-updates (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Alberto Milone |
Bug Description
SRU Request:
[Impact]
Upgrading from the upstream fglrx driver packages to the packages in the Ubuntu repository fails because the /etc/ati directory is a real directory instead of being a link (which was common in the Ubuntu packages).
[Test Case]
1. Install the fglrx driver (14.502) in Ubuntu 14.04 generating deb packages from the AMD installer
2. Upgrade the package to the current ubuntu release.
3. Check the apt-get output
Expected results: the fglrx module should be updated correctly.
Actual results:
The update fails as described below.
[Regression Potential]
Low. The change only affects a migration from a specific release.
_______
Note that the fglrx 14.502 package name is fglrx_14.
Processing triggers for bamfdaemon (0.5.1+
Rebuilding /usr/share/
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
(gtk-update-
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-
to make things work again for the time being.
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
(gtk-update-
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-
to make things work again for the time being.
Processing triggers for doc-base (0.10.5) ...
Processing 1 changed doc-base file...
Errors were encountered while processing:
/var/cache/
Log ended: 2015-10-22 05:31:11
X-HWE-Bug: Bug #1664810
summary: |
- Failed to upgrade fglrx from 14.502 to 15.200. + Failed to upgrade fglrx from 14.502 to 15.200 on Trusty. |
Changed in fglrx-installer (Ubuntu Trusty): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in fglrx-installer (Ubuntu): | |
status: | Triaged → Invalid |
description: | updated |
tags: | added: third-party-packages trusty |
Changed in fglrx-installer (Ubuntu): | |
status: | Invalid → Fix Released |
Changed in fglrx-installer-updates (Ubuntu): | |
status: | Invalid → Fix Released |
importance: | Undecided → High |
Changed in fglrx-installer-updates (Ubuntu Trusty): | |
importance: | Undecided → High |
tags: |
added: bot-stop-nagging removed: verification-failed |
tags: | added: verification-failed |
tags: | added: trusty |
Changed in fglrx-installer-updates (Ubuntu Trusty): | |
status: | Fix Released → In Progress |
assignee: | nobody → Alberto Milone (albertomilone) |
tags: |
added: verification-failed removed: verification-needed |
tags: |
added: verification-needed removed: verification-failed |
tags: |
added: verification-done removed: verification-needed |
Changed in fglrx-installer (Ubuntu): | |
assignee: | Alberto Milone (albertomilone) → Florin Neacsu (florinelll) |
Quoting the original reporter: this issue happens when using the fglrx packages provided by AMD, where the /etc/ati directory is not a symbolic link, but a real directory.
Modifying debian/ fglrx.preinst. in can solve this issue:
diff --git a/fglrx.preinst.in b/fglrx.preinst.in
index 50bfd4a..10f4afb 100644
--- a/fglrx.preinst.in
+++ b/fglrx.preinst.in
@@ -91,7 +91,7 @@ case "$1" in
echo "Moving ati dir to /etc for the fglrx-core transition"
cp -RL /etc/ati /etc/ati.dpkg-bak 2>/dev/null || true
# Remove the link
- rm -f /etc/ati 2>/dev/null
+ rm -rf /etc/ati 2>/dev/null
# Finally move ati into /etc
mv /etc/ati.dpkg-bak /etc/ati 2>/dev/null || true