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 ** Changed in: fglrx-installer (Ubuntu) Assignee: (unassigned) => Alberto Milone (albertomilone) ** Changed in: fglrx-installer (Ubuntu) Importance: Undecided => High ** Changed in: fglrx-installer (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to fglrx-installer in Ubuntu. https://bugs.launchpad.net/bugs/1511301 Title: Failed to upgrade fglrx from 14.502 to 15.200 on Trusty. Status in fglrx-installer package in Ubuntu: Triaged Bug description: Note that the fglrx 14.502 package name is fglrx_14.502-0ubuntu1_amd64_UB_14.01.deb, which is from AMD's site, not from Ubuntu repository. Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gconf2 (3.2.6-0ubuntu2) ... Processing triggers for hicolor-icon-theme (0.13-1) ... (gtk-update-icon-cache-3.0:22930): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk- pixbuf-2.0/2.10.0/loaders.cache': No such file or directory This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache 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-icon-cache-3.0:23024): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk- pixbuf-2.0/2.10.0/loaders.cache': No such file or directory This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache 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/apt/archives/fglrx_2%3a15.200-0ubuntu0.5_amd64.deb Log ended: 2015-10-22 05:31:11 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1511301/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp