postrm failure in xorg-driver-fglrx on dapper->edgy upgrade

Bug #70249 reported by trylik
6
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.17 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: xorg-driver-fglrx

i tried to upgrade from 6.06 to 6.10 by changing apt sources.list and apt-get dist-upgrade. Here is where it crashed:

Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  x11-common xutils-dev
The following packages will be REMOVED:
  xorg-driver-fglrx
The following NEW packages will be installed:
  xutils-dev
The following packages will be upgraded:
  x11-common
1 upgraded, 1 newly installed, 1 to remove and 1109 not upgraded.
8 not fully installed or removed.
Need to get 0B/588kB of archives.
After unpacking 19.7MB disk space will be freed.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "pl_PL:pl:en_GB:en",
        LC_ALL = "pl_PL",
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
(Reading database ... 125547 files and directories currently installed.)
Removing xorg-driver-fglrx ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "pl_PL:pl:en_GB:en",
        LC_ALL = "pl_PL",
        LANG = "pl_PL.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
dpkg-divert: mismatch on divert-to
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx'
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx'
dpkg: error processing xorg-driver-fglrx (--remove):
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 xorg-driver-fglrx
E: Sub-process /usr/bin/dpkg returned an error code (1)

i haven't done anything wrong, just those dist-upgrade, it now crashes and i cannot do anything with apt...

will this be bug?

Revision history for this message
John Vivirito (gnomefreak) wrote :

Can you please attach the files in /var/log/dist-upgrade.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.