LINUX.ORG.RU

Debian testing — проблема с аптом

 , ,


0

1
~$ sudo apt install alien
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 alien : Depends: rpm (>= 2.4.4-2) but it is not going to be installed
         Depends: rpm2cpio
 cpp-10 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 g++-10 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 gcc-10 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 lib32gcc-s1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 lib32stdc++6 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libasan6 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libatomic1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libc6-dev : Depends: libc6 (= 2.31-3) but 2.31-4 is to be installed
 libc6-i386 : Depends: libc6 (= 2.31-3) but 2.31-4 is to be installed
 libcc1-0 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libgcc-10-dev : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libgfortran5 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libgomp1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libitm1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 liblsan0 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libobjc-10-dev : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libobjc4 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libquadmath0 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libstdc++-10-dev : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libstdc++6 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libtirpc3:i386 : Depends: libgssapi-krb5-2:i386 (>= 1.17) but it is not going to be installed
 libtsan0 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libubsan1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libutempter0 xbitmaps
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  cpp-10 g++-10 gcc-10 lib32gcc-s1 lib32stdc++6 libasan6 libatomic1 libc-dev-bin libc6-dev libc6-i386 libcc1-0 libcom-err2:i386 libgcc-10-dev libgfortran5 libgomp1 libgssapi-krb5-2:i386 libitm1
  libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblsan0 libnsl-dev libobjc-10-dev libobjc4 libquadmath0 libssl1.1 libssl1.1:i386 libstdc++-10-dev libstdc++6 libtirpc-dev libtsan0
  libubsan1
Suggested packages:
  gcc-10-locales g++-10-multilib gcc-10-doc gcc-10-multilib glibc-doc krb5-doc:i386 krb5-user:i386 libstdc++-10-doc
The following NEW packages will be installed:
  libcom-err2:i386 libgssapi-krb5-2:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 libnsl-dev libssl1.1:i386 libtirpc-dev
The following packages will be upgraded:
  cpp-10 g++-10 gcc-10 lib32gcc-s1 lib32stdc++6 libasan6 libatomic1 libc-dev-bin libc6-dev libc6-i386 libcc1-0 libgcc-10-dev libgfortran5 libgomp1 libitm1 liblsan0 libobjc-10-dev libobjc4 libquadmath0
  libssl1.1 libstdc++-10-dev libstdc++6 libtsan0 libubsan1
