" Ubuntu "

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 …


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…)

How to install GNU Radio, FFTW, RTL SDR, GrOsmoSDR, and more using PyBombs with dependencies, by rpm/deb or build from source

Recently I purchased a Mini SDR (DVB-T) from NooElec to play around with some RF and do some testing, but for some reason kept running into problems while trying to build GNU Radio on Debian (Ubuntu/Linux Mint) from the git repos.  I attempted to use the version from the standard repository, but unfortunately that version is old and out dated (I think 1.6 was in repo, but 1.7.2 is latest), so the only option was to build from source.  I swear I probably spent 4 hours trying to figure out why certain dependencies wouldn’t install, then I would get one to install, and another one would come up…add to that for the testing I wanted to do I needed to install FFTW, RTL SDR, and GrOsmoSDR, which is when I finally decided to find a better way to build from source (or find latest version deb/rpm). (more…)

Generate an inode report (file count) for Debian, CentOS, cPanel, RHEL, with INODES shell/bash script

If you have every used shared hosting, or are involved with the hosting business in any way, you should already know what an inode is. Each time a file is created, uploaded, and so on, an inode is created. This inode stores information like ownership, permissions, etc … basically all the metadata about the file. What is the purpose of limiting the amount of files/inodes? Because each shared host will have many customers on the same server, customers that have excessive amounts of inodes (anywhere from 100,000 to 500,000 and up), can cause a heavy load on the server during backups, general operation, and can be taxing on hard drives. Most of the time excessive amounts of inodes is due to cache scripts installed by the user, catchall email accounts, and normally the customer/user doesn’t even know they exist. Well fear no more, I have created a shell/bash script that will help generate reports, and soon notify you about inode usage… (more…)