Especially every package without a candidate version seems to have this
property set:

apt's depcache.cc around line 1500:
   if (Pkg->CurrentVer == 0 || Pkg->VersionList == 0 || CandidateVer == 0)
     Status = 2;   

and 
  inline bool Upgradable() const {return Status >= 1;};

which should probably be
  inline bool Upgradable() const {return Status >= 2 && CandidateVersion ;};

this would of course requires a rebuild of reverse dependencies and is
probably not entirely correct either.

** Also affects: apt (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896689

Title:
  <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
  'version'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/896689/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to