There is a dependency problem with the zeek-zfg requirements on Debian_11. The package requires python3-git and python3-semantic-version, but does not seem to accept the "all" architecture version of these packages so it throws an error. Below is from a fresh Raspbian/Debian_11 x64 install on a Pi4.
"pi@hostname:/opt $ sudo apt install zeek-lts
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
zeek-lts-zkg:armhf : Depends: python3-semantic-version:armhf but it is not installable
Depends: python3-git:armhf but it is not installable
E: Unable to correct problems, you have held broken packages."
"user@hostname:/opt $ sudo apt-get install python3-git python3-semantic-version
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-git is already the newest version (3.1.14-1).
python3-semantic-version is already the newest version (2.8.5-1).
The following packages were automatically installed and are no longer required:
libatomic1:armhf libdbus-1-3:armhf libgcrypt20:armhf libgpg-error0:armhf liblz4-1:armhf libmaxminddb0:armhf libpcap0.8:armhf libsystemd0:armhf libzstd1:armhf
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."
as mentioned on slack, the problem is that you are trying to install a 32-bit build (armhf) on a 64-bit os (aarch64). We cannot currently provide 64-bit raspbian builds, since OBS does not support this.
I tried to get the debian dependency rules to accept other architectures for the python dependencies - since the architecture should not matter. I have not been successful so far. If you have any ideas - I am open to suggestions. My experiments are visible in the zeek-nightly package.
Comments 2
ABK wrote
There is a dependency problem with the zeek-zfg requirements on Debian_11. The package requires python3-git and python3-semantic-version, but does not seem to accept the "all" architecture version of these packages so it throws an error. Below is from a fresh Raspbian/Debian_11 x64 install on a Pi4.
"pi@hostname:/opt $ sudo apt install zeek-lts Reading package lists... Done Building dependency tree... Done Reading state information... Done 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: zeek-lts-zkg:armhf : Depends: python3-semantic-version:armhf but it is not installable Depends: python3-git:armhf but it is not installable E: Unable to correct problems, you have held broken packages."
"user@hostname:/opt $ sudo apt-get install python3-git python3-semantic-version Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-git is already the newest version (3.1.14-1). python3-semantic-version is already the newest version (2.8.5-1). The following packages were automatically installed and are no longer required: libatomic1:armhf libdbus-1-3:armhf libgcrypt20:armhf libgpg-error0:armhf liblz4-1:armhf libmaxminddb0:armhf libpcap0.8:armhf libsystemd0:armhf libzstd1:armhf Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."
0xxon wrote
Hi,
as mentioned on slack, the problem is that you are trying to install a 32-bit build (armhf) on a 64-bit os (aarch64). We cannot currently provide 64-bit raspbian builds, since OBS does not support this.
I tried to get the debian dependency rules to accept other architectures for the python dependencies - since the architecture should not matter. I have not been successful so far. If you have any ideas - I am open to suggestions. My experiments are visible in the zeek-nightly package.