软件安装失败!

软件安装失败!

每当我尝试在笔记本电脑上安装软件时都会出现同样的错误,例如:我想安装帕武控制。因此,我打开终端并输入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)

这是什么问题?如何解决?

答案1

您可以尝试修复 apt-get。尝试运行:sudo apt-get -f install,您是否尝试修改...呃,您的 sudoers 文件?您可以尝试以下操作:ldconfig

或者您是否尝试安装不同于您版本的 ubuntu 的软件包?

相关内容