[Bug 1289314] Re: 'Installation failed' error message

Ivan Larionov 1289314 at bugs.launchpad.net
Wed Mar 19 00:02:44 UTC 2014


Ok I tired of waiting maintainers to fix and found a bug and fixed it.
Patch attached.

This bug caused by mount returns warning to STDERR when mounting read-
only without -r flag. Example:

$ sudo mount -o loop /home/xeron/Загрузки/trusty-desktop-amd64.iso /tmp/tmp1c7s4pag
mount: блочное устройство /home/xeron/Загрузки/trusty-desktop-amd64.iso защищен от записи, монтируется только для чтения

In english:

$ LC_ALL=en_EN.UTF-8 sudo mount -o loop /home/xeron/Загрузки/trusty-desktop-amd64.iso /tmp/tmp1c7s4pag
mount: block device /home/xeron/Загрузки/trusty-desktop-amd64.iso is write-protected, mounting read-only


Possible bug duplicates (some are older, but I believe it's OK to mark them as duplicates if usb-creator will be fixed by patch provided in this ticket):

Bug #1273739
Bug #1266731
Bug #1264400
Bug #1253065
Bug #1013511 (may be)

Related bugs:

Bug #1289310 (same encoding problems with LC_ALL set to C or en_EN.UTF-8 and national localized Download dir)
Bug #948257 (not duplicate because it's about UI, but originally caused by same bug with ascii)

** Patch added: "usb-creator-fix.patch"
   https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1289314/+attachment/4031439/+files/usb-creator-fix.patch

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

Title:
  'Installation failed' error message

Status in “usb-creator” package in Ubuntu:
  Confirmed

Bug description:
  When trying to create a usb startup disk, it immediately fails with an error message translating to 'Installation failed' (in both window caption and text). 
  Btw, I notice that a /dev/loop device is created (and not cleaned up) every time this happens.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: usb-creator-gtk 0.2.54
  ProcVersionSignature: Ubuntu 3.13.0-14.34-generic 3.13.5
  Uname: Linux 3.13.0-14-generic x86_64
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Mar  7 12:57:23 2014
  InstallationDate: Installed on 2013-11-04 (123 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131103)
  SourcePackage: usb-creator
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1289314/+subscriptions



More information about the foundations-bugs mailing list