On 14 March 2013 06:38, Julian Andres Klode <[email protected]> wrote:
> On Thu, Mar 14, 2013 at 06:21:01AM +0800, Daniel Hartwig wrote:
>> On 13 March 2013 23:18, David Kalnischkies
>> <[email protected]> wrote:
>> > On Wed, Mar 13, 2013 at 2:39 PM, Julien Puydt <[email protected]> 
>> > wrote:
>> >> 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.
>> >
>> > The problem is that python-apt assumes a specific filename for info files:
>> > http://anonscm.debian.org/loggerhead/apt/python-apt/debian-sid/annotate/head:/apt/package.py#L1048
>> >
>> > This changed with multi-arch as e.g. libraries will have the architecture
>> > attached to its name rather than the name alone as filename. So python-apt
>> > needs to look for both filename-styles until we found a better way to find
>> > the filename …
>>
>> dpkg -L is one option.
>
> I don't like creating processes. I fixed this in the debian-sid branch;
> I'll ask the RT whether we can include this in wheezy.

Right.  Hopefully during the next cycle libdpkg will be useful here.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to