I'm trying to customize a LiveCD, but I can't manage to fit it on a normal CD. So I investigated, and came across a few files of which I don't know if it's safe to remove them.
Maybe you can help me there?
I don't care if the files get recreated every time, as I remove them just before I start packing everything into a new ISO. So it'll still save me some space.
The files:
/var/cache/apt-xapian-index/index.1/postlist.DB- This file seems pretty useless to me, and it keeps growing every time. It's now at a 38MB, while I could have sworn it was only 27MB the last time I checked.
/var/cache/apt-xapian-index/index.1/termlist.DB- Same story as
postlist.DB.
- Same story as
- The files in
/var/lib/apt/lists/- Seems to me that those are cached files which get automatically recreated when you run
apt-get update, is this correct? I don't really dare to remove them unless I'm sure in case I break something. All those files together are about 50MB.
- Seems to me that those are cached files which get automatically recreated when you run
/boot/initrd.img-3.0.0-12-generic- I'm not at all sure of this one... But doesn't this file get automatically created when the user installs the system to his hard drive? I thought the
initrd.lzfile in thecasperdirectory inside the ISO already contained the initrd stuff to boot the liveCD.
- I'm not at all sure of this one... But doesn't this file get automatically created when the user installs the system to his hard drive? I thought the
/var/cache/debconf/templates.dat- Doesn't this automatically get recreated when some runs
apt-get update?
- Doesn't this automatically get recreated when some runs
- The rest of the files inside
/var/cache/apt-xapian-index/index.1- Aren't they all cache files which automatically get recreated?
You don't have to tell me about all the files in one answer. But if you know one or more of them, I'd be grateful if you told me.
