I can't install anything via either Software Center or terminal. When I try to run
sudo apt-get install <something>
bluez-cups : Depends: cups but it is not installed printer-driver-gutenprint : Depends: cups (>= 1.3.0) but it is not installed printer-driver-splix : Depends: cups (>= 1.5.0-3~) but it is not installed ubuntu-minimal : Depends: locales but it is not installed E: Unmet dependencies. Try using -f.
it's showing this error.
I have tried many solutions, but they didn't work.
Here is my
Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04
Here is my output of
sudo apt-get install -f
Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages will be REMOVED: bluez-cups printer-driver-gutenprint printer-driver-splix ubuntu-minimal 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. 6 not fully installed or removed. After this operation, 1221 kB disk space will be freed. Do you want to continue? [Y/n] y perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en", LC_ALL = (unset), LC_TIME = "bn_BD", LC_MONETARY = "bn_BD", LC_ADDRESS = "bn_BD", LC_TELEPHONE = "bn_BD", LC_NAME = "bn_BD", LC_MEASUREMENT = "bn_BD", LC_IDENTIFICATION = "bn_BD", LC_NUMERIC = "bn_BD", LC_PAPER = "bn_BD", LANG = "en_US.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: 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)