[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#844476: apt: "apt autoremove --purge" reports different status (# of pkgs to upgrade) than "apt upgrade"



On Wed 2016-11-16 22:42:04 +0900, David Kalnischkies wrote:
> On Wed, Nov 16, 2016 at 02:40:59PM +0900, Daniel Kahn Gillmor wrote:
>> weird that it says "1 not upgraded" in response to "apt autoremove"
>> but "0 not upgraded" in response to "apt upgrade", eh?
>
> I smell Multi-Arch:same version-screw. The way we tell the resolver to
> not travel down this road is by reseting the candidate version – but
> that means it has no chance to know later on that that package was
> "upgradeable"…
>
> The usual resolver debug flags could be interesting:
> -o Debug::pkgDepCache::Marker=1 -o Debug::pkgProblemResolver=1
>
> Please also save your /var/lib/dpkg/status and /var/lib/apt/lists/
> somewhere as resolver things are highly state dependent and disappear
> usually within a few mirror updates.
>
> And as you have a new enough apt version, lets run apt with
> -o Dir::Log::solver=/tmp/edsp.log.xz
> also as that should collect all relevant information of system state for
> the resolver in one still big but at least highly compressed file
> I might want to have later if my guess from above is completely wrong.

which commands did you want me to run with these options?

      --dkg

Attachment: signature.asc
Description: PGP signature


Reply to: