Fail to Install .deb using Python 3.4

Bug #1513192 reported by Vitor Villar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

There is a problem while i install an External Deb package.

I receive this error: dpkg: error: unable to read filedescriptor flags for <package status and progress file descriptor>: Bad file descriptor

I'm using Python 3.4 and in this version, the files opened by a child's processes are non-inheritable by default. So, i read somewhere that need to set the inheritable on the file descriptor.

I tried to look on DebPackage class looking for the file descriptor to set the flag by my hands but i didn't find anything where i cant set that. So i opening this bug to fix that.

Description: Ubuntu 14.04
Release: 14.04

Package version: 0.9.3.5ubuntu1

Vitor Villar (vitorn)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.