Need clarification on how to install non-LTS Incus on latest Linux Mint

A new installation of Linux Mint 22.1 Cinnamon version 6.4.8 and Kernel 6.8.0-54-generic. Hardware is a 32 Core Epyc CPU with 384GB RAM on a Supermicro H12SSL-i. This is a Desktop PC, migrated from Windows 10 to Linux.

I followed non-LTS instructions:

Specifically, I ran the following script to add Stable to the repository list, updated apt and ran “apt install incus”:

Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/stable
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.asc

EOF'

What was installed was Incus LTS 6.0.0. Which makes sense because there is no specifier for Stable in the install. If there is a special installation command to specify Stable over LTS it does not appear to be included with this instruction page. Please advise.

Also, there does not seem to be included with the Installation instructions a “Clean Uninstall” instruction.

The goal of this installation is to run Containers and VMs for server type purposes (this Desktop PC is never turned off) and to run “containerised” apps including WINE apps. Some of these application containers need to have a graphical output in a window or full screen within the base OS which is Mint.

Thanks

apt install incus with this repository would get you 6.11.

So there is a problem with the way you configured the repository on your system as it doesn’t seem like it’s being used.

1 Like

Once you setup the repository and executed sudo apt update,
you can finally run the following which will show what Incus versions are available.

apt policy incus
1 Like

Thank you both for amazingly fast responses and help. Procedure followed below.

purge Incus

apt purge incus*
purge output
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  incus-agent incus-client libcowsql0 liblxc-common liblxc1t64 libraft0 libsubid4 lxcfs uidmap
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  incus*
0 to upgrade, 0 to newly install, 1 to remove and 35 not to upgrade.
After this operation, 59.7 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 646181 files and directories currently installed.)
Removing incus (6.0.0-1ubuntu0.2) ...
Removing incus dnsmasq configuration
Processing triggers for man-db (2.12.0-4build2) ...
(Reading database ... 645981 files and directories currently installed.)
Purging configuration files for incus (6.0.0-1ubuntu0.2) ...
rm: skipping '/var/lib/incus/guestapi', since it's on a different device
rm: skipping '/var/lib/incus/shmounts', since it's on a different device
dpkg: warning: while removing incus, directory '/var/lib/incus' not empty so not removed

NOTE: No BTRFS volumes installed and no sub-volumes registered from what I can tell. Does Incus provide an option to virtualise a sub-volume in BTRFS stored on the root filesystem, which is XFS on this one SSD?

apt policy

apt policy incus
policy output
incus:
  Installed: (none)
  Candidate: 6.0.0-1ubuntu0.2
  Version table:
     6.0.0-1ubuntu0.2 500
        500 http://mirror.overthewire.com.au/ubuntu noble-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages
     6.0.0-1 500
        500 http://mirror.overthewire.com.au/ubuntu noble/universe amd64 Packages

verify repository key

/etc/apt/keyrings# gpg --show-keys --fingerprint zabbly.asc
repository key output
pub   rsa3072 2023-08-23 [SC] [expires: 2025-08-22]
      4EFC 5906 96CB 15B8 7C73  A3AD 82CC 8797 C838 DCFD
uid                      Zabbly Kernel Builds <info@zabbly.com>
sub   rsa3072 2023-08-23 [E] [expires: 2025-08-22]

add stable repository

sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/stable
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.asc

EOF'

apt policy

apt policy incus
policy output
incus:
  Installed: (none)
  Candidate: 6.0.0-1ubuntu0.2
  Version table:
     6.0.0-1ubuntu0.2 500
        500 http://mirror.overthewire.com.au/ubuntu noble-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages
     6.0.0-1 500
        500 http://mirror.overthewire.com.au/ubuntu noble/universe amd64 Packages

Would it be possible to add a specifier to the incus install command?

apt install incus daily | stable | lts | <version_number>

Cheers

Please show the exact output of (all done as root):

  • cat /etc/apt/sources.list.d/zabbly-incus-stable.sources
  • cat /etc/apt/keyrings/zabbly.asc
  • apt-get update
