Cannot copy sockets if there is an existing target in the way

Bug #495217 reported by Rudolf Vavruch
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

Installing Linux Mint 8. Had previously installed it on the same drive, but couldn't boot so tried reinstalling. I then got this message:

We're sorry; the installer crashed. Please file a new bug report at https://launchpad.net/ubuntu/+source/ubiquity/+filebug (do not attach your details to any existing bug) and a developer will attend to the problem as soon as possible. To help the developers understand what went wrong, include the following detail in your bug report, and attach the files /var/log/syslog and /var/log/partman:

Traceback (most recent call last):
  File "/usr/lib/ubiquity/bin/ubiquity", line 457, in <module>
    main(oem_config)
  File "/usr/lib/ubiquity/bin/ubiquity", line 442, in main
    install(args[0], query=options.query)
  File "/usr/lib/ubiquity/bin/ubiquity", line 245, in install
    ret = wizard.run()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 467, in run
    self.progress_loop()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 977, in progress_loop
    (ret, realtb))
RuntimeError: Install failed with exit code 1
Traceback (most recent call last):
  File "/usr/share/ubiquity/install.py", line 2444, in <module>
    install.run()
  File "/usr/share/ubiquity/install.py", line 367, in run
    self.copy_all()
  File "/usr/share/ubiquity/install.py", line 762, in copy_all
    os.mknod(targetpath, stat.S_IFSOCK | mode)
OSError: [Errno 17] File exists

Revision history for this message
Rudolf Vavruch (rvavruch) wrote :
Revision history for this message
Rudolf Vavruch (rvavruch) wrote :

Couldn't figure out how to attach more than one ile so here is /var/log/partman

Revision history for this message
Rudolf Vavruch (rvavruch) wrote :

Couldn't figure out how to attach more than one file so here is /var/log/partman

Changed in ubiquity (Ubuntu):
status: New → Confirmed
tags: added: ubiquity-2.0.8
tags: added: karmic
Revision history for this message
Brian Murray (brian-murray) wrote : Traceback

Exception during installation:
Dec 10 21:25:10 mint python: Traceback (most recent call last):
Dec 10 21:25:10 mint python: File "/usr/share/ubiquity/install.py", line 2444, in <module>
Dec 10 21:25:10 mint python: install.run()
Dec 10 21:25:10 mint python: File "/usr/share/ubiquity/install.py", line 367, in run
Dec 10 21:25:10 mint python: self.copy_all()
Dec 10 21:25:10 mint python: File "/usr/share/ubiquity/install.py", line 762, in copy_all
Dec 10 21:25:10 mint python: os.mknod(targetpath, stat.S_IFSOCK | mode)
Dec 10 21:25:10 mint python: OSError: [Errno 17] File exists
Dec 10 21:25:10 mint python:

tags: added: installer-crash
Colin Watson (cjwatson)
summary: - Installer crashed
+ Cannot copy sockets if there is an existing target in the way
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.9.19

---------------
ubiquity (2.9.19) precise; urgency=low

  * Install pixmaps/windows_square.png in ubiquity-frontend-gtk.
  * Make it possible to run the test suite against installed packages, and
    add a DEP-8 control file for this.
  * Refactor copy_all to be more robust, handle some more cases, and be
    testable and tested. It can now:
    - copy a directory over an existing non-directory (LP: #891711);
    - copy device nodes and sockets over existing non-directories
      (LP: #495217);
    - handle all cases of copying a non-directory over an existing empty
      directory;
    - copy a symlink over a non-empty directory by attempting to move the
      directory to the symlink target (LP: #188976);
    - if all else fails, copy a non-directory over an existing non-empty
      directory by moving the target aside to a backup location.
  * Ignore all failures to set timestamps (LP: #411307, #654929).
  * Update translations from Launchpad.
  * Update imported translations from gtk+3.0 3.3.14-0ubuntu2 and
    gnome-panel 1:3.3.5-0ubuntu2.
 -- Colin Watson <email address hidden> Wed, 15 Feb 2012 17:52:19 +0000

Changed in ubiquity (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.