Calamares install fails with error message

Bug #2047964 reported by sem
This bug report is a duplicate of:  Bug #2045580: Improve third-party app installation. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calamares (Ubuntu)
New
Undecided
Unassigned

Bug Description

Installing Lubuntu Noble alpha to a new 20 GB ext4 partition, with boot flag, not installing boot loader. Chose minimal installation with 3rd party extras and Element.

Installation proceeds as normal, except at the end it failed with an error message. I copied the error message, but unfortunately it did not appear to copy correctly and I don't remember what it said; something about snap and Element.

I hope that ubuntu-bug was able to find and attach the error message.

Let me know if you would like me to try and reproduce this bug or try something else.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: calamares 3.3.0.0-0ubuntu5
ProcVersionSignature: Ubuntu 6.5.0-9.9-generic 6.5.3
Uname: Linux 6.5.0-9-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-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.490
CurrentDesktop: LXQt
Date: Wed Jan 3 13:50:06 2024
LiveMediaBuild: Lubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240103)
RelatedPackageVersions:
 calamares-settings-ubuntu-common 1:24.04.11
 calamares-settings-lubuntu 1:24.04.11
 xfsprogs 6.5.0-1ubuntu2
 btrfs-progs 6.3.2-1
SourcePackage: calamares
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
sem (semitones) wrote :
Revision history for this message
sem (semitones) wrote :

I reproduced the bug using the same install configuration. This is the error message.

```
Command <i>calamares_snap_install /tmp/calamares-root-d790tyxg element-desktop=stable</i> finished with exit code 1.
Output:
Fetching snap "element-desktop"
Fetching assertions for "element-desktop"
Install the snap with:
   snap ack ../../tmp/calamares-root-d790tyxg/var/lib/snapd/seed/snaps/element-desktop_74.assert
   snap install ../../tmp/calamares-root-d790tyxg/var/lib/snapd/seed/snaps/element-desktop_74.snap
error: cannot validate seed:
 - cannot read assertions dir: readdirent /tmp/calamares-root-d790tyxg/var/lib/snapd/seed/assertions: not a directory
```

maybe this bug should be filed against element?

Revision history for this message
sem (semitones) wrote :
Revision history for this message
Leó Kolbeinsson (leok) wrote :

Believe this is a possible duplicate of bug 2045580 - as both relate to installing 3rd party apps
https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/2045580

Revision history for this message
Chris Guiver (guiverc) wrote :

I agree with Leó Kolbeinsson (leok) so I'll mark it as such.

To post a comment you must log in.