Falha na instalação do driver gráfico FGLRX proprietário da AMD [fechado]

3

A instalação do driver gráfico FGLRX proprietário da AMD falha no 11.04, que foi atualizado de 10.10

sudo apt-get install fglrx fglrx-amdcccle
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libknewstuff2-4 libqt4-test kdesudo libqt4-help python-qt4 python-sip libvncserver0 libqtassistantclient4 update-manager-kde libqt4-scripttools python-kde4
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  fglrx fglrx-amdcccle
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/40,3 MB of archives.
After this operation, 124 MB of additional disk space will be used.
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 59749 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
(Reading database ... 511988 files and directories currently installed.)
Unpacking fglrx (from .../fglrx_2%3a8.840-0ubuntu4_amd64.deb) ...
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56859 package 'virtualbox-2.2':
 error in Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number
dpkg-divert: warning: parsing file '/var/lib/dpkg/status' near line 56860 package 'virtualbox-2.2':
 error in Config-Version string '2.2.4-47978_Ubuntu_jaunty': invalid character in revision number

[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 not recommended).

dpkg: error processing /var/cache/apt/archives/fglrx_2%3a8.840-0ubuntu4_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Selecting previously deselected package fglrx-amdcccle.
Unpacking fglrx-amdcccle (from .../fglrx-amdcccle_2%3a8.840-0ubuntu4_amd64.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/fglrx_2%3a8.840-0ubuntu4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por FrankD 11.05.2011 / 19:01

2 respostas

2

Tente remover o driver fglrx e, em seguida, reinstale-o.

sudo apt-get purge fglrx

Em seguida, você pode instalar o fglrx novamente a partir dos repositórios do Ubuntu ou usar o script fglrx que o líder da distribuição Kanotix escreveu.

Se você optar por instalar a partir dos repositórios do Ubuntu, basta executar

sudo apt-get install fglrx fglrx-amdcccle

Se você optar por usar o script Kanotix, que eu recomendo (ele faz o download do driver fglrx mais recente e contém patches para suportar versões mais recentes do kernel):

cd /tmp
wget http://kanotix.net/files/install-fglrx-debian.sh
chmod +x install-fglrx-debian.sh

Em seguida, pressione Control + Alt + F2. Você será colocado em um TTY. Entre com seu nome de usuário e senha e, em seguida, execute

cd /tmp
sudo ./install-fglrx-debian.sh
    
por Andrew Gunnerson 11.05.2011 / 19:45
0

Parece que seu status dpkg está altamente corrompido. (muitas linhas de dpkg-divert avisos)

Tente:

sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status

no terminal. Reinicialize e tente a instalação novamente. Se falhar, execute todo o procedimento em:   link

Eu já tive esse problema antes e isso realmente ajuda.

    
por hexafraction 06.06.2012 / 13:56

Tags