xml2-config é diferente do mesmo arquivo no sistema

0

Eu segui este procedimento para restaurar uma lista de pacotes previamente exportada em um novo sistema. No final do procedimento, depois de sudo apt-get dselect-upgrade -y , recebi esta mensagem:

[cut]lot of output, everything OK[cut]

Errors were encountered while processing:
 /var/cache/apt/archives/libsensors4_1%3a3.3.1-2ubuntu1_i386.deb
 /var/cache/apt/archives/gcc-4.4-base_4.4.7-1ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

A saída completa está disponível em paste.ubuntu.com . /etc/sources.list content também está disponível aqui .

Então eu digitei novamente sudo apt-get dselect-upgrade -y . Este é o erro:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libxslt1-dev:i386 : Depends: libxml2-dev:i386 (>= 2.6.26) but it is not installed
E: Unmet dependencies. Try using -f.

E tentando sudo apt-get -f install :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libxml2-dev:i386
The following NEW packages will be installed:
  libxml2-dev:i386
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
5 not fully installed or removed.
Need to get 0 B/761 kB of archives.
After this operation, 2,206 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
(Reading database ... 372874 files and directories currently installed.)
Unpacking libxml2-dev:i386 (from .../libxml2-dev_2.7.8.dfsg-5.1ubuntu4.3_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxml2-dev_2.7.8.dfsg-5.1ubuntu4.3_i386.deb (--unpack):
 './usr/bin/xml2-config' is different from the same file on the system
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libxml2-dev_2.7.8.dfsg-5.1ubuntu4.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Outras pessoas tiveram problemas semelhantes e eu tentei seguir esta resposta , mas sem poder resolver. Você pode me ajudar?

    
por Paolo 10.12.2012 / 17:04

1 resposta

0

É um bug conhecido , receio. libxml2-dev está marcado como co-instalável em vários arcos, mas na verdade não é.

Desinstalar: apt-get remove libxml2-dev:i386

    
por tumbleweed 10.12.2012 / 20:37