[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#732937: dpkg: fails somewhat regularly on kfreebsd-amd64


On Thu, Jan 16, 2014 at 12:15:18PM +0000, Steven Chamberlain wrote:
> On 16/01/14 12:11, Robert Millan wrote:
> > If you just want a sid system to debug apt, it's probably quicker to install
> > wheezy and dist-upgrade.
> This bug should be reproducible in stable just by upgrading
> libapt-pkg4.12 and dependencies as needed.  So I think Aurelien's Qemu
> wheezy images would be the quickest way.

Thank you and Robert and Cyril for your help and suggestions.

I have a kfreebsd stable install in qemu now and can reproduce the bug
with my git apt tree. It looks like the pty handling in pkgDpkgPM
broke and the stdout of the dpkg inside the pty is closed/unavailable
too early for some reason.

I see:
  "error writing to '<standard output>': No such file or directory"
on the dpkg status-fd when running with
  apt-get install 2vcard -o Debug::pkgDPkgProgressReporting=true 

I haven't found the root cause of the issue yet unfortunately. 

As a workaround you can use the -o Dpkg::Use-Pty=False option, e.g.:
# apt-get -o Dpkg::Use-Pty=False dist-upgrade


Reply to: