When running apt-get update
I receive checksum errors on some of the sources packages. I also note that apt-get clean
cannot resolve my local host name.
Please assist.
When running apt-get update
I receive checksum errors on some of the sources packages. I also note that apt-get clean
cannot resolve my local host name.
Please assist.
This could occur due to issues with the mirror you are using (in this case us.archive.ubuntu.com) Sometimes these issues are quickly resolved and simply trying again is effective. If not you need to edit your /etc/apt/sources.lst file and replace us.archive.ubuntu.com
with another up-to-date mirror from this list or perhaps the main server at archive.ubuntu.com
then run sudo apt-get clean
(which has nothing to do with your hostname) to clean the apt cache
Then proceed as normal with:
sudo apt-get update; sudo apt-get upgrade
This will remove the package lists and rebuild them. Sometimes they get corrupted (they are building with deltas) during syncing the mirrors.
sudo rm /var/lib/apt/lists/*
sudo apt-get update