Size Problems


Came up against another apt-cacher-ng problem today, where an apt-get upgrade reports a size mismatch. Luckily though, found a post here on how to fix it, and this script a little bit down the page

echo Y | apt-get upgrade 2>&1 | grep "^Failed to" | cut -d" " -f4 | awk -F/ '{system("locate " $NF)}' | xargs rm 

What does it do? Well, I’m not exactly sure, but it fixes it 🙂 So this is just here for memory


%d bloggers like this: