WordPress Errors and their solutions

Error: $ sudo gzip -d /usr/share/doc/wordpress/examples/setup-mysql.gz gzip: /usr/share/doc/wordpress/examples/setup-mysql.gz: No such file or directory Sol: The problem is the setup-mysql file has to be unzipped. Code: $ sudo gunzip /usr/share/doc/wordpress/examples/setup-mysql.gz Then retry $ sudo gzip -d /usr/share/doc/wordpress/examples/setup-mysql.gz Problem will be solved! Error: Neither /etc/wordpress/config-localhost.php nor /etc/wordpress/config-localhost.php could be found. Ensure one of them exists, is readable […]

Two most common errors

Lock error: E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?The reason is quite obvious from the error itself “another process using it”.The idea would be to look for another application which is being installed or update it. Wait […]