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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to