当我试图在我的笔记本电脑上安装软件时,我也会遇到同样的错误,例如:我想安装Pavucontrol。所以,我打开终端,输入sudo apt-get install pavucontrol,我的终端输出是:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgconfmm-2.6-1c2 libglademm-2.4-1c2a libpulse-mainloop-glib0 padevchooser
paman paprefs pavumeter pulseaudio-module-zeroconf
The following NEW packages will be installed:
libgconfmm-2.6-1c2 libglademm-2.4-1c2a libpulse-mainloop-glib0 padevchooser
paman paprefs pavucontrol pavumeter pulseaudio-module-zeroconf
0 upgraded, 9 newly installed, 0 to remove and 172 not upgraded.
1 not fully installed or removed.
Need to get 0B/345kB of archives.
After this operation, 2044kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "el_GR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
dpkg: `ldconfig' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)有什么问题,我该如何解决?
发布于 2013-10-19 16:34:08
你可以试着修理。试着运行: sudo apt-获取-f安装并尝试修改.呃,你的行凶者档案?你可以试试这个:ldconfig
或者,您是否尝试从不同版本的ubuntu安装软件包?
https://askubuntu.com/questions/361175
复制相似问题