Ubuntu не может переустановить Apport / Python 2.7

Я пытался установить обновление поддержки языка, но оно не удалось, когда он попытался установить приложение Apport. Вот подробности:

installArchives() failed: (Reading database ... (Reading database ... 5%% (Reading database ... 10%% (Reading database ... 15%% (Reading database ... 20%% (Reading database ... 25%% (Reading database ... 30%% (Reading database ... 35%% (Reading database ... 40%% (Reading database ... 45%% (Reading database ... 50%% (Reading database ... 55%% (Reading database ... 60%% (Reading database ... 65%% (Reading database ... 70%% (Reading database ... 75%% (Reading database ... 80%% (Reading database ... 85%% (Reading database ... 90%% (Reading database ... 95%% (Reading database ... 100%% (Reading database ... 229681 files and directories currently installed.) Preparing to unpack .../00-apport_2.20.4-0ubuntu4.4_all.deb ... /var/lib/dpkg/info/apport.prerm: 19: /var/lib/dpkg/info/apport.prerm: pyclean: not found dpkg: warning: subprocess old pre-removal script returned error exit status 127 dpkg: trying script from the new package instead ... /var/lib/dpkg/tmp.ci/prerm: 19: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found dpkg: error processing archive /tmp/apt-dpkg-install-D4a81H/00-apport_2.20.4-0ubuntu4.4_all.deb (--unpack): subprocess new pre-removal script returned error exit status 127 /var/lib/dpkg/info/apport.postinst: 13: /var/lib/dpkg/info/apport.postinst: pycompile: not found *** Error in `/usr/bin/dpkg': munmap_chunk(): invalid pointer: 0x0000555a28eb3e98 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7f822304108b] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x1f8)[0x7f822304eed8] /usr/bin/dpkg(+0x20cd0)[0x555a27b55cd0] /usr/bin/dpkg(+0x21119)[0x555a27b56119] /usr/bin/dpkg(+0x283cd)[0x555a27b5d3cd] /usr/bin/dpkg(+0x17737)[0x555a27b4c737] /usr/bin/dpkg(+0x17915)[0x555a27b4c915] /usr/bin/dpkg(+0x17b5d)[0x555a27b4cb5d] /usr/bin/dpkg(+0xaed7)[0x555a27b3fed7] /usr/bin/dpkg(+0x20c0b)[0x555a27b55c0b] /usr/bin/dpkg(+0x20e01)[0x555a27b55e01] /usr/bin/dpkg(+0xa962)[0x555a27b3f962] /usr/bin/dpkg(+0x72fd)[0x555a27b3c2fd] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f8222fe83f1] /usr/bin/dpkg(+0x743a)[0x555a27b3c43a] ======= Memory map: ======== 555a27b35000-555a27b7a000 r-xp 00000000 fd:01 6029578 /usr/bin/dpkg 555a27d7a000-555a27d7d000 r--p 00045000 fd:01 6029578 /usr/bin/dpkg 555a27d7d000-555a27d7e000 rw-p 00048000 fd:01 6029578 /usr/bin/dpkg 555a27d7e000-555a27f92000 rw-p 00000000 00:00 0 555a289df000-555a2b6fd000 rw-p 00000000 00:00 0 [heap] 7f8221edc000-7f8221ef2000 r-xp 00000000 fd:01 27922954 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f8221ef2000-7f82220f1000 ---p 00016000 fd:01 27922954 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f82220f1000-7f82220f2000 r--p 00015000 fd:01 27922954 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f82220f2000-7f82220f3000 rw-p 00016000 fd:01 27922954 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f82220f3000-7f82220fe000 r-xp 00000000 fd:01 27918853 /lib/x86_64-linux-gnu/libnss_files-2.24.so 7f82220fe000-7f82222fd000 ---p 0000b000 fd:01 27918853 /lib/x86_64-linux-gnu/libnss_files-2.24.so 7f82222fd000-7f82222fe000 r--p 0000a000 fd:01 27918853 /lib/x86_64-linux-gnu/libnss_files-2.24.so 7f82222fe000-7f82222ff000 rw-p 0000b000 fd:01 27918853 /lib/x86_64-linux-gnu/libnss_files-2.24.so 7f82222ff000-7f8222305000 rw-p 00000000 00:00 0 7f8222305000-7f8222310000 r-xp 00000000 fd:01 27918857 /lib/x86_64-linux-gnu/libnss_nis-2.24.so 7f8222310000-7f822250f000 ---p 0000b000 fd:01 27918857 /lib/x86_64-linux-gnu/libnss_nis-2.24.so 7f822250f000-7f8222510000 r--p 0000a000 fd:01 27918857 /lib/x86_64-linux-gnu/libnss_nis-2.24.so 7f8222510000-7f8222511000 rw-p 0000b000 fd:01 27918857 /lib/x86_64-linux-gnu/libnss_nis-2.24.so 7f8222511000-7f8222527000 r-xp 00000000 fd:01 27918847 /lib/x86_64-linux-gnu/libnsl-2.24.so 7f8222527000-7f8222726000 ---p 00016000 fd:01 27918847 /lib/x86_64-linux-gnu/libnsl-2.24.so 7f8222726000-7f8222727000 r--p 00015000 fd:01 27918847 /lib/x86_64-linux-gnu/libnsl-2.24.so 7f8222727000-7f8222728000 rw-p 00016000 fd:01 27918847 /lib/x86_64-linux-gnu/libnsl-2.24.so 7f8222728000-7f822272a000 rw-p 00000000 00:00 0 7f822272a000-7f8222732000 r-xp 00000000 fd:01 27918849 /lib/x86_64-linux-gnu/libnss_compat-2.24.so 7f8222732000-7f8222931000 ---p 00008000 fd:01 27918849 /lib/x86_64-linux-gnu/libnss_compat-2.24.so 7f8222931000-7f8222932000 r--p 00007000 fd:01 27918849 /lib/x86_64-linux-gnu/libnss_compat-2.24.so 7f8222932000-7f8222933000 rw-p 00008000 fd:01 27918849 /lib/x86_64-linux-gnu/libnss_compat-2.24.so 7f8222933000-7f822294b000 r-xp 00000000 fd:01 27918874 /lib/x86_64-linux-gnu/libpthread-2.24.so 7f822294b000-7f8222b4b000 ---p 00018000 fd:01 27918874 /lib/x86_64-linux-gnu/libpthread-2.24.so 7f8222b4b000-7f8222b4c000 r--p 00018000 fd:01 27918874 /lib/x86_64-linux-gnu/libpthread-2.24.so 7f8222b4c000-7f8222b4d000 rw-p 00019000 fd:01 27918874 /lib/x86_64-linux-gnu/libpthread-2.24.so 7f8222b4d000-7f8222b51000 rw-p 00000000 00:00 0 7f8222b51000-7f8222b54000 r-xp 00000000 fd:01 27918839 /lib/x86_64-linux-gnu/libdl-2.24.so 7f8222b54000-7f8222d53000 ---p 00003000 fd:01 27918839 /lib/x86_64-linux-gnu/libdl-2.24.so 7f8222d53000-7f8222d54000 r--p 00002000 fd:01 27918839 /lib/x86_64-linux-gnu/libdl-2.24.so 7f8222d54000-7f8222d55000 rw-p 00003000 fd:01 27918839 /lib/x86_64-linux-gnu/libdl-2.24.so 7f8222d55000-7f8222dc7000 r-xp 00000000 fd:01 27923042 /lib/x86_64-linux-gnu/libpcre.so.3.13.3 7f8222dc7000-7f8222fc6000 ---p 00072000 fd:01 27923042 /lib/x86_64-linux-gnu/libpcre.so.3.13.3 7f8222fc6000-7f8222fc7000 r--p 00071000 fd:01 27923042 /lib/x86_64-linux-gnu/libpcre.so.3.13.3 7f8222fc7000-7f8222fc8000 rw-p 00072000 fd:01 27923042 /lib/x86_64-linux-gnu/libpcre.so.3.13.3 7f8222fc8000-7f8223186000 r-xp 00000000 fd:01 27918833 /lib/x86_64-linux-gnu/libc-2.24.so 7f8223186000-7f8223385000 ---p 001be000 fd:01 27918833 /lib/x86_64-linux-gnu/libc-2.24.so 7f8223385000-7f8223389000 r--p 001bd000 fd:01 27918833 /lib/x86_64-linux-gnu/libc-2.24.so 7f8223389000-7f822338b000 rw-p 001c1000 fd:01 27918833 /lib/x86_64-linux-gnu/libc-2.24.so 7f822338b000-7f822338f000 rw-p 00000000 00:00 0 7f822338f000-7f82233b4000 r-xp 00000000 fd:01 27923069 /lib/x86_64-linux-gnu/libselinux.so.1 7f82233b4000-7f82235b3000 ---p 00025000 fd:01 27923069 /lib/x86_64-linux-gnu/libselinux.so.1 7f82235b3000-7f82235b4000 r--p 00024000 fd:01 27923069 /lib/x86_64-linux-gnu/libselinux.so.1 7f82235b4000-7f82235b5000 rw-p 00025000 fd:01 27923069 /lib/x86_64-linux-gnu/libselinux.so.1 7f82235b5000-7f82235b7000 rw-p 00000000 00:00 0 7f82235b7000-7f82235dd000 r-xp 00000000 fd:01 27918824 /lib/x86_64-linux-gnu/ld-2.24.so 7f82237b7000-7f82237b9000 rw-p 00000000 00:00 0 7f82237d8000-7f82237dc000 rw-p 00000000 00:00 0 7f82237dc000-7f82237dd000 r--p 00025000 fd:01 27918824 /lib/x86_64-linux-gnu/ld-2.24.so 7f82237dd000-7f82237de000 rw-p 00026000 fd:01 27918824 /lib/x86_64-linux-gnu/ld-2.24.so 7f82237de000-7f82237df000 rw-p 00000000 00:00 0 7ffcb62d4000-7ffcb62f5000 rw-p 00000000 00:00 0 [stack] 7ffcb634e000-7ffcb6350000 r--p 00000000 00:00 0 [vvar] 7ffcb6350000-7ffcb6352000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

Я пробовал обновлять системное программное обеспечение с помощью sudo apt-get update и sudo apt-get install, но безрезультатно, так как он также не смог установить Apport. Я также попытался исправить Apport с помощью команд sudo update-alternatives --config python (тем не менее, он вернулся update-alternatives: error: no alternatives for python) и sudo apt install apport --reinstall, последний вернул еще одно длинное сообщение об ошибке, содержащее:

The following packages will be upgraded: apport 1 upgraded, 0 newly installed, 0 to remove and 72 not upgraded. 1 not fully installed or removed. Need to get 0 B/121 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 229681 files and directories currently installed.) Preparing to unpack .../apport_2.20.4-0ubuntu4.4_all.deb ... /var/lib/dpkg/info/apport.prerm: 19: /var/lib/dpkg/info/apport.prerm: pyclean: not found dpkg: warning: subprocess old pre-removal script returned error exit status 127 dpkg: trying script from the new package instead ... /var/lib/dpkg/tmp.ci/prerm: 19: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found dpkg: error processing archive /var/cache/apt/archives /apport_2.20.4-0ubuntu4.4_all.deb (--unpack): subprocess new pre-removal script returned error exit status 127 /var/lib/dpkg/info/apport.postinst: 13: /var/lib/dpkg/info/apport.postinst: pycompile: not found *** Error in `/usr/bin/dpkg': munmap_chunk(): invalid pointer: 0x000055b477ff6828 ***

Ну, я не знаю, что делать дальше. Если кто-то знает решение, пожалуйста, помогите мне, если сможете.

0
задан 15 July 2017 в 18:15

0 ответов

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

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