apt не работает, полагаясь на неработающую версию Perl

229
wesleyjconnor

пытаясь обновить пакеты на pibian, я сталкиваюсь со следующими проблемами, но все проблемы, которые нужно решить, включают обновление perl, что невозможно, если apt полагается на сломанный perl. На данный момент все, что я могу сделать, это переустановить ОС

pi@raspberrypi:~ $ perl -version  This is perl 5, version 20, subversion 2 (v5.20.2) built for arm- linux-gnueabihf-thread-multi-64int (with 100 registered patches, see perl -V for more detail)  Copyright 1987-2015, Larry Wall  Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.  Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.  pi@raspberrypi:~ $ sudo apt-get upgrade -y Reading package lists... Done Building dependency tree  Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: bind9-host cpp-4.9 curl g++-4.9 gcc-4.9 gcc-4.9-base gir1.2-gdkpixbuf-2.0 isc-dhcp-client isc-dhcp-common libasan1 libatomic1 libavcodec56 libavformat56 libavresample2 libavutil54 libbind9-90 libcurl3 libcurl3-gnutls libdns-export100 libdns100 libgcc-4.9-dev libgcc1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgfortran3 libgomp1 libicu52 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90 liblwres90 libpoppler46 libstdc++-4.9-dev libstdc++6 libswscale3 libtiff5 libubsan0 libvorbis0a libvorbisenc2 libvorbisfile3 libxml2 plexmediaserver-installer poppler-utils rsync sensible-utils 48 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. Need to get 0 B/41.1 MB of archives. After this operation, 38.9 kB disk space will be freed. Reading changelogs... Done debconf: Perl may be unconfigured (Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at (eval 1) line 2. BEGIN failed--compilation aborted at (eval 1) line 2. ) -- aborting dpkg: unrecoverable fatal error, aborting: conflicting diversions involving `/libpod-latex-perl' or `/usr/shave/maN/man1/Sh.1.gz' E: Sub-process /usr/bin/dpkg returned an error code (2) 
1
Сначала запустите `apt clean && apt update && apt upgrade`. GAD3R 6 лет назад 0
как убрали `strict.pm`? Если случайные файлы были удалены, то да, программа не будет работать thrig 6 лет назад 1
я не уверен, как он был удален, возможно, ранее произошел сбой / прервано обновление wesleyjconnor 6 лет назад 0

0 ответов на вопрос

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