Avoid to create useless files when configuring apt