I'd like to create my own repository for personal use across a number of machines. Packages will be signed as usual and some of the packaged software will be the same as provided by the official Debian and Ubuntu repositories, but (usually) newer - but not always, sometimes it will be the same.
Again, my repository will contain only a subset of the packages available in the official repositories.
Which method is easier to maintain if this is a personal repository:
- fake the version number of the packages to be always x+100 or similar, where x would be the major version of the original upstream software
- pin it using APT pinning
APT pinning is still a somewhat arcane concept to me. I have used it, but it also led to some unusual and unwanted problems in the past.
The idea is that my own repository takes precedence for packages available in the official and my repository alike.