24 upgraded, 9 newly installed, 0 to remove and 728 not upgraded.
7 not fully installed or removed.
Need to get 3,097 kB/220 MB of archives.
After this operation, 884 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://deb.debian.org/debian testing/main amd64 libssl1.1 amd64 1.1.1h-1 [1,550 kB]
Get:2 http://deb.debian.org/debian testing/main i386 libssl1.1 i386 1.1.1h-1 [1,547 kB]
Fetched 3,097 kB in 1s (2,704 kB/s)       
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libcom-err2:i386.
(Reading database ... 430998 files and directories currently installed.)
Preparing to unpack .../0-libcom-err2_1.45.6-1_i386.deb ...
Unpacking libcom-err2:i386 (1.45.6-1) ...
Selecting previously unselected package libkrb5support0:i386.
Preparing to unpack .../1-libkrb5support0_1.17-10_i386.deb ...
Unpacking libkrb5support0:i386 (1.17-10) ...
Selecting previously unselected package libk5crypto3:i386.
Preparing to unpack .../2-libk5crypto3_1.17-10_i386.deb ...
Unpacking libk5crypto3:i386 (1.17-10) ...
Selecting previously unselected package libkeyutils1:i386.
Preparing to unpack .../3-libkeyutils1_1.6.1-2_i386.deb ...
Unpacking libkeyutils1:i386 (1.6.1-2) ...
Preparing to unpack .../4-libssl1.1_1.1.1h-1_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1h-1) over (1.1.1g-1) ...
Selecting previously unselected package libssl1.1:i386.
Preparing to unpack .../5-libssl1.1_1.1.1h-1_i386.deb ...
Unpacking libssl1.1:i386 (1.1.1h-1) ...
Setting up libssl1.1:amd64 (1.1.1h-1) ...
Selecting previously unselected package libgssapi-krb5-2:i386.
(Reading database ... 431010 files and directories currently installed.)
Preparing to unpack .../libgssapi-krb5-2_1.17-10_i386.deb ...
Unpacking libgssapi-krb5-2:i386 (1.17-10) ...
Selecting previously unselected package libkrb5-3:i386.
Preparing to unpack .../libkrb5-3_1.17-10_i386.deb ...
Unpacking libkrb5-3:i386 (1.17-10) ...
Setting up libtirpc3:i386 (1.2.6-3) ...
Setting up libnsl2:i386 (1.3.0-2) ...
Setting up libnss-nis:i386 (3.1-4) ...
Setting up libcrypt1:i386 (1:4.4.17-1) ...
Setting up libgcc-s1:i386 (10.2.0-16) ...
Setting up libnss-nisplus:i386 (1.3-4) ...
Setting up libc6:i386 (2.31-4) ...
Setting up libssl1.1:i386 (1.1.1h-1) ...
Setting up libcom-err2:i386 (1.45.6-1) ...
Setting up libkrb5support0:i386 (1.17-10) ...
Setting up libk5crypto3:i386 (1.17-10) ...
Setting up libkeyutils1:i386 (1.6.1-2) ...
Setting up libkrb5-3:i386 (1.17-10) ...
Setting up libgssapi-krb5-2:i386 (1.17-10) ...
(Reading database ... 431019 files and directories currently installed.)
Preparing to unpack .../libstdc++6_10.2.0-16_amd64.deb ...
Unpacking libstdc++6:amd64 (10.2.0-16) over (10.2.0-13) ...
Setting up libstdc++6:amd64 (10.2.0-16) ...
(Reading database ... 431019 files and directories currently installed.)
Preparing to unpack .../00-libobjc4_10.2.0-16_amd64.deb ...
Unpacking libobjc4:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../01-libobjc-10-dev_10.2.0-16_amd64.deb ...
Unpacking libobjc-10-dev:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../02-libc6-dev_2.31-4_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-4) over (2.31-3) ...
Preparing to unpack .../03-libc-dev-bin_2.31-4_amd64.deb ...
Unpacking libc-dev-bin (2.31-4) over (2.31-3) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../04-libtirpc-dev_1.2.6-3_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.2.6-3) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../05-libnsl-dev_1.3.0-2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2) ...
Preparing to unpack .../06-libgomp1_10.2.0-16_amd64.deb ...
Unpacking libgomp1:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../07-libitm1_10.2.0-16_amd64.deb ...
Unpacking libitm1:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../08-libatomic1_10.2.0-16_amd64.deb ...
Unpacking libatomic1:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../09-libasan6_10.2.0-16_amd64.deb ...
Unpacking libasan6:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../10-liblsan0_10.2.0-16_amd64.deb ...
Unpacking liblsan0:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../11-libtsan0_10.2.0-16_amd64.deb ...
Unpacking libtsan0:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../12-libubsan1_10.2.0-16_amd64.deb ...
Unpacking libubsan1:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../13-libquadmath0_10.2.0-16_amd64.deb ...
Unpacking libquadmath0:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../14-g++-10_10.2.0-16_amd64.deb ...
Unpacking g++-10 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../15-gcc-10_10.2.0-16_amd64.deb ...
Unpacking gcc-10 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../16-libstdc++-10-dev_10.2.0-16_amd64.deb ...
Unpacking libstdc++-10-dev:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../17-libgcc-10-dev_10.2.0-16_amd64.deb ...
Unpacking libgcc-10-dev:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../18-libcc1-0_10.2.0-16_amd64.deb ...
Unpacking libcc1-0:amd64 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../19-cpp-10_10.2.0-16_amd64.deb ...
Unpacking cpp-10 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../20-libc6-i386_2.31-4_amd64.deb ...
Unpacking libc6-i386 (2.31-4) over (2.31-3) ...
Replaced by files in installed package libc6:i386 (2.31-4) ...
Preparing to unpack .../21-lib32gcc-s1_10.2.0-16_amd64.deb ...
Unpacking lib32gcc-s1 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../22-lib32stdc++6_10.2.0-16_amd64.deb ...
Unpacking lib32stdc++6 (10.2.0-16) over (10.2.0-13) ...
Preparing to unpack .../23-libgfortran5_10.2.0-16_amd64.deb ...
Unpacking libgfortran5:amd64 (10.2.0-16) over (10.2.0-13) ...
Setting up libobjc4:amd64 (10.2.0-16) ...
Setting up libgomp1:amd64 (10.2.0-16) ...
Setting up libasan6:amd64 (10.2.0-16) ...
Setting up libtirpc-dev:amd64 (1.2.6-3) ...
Setting up libquadmath0:amd64 (10.2.0-16) ...
Setting up libatomic1:amd64 (10.2.0-16) ...
Setting up libgfortran5:amd64 (10.2.0-16) ...
Setting up libubsan1:amd64 (10.2.0-16) ...
Setting up libnsl-dev:amd64 (1.3.0-2) ...
Setting up libc6-i386 (2.31-4) ...
Setting up libc-dev-bin (2.31-4) ...
Setting up libcc1-0:amd64 (10.2.0-16) ...
Setting up liblsan0:amd64 (10.2.0-16) ...
Setting up cpp-10 (10.2.0-16) ...
Setting up libitm1:amd64 (10.2.0-16) ...
Setting up libtsan0:amd64 (10.2.0-16) ...
Setting up libgcc-10-dev:amd64 (10.2.0-16) ...
Setting up lib32gcc-s1 (10.2.0-16) ...
Setting up lib32stdc++6 (10.2.0-16) ...
Setting up gcc-10 (10.2.0-16) ...
Setting up libobjc-10-dev:amd64 (10.2.0-16) ...
Setting up libc6-dev:amd64 (2.31-4) ...
Setting up libstdc++-10-dev:amd64 (10.2.0-16) ...
Setting up g++-10 (10.2.0-16) ...
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for libc-bin (2.31-3) ...
E: Could not configure 'libc6:i386'. 
E: Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Could not configure 'libc6:i386'. 
E: Could not perform immediate configuration on 'libkrb5-3:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Could not configure 'libc6:i386'. 
E: Could not perform immediate configuration on 'libgssapi-krb5-2:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Could not configure 'libc6:i386'. 
E: Could not perform immediate configuration on 'libtirpc3:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Could not configure 'libc6:i386'. 
E: Could not perform immediate configuration on 'libnsl2:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Could not configure 'libc6:i386'. 
E: Could not perform immediate configuration on 'libnss-nis:i386'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
~$ 

