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

Bug#700715: Again...



The problem from the original report disappeared (I have no clue how), but a similar problem appeared on another box, with another package : dpkg -L correctly list the installed files, while in python I get an empty list. In fact, running:

from apt import *

cache=Cache()
problems=[]
for pkg in cache:
    if pkg.installed != None:
        if pkg.installed_files == []:
            problems.append(pkg.name)
print('%s: %d' % (str(problems), len(problems)))


shows hundreds of cases where a package is installed and the list of installed files is empty!

I don't know where to start to debug that problem...

Snark on #debian-science


Reply to: