Я пытаюсь установить некоторые программы, но я столкнулся с неудовлетворенными зависимостями. Например, sudo apt-get upgrade
выдает
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
cups : Depends: libc-bin (>= 2.13)
E: Unmet dependencies. Try using -f.
, используя sudo apt-get -f install
выводит:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc-bin
The following NEW packages will be installed:
libc-bin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,168 kB of archives.
After this operation, 3,529 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
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: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
В качестве пользователя root я отредактировал файл /etc/sudoers.tmp
, и мой путь содержит /usr/local/sbin
, /usr/sbin
и /sbin
Любая помощь приветствуется!