update

Not enough disk space to update linux

I sometimes get an error from the package manager when trying to update my system. The error reports that I don't have enough disk space. I'm running Xubuntu 14.04. Here's the solution I found.

Tags linux kernel update

Using Batch API in hook_update_N in Drupal 7

I just spent a lot of time figuring out why calling batch_process() would fail when I called it from a hook_update_N() function. I am using Drupal 7.

I wanted to insert terms in a vocabulary by using the taxonomy_csv API. This requires the following code.

Tags drupal batch update