intel/tdx-tools

The host encounters dependency issues during the installation of the 2023ww41 packages

kpadwal opened this issue · 1 comments

Note, selecting 'vtpm-td' instead of './jammy/amd64/vtpm-td_0.3.0-mvp10_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libvirt-daemon-system : Depends: libvirt-daemon-config-network (= 8.6.0-v3.6.mvp16) but it is not going to be installed
Depends: libvirt-daemon-config-nwfilter (= 8.6.0-v3.6.mvp16) but it is not going to be installed
Depends: libvirt-daemon-system-systemd (= 8.6.0-v3.6.mvp16) but it is not going to be installed or
libvirt-daemon-system-sysv (= 8.6.0-v3.6.mvp16) but it is not going to be installed
Recommends: mdevctl but it is not going to be installed
Recommends: swtpm-tools but it is not going to be installed
linux-headers-6.2.16-v5.0.mvp40-generic : Depends: linux-headers-6.2.16-v5.0.mvp40 but it is not installable
qemu-system-arm : Depends: qemu-system-data (> 9:7.2.0-v4.0.mvp28~) but 1:6.2+dfsg-2ubuntu6.15 is to be installed
Recommends: qemu-efi-aarch64 but it is not going to be installed
Recommends: qemu-efi-arm but it is not going to be installed
qemu-system-mips : Depends: qemu-system-data (> 9:7.2.0-v4.0.mvp28~) but 1:6.2+dfsg-2ubuntu6.15 is to be installed
qemu-system-misc : Depends: qemu-system-data (> 9:7.2.0-v4.0.mvp28~) but 1:6.2+dfsg-2ubuntu6.15 is to be installed
qemu-system-ppc : Depends: qemu-system-data (> 9:7.2.0-v4.0.mvp28~) but 1:6.2+dfsg-2ubuntu6.15 is to be installed
qemu-system-s390x : Depends: qemu-system-data (> 9:7.2.0-v4.0.mvp28~) but 1:6.2+dfsg-2ubuntu6.15 is to be installed
qemu-system-sparc : Depends: qemu-system-data (> 9:7.2.0-v4.0.mvp28~) but 1:6.2+dfsg-2ubuntu6.15 is to be installed
qemu-system-x86 : Depends: qemu-system-data (> 9:7.2.0-v4.0.mvp28~) but 1:6.2+dfsg-2ubuntu6.15 is to be installed
qemu-system-x86-xen : Depends: qemu-system-data (> 9:7.2.0-v4.0.mvp28~) but 1:6.2+dfsg-2ubuntu6.15 is to be installed
Conflicts: qemu-system-x86 but 9:7.2.0-v4.0.mvp28 is to be installed
qemu-user-binfmt : Conflicts: qemu-user-static but 9:7.2.0-v4.0.mvp28 is to be installed
qemu-user-static : Conflicts: qemu-user-binfmt
E: Unable to correct problems, you have held broken packages.

The apt system seems to be broken. It's not suggested to install all local debian packages.
Configuring a local apt repository is a better way to manage packages. Take host_repo as an example:

cp host_repo /tmp/ -fr
cat > /etc/apt/sources.list.d/tdx-local.list << EOL
deb [trusted=yes] file:///tmp/host_repo jammy/all/
deb [trusted=yes] file:///tmp/host_repo jammy/amd64/
EOL