test: Use pkgcli instead of pkcon also on the Debians

At least the recent debian-testing image now contains pkgcli.
This commit is contained in:
Marius Vollmer 2026-02-09 18:33:48 +02:00
parent 339b6e2962
commit 8216b5348c

View file

@ -323,7 +323,7 @@ class TestStoragePackagesNFS(packagelib.PackageCase, storagelib.StorageCase):
# https://github.com/PackageKit/PackageKit/issues/893
#
if "debian" in m.image or "ubuntu" in m.image:
m.execute("pkcon refresh; pkcon install -y dummy")
m.execute(f"{self.packagekit_cmd} refresh; {self.packagekit_cmd} install -y dummy")
# HACK
# Packagekit on Arch Linux does not deal well with detecting new repositories