[Bug 1177720] Re: Problem with custom InstallProgress

Julian Andres Klode juliank at ubuntu.com
Sun Mar 16 19:47:38 UTC 2014


Nobody except you seems to have used this DepCache.commit() The problem
is that we do not set the child_pid attribute of the progress handler,
thus failing. If we do this, we hit some more bugs, which I fixed in the
attached patch.

Fixed in Debian git, commits:

http://anonscm.debian.org/gitweb/?p=apt/python-apt.git;a=commit;h=47dfb3fac23721f76fc3084835f2c3c6382777ce
http://anonscm.debian.org/gitweb/?p=apt/python-apt.git;a=commit;h=cd47e3e7e0a87ead87724d0120d408b7993e94c7 

** Also affects: python-apt (Debian)
   Importance: Undecided
       Status: New

** Changed in: python-apt (Debian)
       Status: New => Fix Committed

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

Title:
  Problem with custom InstallProgress

Status in “python-apt” package in Ubuntu:
  Confirmed
Status in “python-apt” package in Debian:
  Fix Committed

Bug description:
  Hello,

  I'm using Ubuntu 12.04.2 LTS and python-apt 0.8.3ubuntu7. I wrote a
  small Python program (attached) to install a package. It doesn't have
  custom fork(), but program behaves like it does.

  aleksi at ubuntu-virtual-server:~$ sudo ./test.py
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Fetched 0 B in 0s (0 B/s)
  custom fork found
  got pid: 9610
  start_update
  got pid: 0
  got fd: 4
  finish_update
  aleksi at ubuntu-virtual-server:~$ Selecting previously unselected package goo.
  (Reading database ... 88751 files and directories currently installed.)
  Unpacking goo (from .../goo_0.155-10_amd64.deb) ...
  Processing triggers for menu ...
  Processing triggers for man-db ...
  Setting up goo (0.155-10) ...
                               Processing triggers for menu ...

                                                               aleksi
  @ubuntu-virtual-server:~$

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



More information about the foundations-bugs mailing list