xml2-config отличается от того же файла в системе

Я следовал этой процедуре , чтобы восстановить ранее экспортированный список пакетов в новой системе. В конце процедуры, после sudo apt-get dselect-upgrade -y, я получил это сообщение:

[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)

Полный вывод доступен на paste.ubuntu.com . /etc/sources.list содержание также доступно здесь .

Затем я снова набрал sudo apt-get dselect-upgrade -y. Это ошибка:

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.

И пытается 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)

У других людей была похожая проблема, и я пытался следовать этому ответу , но без возможности решить. Вы можете мне помочь?

0
задан 13 April 2017 в 15:23

1 ответ

Это известная ошибка , я боюсь. libxml2-dev помечена как многоархитивная совместная установка, но на самом деле это не так.

Удалите его: apt-get remove libxml2-dev:i386

0
ответ дан 13 April 2017 в 15:23

Другие вопросы по тегам:

Похожие вопросы: