How to clear apt-cacher cache – Ubuntu 14.04 – apt-cacher: Cache Full

We have a server running apt-cacher to help cache Ubuntu repositories.  However, after about 2 years of usage the disk on the server has filled up.  I discovered this after trying to update my Ubuntu desktop and got the following error:

503  apt-cacher: Cache Full

Here is how to clear the apt-cache cache.

sudo service apt-cacher stop
sudo rm -rf /var/cache/apt-cacher-ng/
sudo mkdir -p /var/cache/apt-cacher-ng/{headers,import,packages,private,temp}
sudo service apt-cacher start

How To Clear Your Apple Maps Search History in iOS 8

I wanted to clear my Apple Map search history because it was auto-completing the wrong things. However, it isn’t very obvious how to clear your Apple Map search history. Here is how I cleared it:

1 – Open the Apple Maps app.

2 – Click into the search bar at the top.

Clearing your Apple Map search history.
Click into the search bar at the top

3 – Click on favourites

Clearing the search history on Apple Maps
Click on the favourites button

4 – Click the clear button.

Push the Clear Button
Click on the clear button!

Apple are generally great at usability.  However, this simply doesn’t make sense to me and seems massively confusing. I wish that Apple would add a control clearing the search history from within the iPhone setting app. This would fit in with their general settings paradigm and is exactly how they do the clearing of Safari browser history.

Hope this helps someone.