LINUX.ORG.RU
ФорумJob

проблема с зависимостями пакетов, нужно устранить

 


0

1

Такая ситуация, на сервере установлен 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux, так же на нем установлен LCX, делаю запрос на контейнере,

apt-get install lib32z1 libncurses5:i386 libbz2-1.0:i386 lib32gcc1 lib32stdc++6 libtinfo5:i386 libcurl3-gnutls:i386
все ок, поставило, а вот на корневой ос получаю проблему
root@XXX:~# apt-get install lib32z1 libncurses5:i386 libbz2-1.0:i386 lib32gcc1 lib32stdc++6 libtinfo5:i386 libcurl3-gnutls:i                                         386
Reading package lists... Done
Building dependency tree
Reading state information... Done
lib32z1 is already the newest version (1:1.2.11.dfsg-2).
lib32gcc1 is already the newest version (1:10-20200324-1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 lib32stdc++6 : Depends: gcc-10-base (= 10.2.0-13) but 10-20200324-1 is to be installed
                Depends: lib32gcc-s1 (>= 10.2.0-13) but 10-20200324-1 is to be installed
 libbz2-1.0:i386 : Depends: libc6:i386 (>= 2.4) but it is not going to be installed
 libcurl3-gnutls:i386 : Depends: libbrotli1:i386 (>= 0.6.0) but it is not going to be installed
                        Depends: libc6:i386 (>= 2.28) but it is not going to be installed
                        Depends: libgnutls30:i386 (>= 3.6.14) but it is not going to be installed
                        Depends: libgssapi-krb5-2:i386 (>= 1.17) but it is not going to be installed
                        Depends: libidn2-0:i386 (>= 0.6) but it is not going to be installed
                        Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
                        Depends: libnettle8:i386 but it is not going to be installed
                        Depends: libnghttp2-14:i386 (>= 1.12.0) but it is not going to be installed
                        Depends: libpsl5:i386 (>= 0.16.0) but it is not going to be installed
                        Depends: librtmp1:i386 (>= 2.4+20131018.git79459a2-3~) but it is not going to be installed
                        Depends: libssh2-1:i386 (>= 1.7.0) but it is not going to be installed
                        Depends: zlib1g:i386 (>= 1:1.1.4) but it is not going to be installed
 libncurses5:i386 : Depends: libc6:i386 (>= 2.7) but it is not going to be installed
                    Recommends: libgpm2:i386 but it is not going to be installed
 libtinfo5:i386 : Depends: libc6:i386 (>= 2.16) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


нужно устранить

и что сдерживает?

судя по версии ядра это стабильная ветка дебиана и gcc, судя по его версии, был установлен не из репозитория (там 8). А возможно там не только gcc не из родного репозитория.

Либо удаляйте левые пакеты, либо пересобирайте все зависимости) или ищите пересобранное), либо ставьте новые версии gcc и пр. так, чтобы они лежали отдельно от системы (например в /opt)

xgatron
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.