package libselinux1:amd64 2.7-2build2 failed to install/upgrade: пакет libselinux1:amd64 2.7-2build2 не может быть настроен, так как libselinux1:i386 другой версии (2.2.2-1ubuntu0.1)

Bug #1819817 reported by Bootch
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libselinux (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Ubuntu 14.04 LTS.

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
apt-cache policy libselinux1
libselinux1:
  Installed: 2.7-2build2
  Candidate: 2.7-2build2
  Version table:
 *** 2.7-2build2 0
        500 http://ru.archive.ubuntu.com/ubuntu/ bionic/main amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen
do-release-upgrade
My system upgraded from 14.04 to 16.04 smoothly

4) What happened instead
do-release-upgrade
  Considering binutils-common:amd64 0 as a solution to binutils:amd64 12
  Holding Back binutils:amd64 rather than change binutils-common:amd64
Investigating (6) libc6-dev [ amd64 ] < 2.19-0ubuntu6.14 -> 2.27-3ubuntu1 > ( libdevel )
Broken libc6-dev:amd64 Ломает on binutils [ amd64 ] < 2.24-5ubuntu14.2 -> 2.30-21ubuntu1~18.04 > ( devel ) (< 2.26)
  Considering binutils:amd64 12 as a solution to libc6-dev:amd64 39
  Upgrading binutils:amd64 due to Breaks field in libc6-dev:amd64
Investigating (6) binutils [ amd64 ] < 2.24-5ubuntu14.2 -> 2.30-21ubuntu1~18.04 > ( devel )
Broken binutils:amd64 Зависит on binutils-common [ amd64 ] < none -> 2.30-21ubuntu1~18.04 > ( devel ) (= 2.30-21ubuntu1~18.04)
  Considering binutils-common:amd64 0 as a solution to binutils:amd64 12
  Holding Back binutils:amd64 rather than change binutils-common:amd64
Investigating (7) libc6-dev [ amd64 ] < 2.19-0ubuntu6.14 -> 2.27-3ubuntu1 > ( libdevel )
Broken libc6-dev:amd64 Ломает on binutils [ amd64 ] < 2.24-5ubuntu14.2 -> 2.30-21ubuntu1~18.04 > ( devel ) (< 2.26)
  Considering binutils:amd64 12 as a solution to libc6-dev:amd64 39
  Upgrading binutils:amd64 due to Breaks field in libc6-dev:amd64
Investigating (7) binutils [ amd64 ] < 2.24-5ubuntu14.2 -> 2.30-21ubuntu1~18.04 > ( devel )
Broken binutils:amd64 Зависит on binutils-common [ amd64 ] < none -> 2.30-21ubuntu1~18.04 > ( devel ) (= 2.30-21ubuntu1~18.04)
  Considering binutils-common:amd64 0 as a solution to binutils:amd64 12
  Holding Back binutils:amd64 rather than change binutils-common:amd64
Investigating (8) libc6-dev [ amd64 ] < 2.19-0ubuntu6.14 -> 2.27-3ubuntu1 > ( libdevel )
Broken libc6-dev:amd64 Ломает on binutils [ amd64 ] < 2.24-5ubuntu14.2 -> 2.30-21ubuntu1~18.04 > ( devel ) (< 2.26)
  Considering binutils:amd64 12 as a solution to libc6-dev:amd64 39
  Upgrading binutils:amd64 due to Breaks field in libc6-dev:amd64
Investigating (8) binutils [ amd64 ] < 2.24-5ubuntu14.2 -> 2.30-21ubuntu1~18.04 > ( devel )
Broken binutils:amd64 Зависит on binutils-common [ amd64 ] < none -> 2.30-21ubuntu1~18.04 > ( devel ) (= 2.30-21ubuntu1~18.04)
  Considering binutils-common:amd64 0 as a solution to binutils:amd64 12
  Holding Back binutils:amd64 rather than change binutils-common:amd64
