" Software "

How to fix mysql-server depends on mysql-server-5.5; however: Package mysql-server 5.5 is not configured yet.

Recently while attempting to setup a new GitLab server on Ubuntu 14.04 using my iGitLab installer script, I ran into an issue when the script attempted to install MySQL (mysql-server) through APT.  The specific error was  dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet.

I tried removing MySQL and reinstalling, even attempted to configure through mysql-server-5.5, none of which worked, but luckily I did find a way to easily fix this …

(more…)

How to fix Ubuntu/Debian apt-get 404 Not Found Package Repository Errors (Saucy, Raring, Quantal, Oneiric, Natty…)

If you’re using a normal version of Ubuntu such as Saucy, Raring, Quantal, Oneiric, Natty, Maverick, etc, you may have already (and will eventually) start getting “Failed to fetch 404 Not Found” errors when trying to run  apt-get update , or even sometimes running apt-get install , but fear not, it is easy to fix, and here’s how… (more…)

Using Grunt with grunt-replace to replace handlebars/mustache with package.json variables

Recently while testing out some Node.js modules for Grunt I came across grunt-replace, and my first though was, this would be great for setting up boilerplate PHP files for my WordPress plugins.  Because I already set the name, slug, version, and other details in the  package.json file, it would be great to use a template I could create for PHP files and just use Grunt to take the details from   package.json  and setup my base plugin files using a template syntax like Handlebars or Mustache.  Luckily for me it worked out perfectly, but did require a little bit of troubleshooting and head scratching, but here’s how to make it work … (more…)

Perl CPAN DBD::mysql error “FAILED–Further testing stopped” after upgrading Watch MySQL (XSLoader.pm, libmysqlclient.so)

I recently ran into an issue with Perl connecting to MySQL after upgrading a plugin for cPanel/WHM called Watch MySQL. After going through the logs files I determined the error was with a missing dependency file XSLoader.pm and libmysqlclient.so. The problem actually ended up being that those files were not installed because the Perl CPAN upgrade for DBD::mysql failed. After some research it was actually very easy to fix … (more…)