Monday, 5 September 2016

Ubuntu Locale Warning from Perl


perl: warning: Please check that your locale settings:
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


Add the below two entries in ~/.bashrc


( or )

sudo locale-gen

sudo dpkg-reconfigure locales

Thursday, 1 September 2016

No apport report written because MaxReports is reached already

This error comes mostly because of the debian broken packages. To fix broken packages, follow the below simple steps

Lets say for instance, I have foreman broken packages, to fix foreman installation,

sudo dpkg --purge foreman
sudo dpkg --purge foreman-proxy
sudo dpkg --purge foreman-compute
sudo dpkg --purge foreman-libvert
sudo dpkg --purge foreman-sqlite3
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get update
sudo apt-get -f install