I am building an image for an embedded Linux based on Debian. I did use
apt-get update before on the device that I want to use as a base for that image, so the lists under
/var/lib/apt/lists are quite large (almost 100 MB in size).
I want to keep
apt-get functionality (so I don't want to remove apt repositories) but I want to free the space used up in these lists (the lists almost double the size of the image).
Does anyone know how to do that? Can I just delete the files under