Phased Updates are one layer of protection for your system. Folks who disable this layer of protection should have the skills, experience, and willingness to troubleshoot problems and file bugs. You're volunteering to be a tester.
Only folks who know what they are doing should do this.
If you really want to bypass phasing, then insert the correct apt option into the command:
apt -o APT::Get::Always-Include-Phased-Updates=true upgrade
or
apt -o APT::Get::Always-Include-Phased-Updates=true install <package_name>
- Before using this option, it's wise to run
apt-cache policy <packagename>
to verify that the package you in question is really phasing. It's not a magic incantation to solve every apt-related problem.
But what if you have a whole lab of machines? And each is phasing at a different time, and it's a big mess?
The answer is NOT to disable phasing. Instead, have all your machines phase together by setting a common Machine-ID string.
Here's an example apt config file to set a Machine-ID string for apt. Let's call it /etc/apt/apt.conf.d/20phased-updates
. This apt-specific string, whatever you choose, should be identical for all machines that you want to phase together. Each machine in your lab gets this file.
// To have all your machines phase the same, set the same string in this field
// If commented out, apt will use /etc/machine-id to seed the random number generator
APT::Machine-ID "aaaabbbbccccddddeeeeffff";
Alternately, if you really want the latest and greatest for autoinstalls, AND subsequently to phase together....
// To have all your machines phase the same, set the same string in this field
// If commented out, apt will use /etc/machine-id to seed the random number generator
APT::Machine-ID "aaaabbbbccccddddeeeeffff";
// Always include phased updates
// After your initial build, you would comment this out.
// If left in place you will always include phased updates instead of phasing all machines together.
APT::Get::Always-Include-Phased-Updates "1";