You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jammy: Remove cached data for local repos before install
We don't really need to cache these since they are locally anyway.
It can also cause inconsistencies between builds if the repo config is
different, for instance during tests when swithcing between signed and
unsigned repos.
Signed-off-by: Brian Goff <[email protected]>
// The apt solver always tries to select the latest package version even when constraints specify that an older version should be installed and that older version is available in a repo.
160
192
// This leads the solver to simply refuse to install our target package if the latest version of ANY dependency package is incompatible with the constraints.
161
193
// To work around this we first install the .deb for the package with dpkg, specifically ignoring any dependencies so that we can avoid the constraints issue.
162
194
// We then use aptitude to fix the (possibly broken) install of the package, and we pass the aptitude solver a hint to REJECT any solution that involves uninstalling the package.
163
195
// This forces aptitude to find a solution that will respect the constraints even if the solution involves pinning dependency packages to older versions.
0 commit comments