Ответ на: комментарий от gremlin_the_red
~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libutempter0 xbitmaps
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 728 not upgraded.
~$ sudo apt install alien
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 alien : Depends: rpm (>= 2.4.4-2) but it is not going to be installed
         Depends: rpm2cpio
 cpp-10 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 g++-10 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 gcc-10 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 lib32gcc-s1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 lib32stdc++6 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libasan6 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libatomic1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libc6-dev : Depends: libc6 (= 2.31-3) but 2.31-4 is to be installed
 libc6-i386 : Depends: libc6 (= 2.31-3) but 2.31-4 is to be installed
 libcc1-0 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libgcc-10-dev : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libgfortran5 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libgomp1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libitm1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 liblsan0 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libobjc-10-dev : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libobjc4 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libquadmath0 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libstdc++-10-dev : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libstdc++6 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libtirpc3:i386 : Depends: libgssapi-krb5-2:i386 (>= 1.17) but it is not going to be installed
 libtsan0 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
 libubsan1 : Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
tongubin ()
Ответ на: комментарий от tongubin

«Если вам кажется, что все идет хорошо, значит вы чего-то не заметили.»

Если система еще не умерла, то это случится в ближайшее время.

andytux ★★★ ()
Ответ на: комментарий от tongubin

Depends: gcc-10-base (= 10.2.0-13) but 10.2.0-16 is to be installed

как на счёт sudo apt install gcc-10-base=10.2.0-13? (ну и sudo apt-mark auto gcc-10-base потом)

dsxl ()
Ответ на: комментарий от einhander

Apt update делал?

Он update сделал, а upgrade не сделал, из выхлопа выше видно же, что у него почти 800 пактов не обновлено до актуальных.

gremlin_the_red ★★★★★ ()
Ответ на: комментарий от einhander

Не факт, возможно, просто давно не обновлялся. Ну как давно, gcc-10 (10.2.0-13) вышло 30 сентября, то есть полтора месяца.

gremlin_the_red ★★★★★ ()
Ответ на: комментарий от tongubin

Depends: gcc-10-base (= 10.2.0-13)

И никто не задался вопросом, а на кой чорт такая жёсткая зависимость, что даже другая паковка одного и того же релиза конфликтит? Мантайнеры не могут придумать решения вида:

Depends: gcc-10-base (>= 10.2.0)
Depends: gcc-10-base (<< 10.2.1)
anonymous ()
Ответ на: комментарий от tongubin

Антошка, привет, милый! Тебе на написать фулл апгрейд, тогда обновятся все твои пакеты.

Володенька

anonymous ()
Ответ на: комментарий от anonymous

Здравствуйте. Я не Антон, я Лев.

Фулл-апгрейд сделаю, спасибо

tongubin ()

Удали gcc сделай update/upgrade потом накати gcc

anonymous ()
Для того чтобы оставить комментарий войдите или зарегистрируйтесь.