Introduction

I am really just linking some other great content here but there was something I had to figure out before I could follow the great guide by digital ocean.

I was getting these errors on the server after install when starting the install of dependencies:

W:Failed to fetch bzip2:/var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-amd64_Packages Hash Sum mismatch
E:Some index files failed to download. They have been ignored, or old ones used instead.

Fix

The fix is actually pretty easy, just need to remove the content of the /var/lib/apt/lists directory:

sudo rm /var/lib/apt/lists/*

then the next command as there will be a directory which won’t remove as it is full of stuff, the last deletes the folder.

sudo rm -R /var/lib/apt/lists/partial/*

sudo rmdir /var/lib/apt/lists/partial

and then run:

sudo apt-get update && sudo apt-get upgrade

 

Sorted it for me and I’m sure it will for you. Now get back to digital oceans guide to cacti setup. Here’s the link again.

Installing the Cacti Server Monitor on Ubuntu 12.04 Cloud Server

 

Install Cacti on Ubuntu 12.04
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.