fix grub after upgrade from jessie to stretch

After the upgrade from Jessie to Stretch, GRUB started throwing the following error: error: no symbol table. … Press any key to continue… If I pressed any key or didn’t press anything at all, system would boot normally after a few seconds. Still, the error message bothered me, so I fixed it by using the … Read morefix grub after upgrade from jessie to stretch

pac manager failure on debian stretch

After upgrading my laptop from Jessie 8.8 to Debian 9 Stretch on the 19th of June, 2017, PAC Manager stopped working. Specifically, it would start, but hanged when I tried to open a connection, either ssh or local. After searching around, I found the following post which seems to have given the solution: https://sourceforge.net/p/pacmanager/bugs/293/ The … Read morepac manager failure on debian stretch

enable arrow keys support in nslookup

I use nslookup daily, and I find the fact that I can’t access previous commands or the command history inside nslookup command prompt frustrating to say the least. Looking for a solution, I stumbled across an apple.stackexchange.com question and answer and solved the annoyance. In Debian, do the following (as root, or with sudo): apt-get … Read moreenable arrow keys support in nslookup

quick way to generate passwords under the terminal

Install pwgen package: apt-get install pwgen Then run the following command to generate one password of length 15 and include at least one capital letter, one number and one special character: pwgen -1 -c -n -y 15 Update (2018-09-23): For even more secure passwords, you should type the command as follows: pwgen -1 -c -n … Read morequick way to generate passwords under the terminal

apache2 mod_python version mismatch

I was getting some warnings in one machine’s Apache 2 web server error log regarding mod_python, see below: [Wed Jan 25 01:29:11.717727 2017] [:error] [pid 4389] python_init: Python version mismatch, expected ‘2.7.5+’, found ‘2.7.9’. [Wed Jan 25 01:29:11.717856 2017] [:error] [pid 4389] python_init: Python executable found ‘/usr/bin/python’. [Wed Jan 25 01:29:11.717864 2017] [:error] [pid 4389] … Read moreapache2 mod_python version mismatch

debian post-installation

Useful utilities I like to┬áinstall after a fresh Debian installation (or on a running system): vim-nox debfoster localepurge htop iotop mytop latencytop sysstat debian-archive-keyring (to avoid apt-get update warnings) apticron (list available updates of installed packages along with the differences in the two versions) hdparm (measure I/O speeds) virt-what (decide if we are running inside … Read moredebian post-installation