1

Apt-get dist-upgrade does not upgrade a package despite having source for all of its dependencies. This only happens when the upgrade is limited to offline sources/local repository(which still contains all dependencies). Most notably, the package does get upgraded with a second upgrade call, which is not required with online sources.

Can anyone provide some insight into this behavior? Or at least what specific steps to follow to debug it.

Edit: System version is Ubuntu 24.04 and apt version is 2.7.14. Phased updates are disabled in apt configuration using:

APT::Get::Always-Include-Phased-Updates true;

Although I am unsure whether phased updates would have an effect in two subsequent upgrade calls.

The package in question is internal and I can't discuss specific details. Apt-cache policy shows that apt correctly recognizes newer version as an existing candidate for upgrade even before the first upgrade call.

David
  • 11

0 Answers0