← Back to team overview

touch-packages team mailing list archive

[Bug 1513192] [NEW] Fail to Install .deb using Python 3.4

 

Public bug reported:

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

** Affects: python-apt (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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 15.04
- Release:	15.04
+ Description:	Ubuntu 14.04
+ Release:	14.04
+ 
  
  Package version: 0.9.3.5ubuntu1

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1513192

Title:
  Fail to Install .deb using Python 3.4

Status in python-apt package in Ubuntu:
  New

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

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