← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 2054795] Re: Calamares - Installation failed - Bad main script file

 

The 'fixed' 3.3.5-0ubuntu2 is now migrating to the release pocket.

** Changed in: calamares (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  Calamares -  Installation failed - Bad main script file

Status in calamares package in Ubuntu:
  Fix Released

Bug description:
  Verbose description:

  2024-02-23 - 09:41:38 [1]:     ERROR: Error while running: TypeError:
  chmod: path should be string, bytes, os.PathLike or integer, not
  TextIOWrapper

  Original description:

  Testing Lubuntu Noble daily ISO dated 22-02-2024

  Installation  failed due to bad main script file - see attached
  screenshot

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: calamares 3.3.2-0ubuntu1
  ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3
  Uname: Linux 6.6.0-14-generic x86_64
  .etc.calamares.modules.after_bootloader_context.conf:
   ---
   dontChroot: false
   timeout: 120
   firmwareType:
       "*": "-rm ${ROOT}/home/${USER}/Desktop/lubuntu-calamares.desktop"
  .etc.calamares.modules.finished.conf:
   ---
   restartNowMode: user-checked
   restartNowCommand: "systemctl -i reboot"
  .etc.calamares.modules.fstab.conf:
   crypttabOptions: luks,keyscript=/bin/cat
   efiMountOptions: umask=0077
  .etc.calamares.modules.shellprocess_logs.conf:
   ---
   dontChroot: true
   timeout: 30
   script:
       - calamares-logs-helper ${ROOT}
  .etc.calamares.modules.unpackfs.conf:
   ---
   unpack:
       -   source: "/cdrom/casper/filesystem.squashfs"
           sourcefs: "squashfs"
           destination: ""
  ApportVersion: 2.27.0-0ubuntu7
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.493
  CurrentDesktop: LXQt
  Date: Fri Feb 23 09:45:03 2024
  LiveMediaBuild: Lubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240222)
  RelatedPackageVersions:
   calamares-settings-ubuntu-common 1:24.04.16
   calamares-settings-lubuntu       1:24.04.16
   xfsprogs                         6.5.0-1ubuntu2
   btrfs-progs                      6.6.3-1
  SourcePackage: calamares
  UpgradeStatus: No upgrade log present (probably fresh install)

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



References