1 Like
# cat /etc/apt/sources.list.d/zabbly-incus-stable.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/stable
Suites: xia
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/zabbly.asc
# cat /etc/apt/keyrings/zabbly.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQGNBGTlYcIBDACYQoVXVyQ6Y3Of14GwEaiv/RstQ8jWnH441OtvDbD/VVT8yF0P
pUfypWjQS8aq0g32Qgb9H9+b8UAAKojA2W0szjJFlmmSq19YDMMmNC4AnfeZlKYM
61Zonna7fPaXmlsTlSiUeo/PGvmAXrkFURC9S8FbhZdWEcUpf9vcKAoEzV8qGA4J
xbKlj8EOjSkdq3OQ1hHjP8gynbbzMhZQwjbnWqoiPj35ed9EMn+0QcX+GmynGq6T
hBXdRdeQjZC6rmXzNF2opCyxqx3BJ0C7hUtpHegmeoH34wnJHCqGYkEKFAjlRLoW
tOzHY9J7OFvB6U7ENtnquj7lg2VQK+hti3uiHW+oide06QgjVw2irucCblQzphgo
iX5QJs7tgFFDsA9Ee0DZP6cu83hNFdDcXEZBc9MT5Iu0Ijvj7Oeym3DJpkCuIWgk
SeP56sp7333zrg73Ua7YZsZHRayAe/4YdNUua+90P4GD12TpTtJa4iRWRd7bis6m
tSkKRj7kxyTsxpEAEQEAAbQmWmFiYmx5IEtlcm5lbCBCdWlsZHMgPGluZm9AemFi
Ymx5LmNvbT6JAdQEEwEKAD4WIQRO/FkGlssVuHxzo62CzIeXyDjc/QUCZOVhwgIb
AwUJA8JnAAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRCCzIeXyDjc/W05C/4n
lGRTlyOETF2K8oWbjtan9wlttQ+pwymJCnP8T+JJDycGL8dPsGdG1ldHdorVZpFi
1P+Bem9bbiW73TpbX+WuCfP1g3WN7AVa2mYRfSVhsLNeBAMRgWgNW9JYsmg99lmY
aPsRYZdGu/PB+ffMIyWhjL3CKCbYS6l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z9lmzciU+LT/CeoQu/
MgpU8wRI4gVtLkX2238amrTKKlVjQUUNHf7cITivUs/8e5W21JfwvcSzu5z4Mxyw
L6vMlBUAixtzZSXD6O7MO9uggHUZMt5gDSPXG2RcIgWm0Bd1yTHL7jZt67xBgZ4d
hUoelMN2XIDLv4SY78jbHAqVN6CLLtWrz0f5YdaeYj8OT6Ohr/iJQdlfVaiY4ikp
DzagLi0LvG9/GuB9eO6yLuojg45JEH8DC7NW5VbdUITxQe9NQ/j5kaRKTEq0fyZ+
qsrryTyvXghxK8oMUcI10l8d41qXDDPCA40kruuspCZSAle3zdqpYqiu6bglrgWr
Zr2Nm9ecm/kkqMIcyJ8e2mlkuufq5kVem0Oez+GIDegvwnK3HAqWQ9lzdWKvnLiE
gNkvg3bqIwZ/WoHBnSwOwwAzwarJl/gn8OG6CIeP
=8Uc6
-----END PGP PUBLIC KEY BLOCK-----
# apt-get update
Ign:1 https://mirror.aarnet.edu.au/pub/linuxmint-packages xia InRelease
Hit:2 http://mirror.overthewire.com.au/ubuntu noble InRelease                                                                                                     
Hit:3 http://mirror.overthewire.com.au/ubuntu noble-updates InRelease                                                                                             
Hit:4 http://mirror.overthewire.com.au/ubuntu noble-backports InRelease                                                           
Hit:5 https://mirror.aarnet.edu.au/pub/linuxmint-packages xia Release                                                             
Hit:6 https://brave-browser-apt-release.s3.brave.com stable InRelease                                                             
Hit:8 http://security.ubuntu.com/ubuntu noble-security InRelease                                                     
Hit:9 https://download.sublimetext.com apt/stable/ InRelease                                                    
Ign:10 https://pkgs.zabbly.com/incus/stable xia InRelease
Err:11 https://pkgs.zabbly.com/incus/stable xia Release
  404  Not Found [IP: 2602:fc62:a:1::7 443]
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
E: The repository 'https://pkgs.zabbly.com/incus/stable xia Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Thanks.

xia isn’t a valid release for the Zabbly repo.
You’ll want to replace that with the Debian or Ubuntu release that your distribution is based on.

1 Like

Ok. Did the addition of the stable repository, using:

sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
Enabled: yes
Types: deb
URIs: https://pkgs.zabbly.com/incus/stable
Suites: $(. /etc/os-release && echo ${VERSION_CODENAME})
Components: main
Architectures: $(dpkg --print-architecture)
Signed-By: /etc/apt/keyrings/zabbly.asc

EOF'

actually fail silently, and when I ran apt install incus the standard Ubuntu repository was used? The output from apt policy did not seem to show the Zabbly repository.

Is it even possible to install stable using Ubuntu apt? The documentation seems to suggest stable is available only on Zabbly’s repository.

My presumption was to think that Mint, being an Ubuntu derivative, was compatible.

Thanks for the clarification.

Edit /etc/apt/sources.list.d/zabbly-incus-stable.sources and change the Suites line to point to whatever Ubuntu release your Mint install is based on.

1 Like