SystemError: Broken pipe while installing language packs

Bug #1020574 reported by Aroiu Ovidiu
156
This bug affects 19 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Critical
Dimitri John Ledkov

Bug Description

Jul 3 13:52:25 ubuntu ubiquity: Error in function:
Jul 3 13:52:25 ubuntu ubiquity:
Jul 3 13:52:25 ubuntu plugininstall.py: Exception during installation:
Jul 3 13:52:25 ubuntu plugininstall.py: SystemError: E:Write error - write (32: Broken pipe), E:Write error - write (32: Broken pipe), E:Write error - write (32: Broken pipe), E:Write error
Jul 3 13:52:25 ubuntu plugininstall.py:

ProblemType: BugDistroRelease: Ubuntu 12.10
Package: ubiquity 2.11.8
ProcVersionSignature: Ubuntu 3.5.0-3.3-generic 3.5.0-rc5
Uname: Linux 3.5.0-3-generic x86_64
ApportVersion: 2.2.5-0ubuntu2
Architecture: amd64
CasperVersion: 1.318
Date: Tue Jul 3 16:52:56 2012
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquityLiveMediaBuild: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120703.1)
ProcEnviron:
 TERM=unknown
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bashSourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Aroiu Ovidiu (ixanneo) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Gema Gomez (gema) wrote :
Changed in ubiquity (Ubuntu):
importance: Undecided → Critical
tags: added: iso-testing qa-daily-testing
summary: - installing ubuntu on virtualbox
+ installing ubuntu
description: updated
summary: - installing ubuntu
+ installing ubuntu in VM or real hardware
tags: added: rls-q-incoming
Colin Watson (cjwatson)
summary: - installing ubuntu in VM or real hardware
+ SystemError: Broken pipe while installing language packs
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Reproducible with or without networking
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in ubiquity (Ubuntu):
assignee: nobody → Dmitrijs Ledkovs (dmitrij.ledkov)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Attached strace log showing the ESPIPE returned on every "write(79, "pmstatus:packagename...

17339 15:59:02.367973 write(79, "pmstatus:dictionaries-common:100"..., 87) = -1 EPIPE (Broken pipe) <0.000032>
17339 15:59:02.368105 --- SIGPIPE (Broken pipe) @ 0 (0) ---

pmstatus is coming from apt.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

full strace for those who are interested:

http://people.canonical.com/~xnox/ubiquity.trace.xz

Revision history for this message
Colin Watson (cjwatson) wrote :

The proximate cause of this was that apt changed to actually notice write errors to its status pipe, but the code in ubiquity has actually been wrong for a long time, and very likely caused missing progress messages.

Changed in ubiquity (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

bug 968216
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

The workaround suggested in bug 968216 don't work in this case with the same machine

Revision history for this message
Colin Watson (cjwatson) wrote :

Bug 986216 is unrelated.

There is no need for further investigation - a fix is on its way.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.11.9

---------------
ubiquity (2.11.9) quantal-proposed; urgency=low

  [ Colin Watson ]
  * Update DebconfInstallProgress method names for the python-apt 0.8 API.
  * Automatic update of included source packages: flash-kernel
    3.0~rc.4ubuntu5, partman-base 158ubuntu1, partman-target 78ubuntu1,
    preseed 1.53ubuntu1.

  [ Colin Watson, Dmitrijs Ledkovs ]
  * Rearrange DebconfInstallProgress to not assume that update_interface
    returns a value (LP: #1020574).
 -- Colin Watson <email address hidden> Fri, 06 Jul 2012 11:51:17 +0100

Changed in ubiquity (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Verified in real hardware.
ubiquity:
  Installed: 2.11.9
  Candidate: 2.11.9

tags: added: verification-done
Revision history for this message
Greg Faith (gregfaith) wrote :

Also verified on real hardware using Lubuntu Desktop amd64 20120605
Installation done with persistent USB and
Ubiquity 2.11.9

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.