Yesterday I was using Archbang, a distro derived from Arch Linux, and for some reason I couldn't update Pacman. After browsing for a while, I realized that it was a nonsense, very easy to solve ... I had run out of disk space. |
The error that appeared to me was similar to the following:
error: failed retrieving file 'extra.db' from mirrors.kernel.org: Failed writing body (417! = 1348)
The numbers changed, as well as the name of the file that I couldn't download… which made everything much more intriguing. My first suspicion was that the servers might be running bad, so I didn't give it much thought. After a few days, the error persisted which made me doubt my diagnosis. Something was wrong ...
The problem was that I had run out of disk space. To find out, it was enough to run:
df -h
My disk was quite empty, not the partition where my root was (which is where, for example, all the packages downloaded by Pacman are stored)
The most obvious and easy-to-apply solution is to delete the Pacman cache to free up space. This is achieved with a simple:
pacman-Scc