Incus-extra install bug

@stgraber It appears that it is not possible to install the incus-extra package if incus-migrate is installed since incus-migrate is also in incus-extra.

 scott  demo-2  ~  sudo apt install incus-extra
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  incus-extra
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/18.7 MB of archives.
After this operation, 60.0 MB of additional disk space will be used.
(Reading database ... 170994 files and directories currently installed.)
Preparing to unpack .../incus-extra_1%3a6.7-ubuntu24.04-202411151754_amd64.deb ...
Unpacking incus-extra (1:6.7-ubuntu24.04-202411151754) ...
dpkg: error processing archive /var/cache/apt/archives/incus-extra_1%3a6.7-ubuntu24.04-202411151754_amd64.deb (--unpack)
:
 trying to overwrite '/usr/bin/incus-migrate', which is also in package incus-migrate 6.0.0-1ubuntu0.2
Errors were encountered while processing:
 /var/cache/apt/archives/incus-extra_1%3a6.7-ubuntu24.04-202411151754_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 scott  demo-2  ~  sudo apt remove --purge incus-migrate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  incus-migrate*
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
After this operation, 12.5 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 170994 files and directories currently installed.)
Removing incus-migrate (6.0.0-1ubuntu0.2) ...
Processing triggers for man-db (2.12.0-4build2) ...

 scott  demo-2  ~  sudo apt install incus-extra
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  incus-extra
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/18.7 MB of archives.
After this operation, 60.0 MB of additional disk space will be used.
(Reading database ... 170988 files and directories currently installed.)
Preparing to unpack .../incus-extra_1%3a6.7-ubuntu24.04-202411151754_amd64.deb ...
Unpacking incus-extra (1:6.7-ubuntu24.04-202411151754) ...
Setting up incus-extra (1:6.7-ubuntu24.04-202411151754) ...
Scanning processes...                                                                                                   
Scanning processor microcode...                                                                                         
Scanning linux images...                                                                                                

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.


You’re mixing packages from two different sources, so file conflicts can certainly happen in this situation.

The packages that are published in the Zabbly repository are:

  • incus
  • incus-base
  • incus-client
  • incus-extra
  • incus-ui-canonical

Anything else is coming from elsewhere (likely the native packages from the distro) and mixing those in may cause issues.

What actual utilities are contained in incus-extra?

$ dpkg -L incus-extra
/.
/opt
/opt/incus
/opt/incus/bin
/opt/incus/bin/distrobuilder
/opt/incus/bin/fuidshift
/opt/incus/bin/incus-migrate
/opt/incus/bin/incus-simplestreams
/opt/incus/bin/lxc-to-incus
/usr
/usr/bin
/usr/bin/distrobuilder
/usr/bin/lxc-to-incus
/usr/share
/usr/share/doc
/usr/share/doc/incus-extra
/usr/share/doc/incus-extra/changelog.Debian.gz
/usr/share/doc/incus-extra/copyright
/usr/bin/fuidshift
/usr/bin/incus-migrate
/usr/bin/incus-simplestreams
$
1 Like

Yes, I listed the contents of the package. I would assume that incus-migrate and lxc-to-incus are a part. The questions what do these other components provide above and beyond the standard incus installation?