Comment 157 for bug 659438

Revision history for this message
Sebastian Heinlein (glatzor) wrote : RE: [Bug 659438] Re: Installation/Removal fails because of package which could not be located (failure in apt.Cache.required_download)

The reason for this bug is a missing call of pkgApplyStatus()
(apt-pkg/algorithms.cc). So we fail if there are packages in the
reqreinst state.

See also lp:~aptdaemon-developers/aptdaemon/fix-cannot-locate-file for a
regression test.

We should add something similar to CacheFile::CheckDeps
(cmdline/apt-get.cc) to apt.cache.Cache