Actually I manually applied the fix, which allowed it to actually pass
along far enough to actually try to unpack the squashfs and that's when
it failed and suggested to install squashfs-tools. Reverting the fix,
installing the package, and starting over and everything worked just
fine.

** Summary changed:

- calamares crashes trying to open squashfs in Lubuntu Cosmic
+ Lubuntu Cosmic missing squashfs-tools, causing Calamares to crash

** Description changed:

  To reproduce in Lubuntu Cosmic run the calamares installer and pick any
  install options/method.
  
  I expected the installer to not crash but instead it crashed shortly
  after creating the partition with the following error:
  
  Boost.Python error in job "unpackfs".
  <class 'OSError'>
  [Errno 30] Read-only file system: 'bash'
  Traceback:
    File "/usr/lib/calamares/modules/unpackfs/main.py", line 318, in run
      return unpackop.run()
  
    File "/usr/lib/calamares/modules/unpackfs/main.py", line 221, in run
      shutil.rmtree(source_mount_path)
  
    File "/usr/lib/python3.6/shutil.py", line 480, in rmtree
      _rmtree_safe_fd(fd, path, onerror)
  
    File "/usr/lib/python3.6/shutil.py", line 418, in _rmtree_safe_fd
      _rmtree_safe_fd(dirfd, fullname, onerror)
  
    File "/usr/lib/python3.6/shutil.py", line 418, in _rmtree_safe_fd
      _rmtree_safe_fd(dirfd, fullname, onerror)
  
    File "/usr/lib/python3.6/shutil.py", line 438, in _rmtree_safe_fd
      onerror(os.unlink, fullname, sys.exc_info())
  
    File "/usr/lib/python3.6/shutil.py", line 436, in _rmtree_safe_fd
      os.unlink(name, dir_fd=topfd)
  
- Upstream bug: https://github.com/calamares/calamares/issues/949
+ Installing squashfs-tools before running the installer fixes the
+ problem.
  
  apt policy calamares:
       Installed: 3.1.12-1
       Canidate: 3.1.12-1
  
  Description: Ubuntu Cosimc CANIMAL (development branch)
  Release: 18.10
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: calamares 3.1.12-1
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  CasperVersion: 1.394
  CurrentDesktop: LXQt
  Date: Mon May  7 18:10:54 2018
  LiveMediaBuild: Lubuntu 18.10 "Cosmic CANIMAL" - Alpha amd64 (20180507)
  SourcePackage: calamares
  UpgradeStatus: No upgrade log present (probably fresh install)

** Also affects: ubuntu-seeds
   Importance: Undecided
       Status: New

** Changed in: ubuntu-seeds
     Assignee: (unassigned) => Simon Quigley (tsimonq2)

** Changed in: calamares (Ubuntu)
       Status: Triaged => Invalid

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

Title:
  Lubuntu Cosmic missing squashfs-tools, causing Calamares to crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-seeds/+bug/1769781/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to