Я не знаю, что произошло, но внезапно, без причины, никакие приложения и пакеты не могли быть установлены. Когда я хочу установить пакет с sudo apt-get install
, я получаю следующую ошибку:
mpiuser@host:~$ sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl
libpango-perl librarian0 rarian-compat sgml-data
Suggested packages:
docbook docbook-dsssl docbook-xsl docbook-defguide libfont-freetype-perl
libgtk2-perl-doc perlsgml w3-recs opensp libxml2-utils dwww menu deborphan tasksel
The following NEW packages will be installed:
docbook-xml libcairo-perl libept1.4.12 libglib-perl libgtk2-perl
libpango-perl librarian0 rarian-compat sgml-data synaptic
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/3,441 kB of archives.
After this operation, 17.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up install-info (5.2.0.dfsg.1-2) ...
/etc/environment: line 2: /home/mpiuser/mpich1/bin: Is a directory
dpkg: error processing package install-info (--configure):
subprocess installed post-installation script returned error exit status 126
E: Sub-process /usr/bin/dpkg returned an error code (1)
Это также верно, когда я хочу установить приложение из программного центра Ubuntu.
Это сообщение об ошибке:
Что мне делать? Я не хочу переустанавливать Ubuntu.
этот код решил мою проблему
sudo mv /var/lib/dpkg/info/install-info.postinst /var/lib/dpkg/info/install-info.postinst.bad
export QT_SELECT=qt4
прежде./makeParaView
, и я смог установить ParaView без проблем. Большое спасибо за справку! – Kaszt 27 August 2017 в 16:28