[Bug 894768] Re: Installation randomly fails with: File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 621, in copy_file targetfh.write(buf) IOError: [Errno 22] Invalid argument

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Fri Nov 25 14:25:46 UTC 2011


** Attachment added: "version"
   https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/894768/+attachment/2608044/+files/version

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

Title:
  Installation randomly fails with: File
  "/usr/lib/ubiquity/ubiquity/install_misc.py", line 621, in copy_file
  targetfh.write(buf) IOError: [Errno 22] Invalid argument

Status in “ubiquity” package in Ubuntu:
  New

Bug description:
  Precise desktop images installation fails regularly with the following
  error:

  install.py: Exception during installation:
  install.py: Traceback (most recent call last):
  install.py:   File "/usr/share/ubiquity/install.py", line 656, in <module>
  install.py:     install.run()
  install.py:   File "/usr/share/ubiquity/install.py", line 130, in run
  install.py:     self.copy_all()
  install.py:   File "/usr/share/ubiquity/install.py", line 423, in copy_all
  install.py:     install_misc.copy_file(self.db, sourcepath, targetpath, md5_check)
  install.py:   File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 621, in copy_file
  install.py:     targetfh.write(buf)
  install.py: IOError: [Errno 22] Invalid argument
  install.py:

  This happens during automated installations but also during a manual
  installation. All the tests have been run on VMs. I haven't found any
  pattern to reproduce this crash and it affects i386 and amd64.

  Running the exact same test again pass most of the time.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-1.3-generic 3.2.0-rc2
  Uname: Linux 3.2.0-1-generic x86_64
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Fri Nov 25 15:01:02 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/894768/+subscriptions




More information about the foundations-bugs mailing list