Hi, I am on the process of rebuilding Ubuntu 22.04 with personal configuration and choice of package, using Cubic and I am also affected by this bug.
```
root@cubic:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
fwupd gcc-10-base guvcview libfwupd2 libfwupdplugin5 libgslcblas0 libguvcview-2.0-2 libinput-bin
libinput10 libwacom-bin libwacom-common ubiquity ubiquity-frontend-gtk ubiquity-ubuntu-artwork
xserver-xorg-input-libinput
The following packages will be upgraded:
casper
1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 0 B/52.0 kB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 139699 files and directories currently installed.)
Preparing to unpack .../casper_1.470.2_amd64.deb ...
Unpacking casper (1.470.2) over (1.445.3) ...
dpkg: error processing archive /var/cache/apt/archives/casper_1.470.2_amd64.deb (--unpack):
trying to overwrite '/usr/share/initramfs-tools/scripts/casper-premount/20iso_scan', which is also in package lupin-casper 0.57build1
update-initramfs: deferring update (trigger activated)
Errors were encountered while processing:
/var/cache/apt/archives/casper_1.470.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@cubic:~#
Hi, I am on the process of rebuilding Ubuntu 22.04 with personal configuration and choice of package, using Cubic and I am also affected by this bug.
``` frontend- gtk ubiquity- ubuntu- artwork xorg-input- libinput 1.470.2_ amd64.deb ... apt/archives/ casper_ 1.470.2_ amd64.deb (--unpack): initramfs- tools/scripts/ casper- premount/ 20iso_scan' , which is also in package lupin-casper 0.57build1 apt/archives/ casper_ 1.470.2_ amd64.deb
root@cubic:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
fwupd gcc-10-base guvcview libfwupd2 libfwupdplugin5 libgslcblas0 libguvcview-2.0-2 libinput-bin
libinput10 libwacom-bin libwacom-common ubiquity ubiquity-
xserver-
The following packages will be upgraded:
casper
1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 0 B/52.0 kB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 139699 files and directories currently installed.)
Preparing to unpack .../casper_
Unpacking casper (1.470.2) over (1.445.3) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/share/
update-initramfs: deferring update (trigger activated)
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@cubic:~#
```
I will follow up on the discussion.
Thanks.