Mirror using apt-mirror and exclud certain sections/categories
- by Onitlikesonic
I'm currently using apt-mirror to create a local mirror of the debian repositories.
As the mirrored repositories will be used only by machines destined to be headless servers and as an effort to reduce the current mirroring size (around 75GB), categories like games and possibly others will never be needed.
How can I go about specifying (on the mirror.list perhaps?) what sections/categories I want to be excluded from the mirroring?
Maybe a bit subjective, but apart from games what other sections/categories could be "safely" ignored from the mirroring for my environment purposes?
My mirror.list looks as below since all the machines are using precise.
# MAIN
deb-amd64 http://archive.ubuntu.com/ubuntu precise main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu precise main restricted universe multiverse
# SECURITY
deb-amd64 http://archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse
deb-i386 http://archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse
Also, what others would you recommend adding to the list to be mirrored for a relatively stable environment? Again I understand this is subjective, just looking for some pointers.
Much appreciated in advance