mktemp
is preferred totempfile
.
Configure Debian Apt Source List
Debian Apt Sources List Generator
Personally, I prefer stable with backports. Testing is also good but still update might introduce critial bugs sometimes. It is not easy to maitainly a stable and update to date balance. You can certainly use multi-sources, i.e., use stable, testing, sid and experimental at …