Investigating (9) libc6-dev [ amd64 ] < 2.19-0ubuntu6.14 -> 2.27-3ubuntu1 > ( libdevel )
Broken libc6-dev:amd64 Ломает on binutils [ amd64 ] < 2.24-5ubuntu14.2 -> 2.30-21ubuntu1~18.04 > ( devel ) (< 2.26)
  Considering binutils:amd64 12 as a solution to libc6-dev:amd64 39
  Upgrading binutils:amd64 due to Breaks field in libc6-dev:amd64
Investigating (9) binutils [ amd64 ] < 2.24-5ubuntu14.2 -> 2.30-21ubuntu1~18.04 > ( devel )
Broken binutils:amd64 Зависит on binutils-common [ amd64 ] < none -> 2.30-21ubuntu1~18.04 > ( devel ) (= 2.30-21ubuntu1~18.04)
  Considering binutils-common:amd64 0 as a solution to binutils:amd64 12
  Holding Back binutils:amd64 rather than change binutils-common:amd64
Done

Повреждённые пакеты

Система содержит повреждённые пакеты, которые не могут быть
исправлены данной программой. Пожалуйста, исправьте их, используя
synaptic или apt-get, прежде чем продолжить.

Подготовка к обновлению завершилась неудачно

Подготовки системы к обновлению не удалась, будет запущена программа
отчетов об ошибках.

Восстановление первоначального состояния системы

Прерывание
Чтение списков пакетов... Выполнено
Построение дерева зависимостей
Чтение информации о состоянии... Выполнено
Построение структуры данных... Выполнено
=== Command terminated with exit status 1

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libselinux1:amd64 2.7-2build2
ProcVersionSignature: Ubuntu 4.4.0-124.148~14.04.1-generic 4.4.117
Uname: Linux 4.4.0-124-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
Date: Wed Mar 13 10:44:14 2019
Dependencies:
 gcc-4.9-base 4.9.3-0ubuntu4 [origin: unknown]
 libc6 2.19-0ubuntu6.14
 libgcc1 1:4.9.3-0ubuntu4
 libpcre3 2:8.42-1+ubuntu14.04.1+deb.sury.org+1 [origin: unknown]
 multiarch-support 2.19-0ubuntu6.14
DuplicateSignature: package:libselinux1:amd64:2.7-2build2:пакет libselinux1:amd64 2.7-2build2 не может быть настроен, так как libselinux1:i386 другой версии (2.2.2-1ubuntu0.1)
ErrorMessage: пакет libselinux1:amd64 2.7-2build2 не может быть настроен, так как libselinux1:i386 другой версии (2.2.2-1ubuntu0.1)
InstallationDate: Installed on 2015-12-01 (1197 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.8
 apt 1.0.1ubuntu2.20
SourcePackage: libselinux
Title: package libselinux1:amd64 2.7-2build2 failed to install/upgrade: пакет libselinux1:amd64 2.7-2build2 не может быть настроен, так как libselinux1:i386 другой версии (2.2.2-1ubuntu0.1)
UpgradeStatus: Upgraded to xenial on 2019-03-13 (0 days ago)

Revision history for this message
Bootch (di-man) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Hello,

dpkg: ошибка при обработке пакета libselinux1:amd64 (--configure):
 пакет libselinux1:amd64 2.7-2build2 не может быть настроен, так как libselinux1:i386 другой версии (2.2.2-1ubuntu0.1)

You have an i386 version of 14.04's libselinux1 installed and the upgrade tool tried to install the amd64 version of 18.04's libselinux1.

None of the tools expect to skip an LTS release, I don't know how well upgrading from 14.04 LTS to 18.04 LTS directly will go. Does this sound familiar?

The tools also expect i386 and amd64 versions of packages to be kept in lockstep if you are going to have them both installed simultaneously. If you don't know why the i386 versions are installed, maybe you can make some progress by purging them with eg apt-get purge libselinu1:i386

I hope this helps.

Thanks

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.