google / grr

GRR Rapid Response: remote live forensics for incident response
https://grr-doc.readthedocs.io/
Apache License 2.0
4.75k stars 761 forks source link

grr-server_3.4.6-7 on Ubuntu 22.04 - Unmet Dependency #1034

Open simarajpal opened 1 year ago

simarajpal commented 1 year ago

Environment

Describe the issue I have installed Ubuntu 22.04 and followed the instruction https://grr-doc.readthedocs.io/en/latest/installing-grr-server/from-release-deb.html

$ sudo apt install -y ./grr-server_3.4.6-7_amd64.deb Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'grr-server:amd64' instead of './grr-server_3.4.6-7_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: grr-server:amd64 : Depends: dh-make:amd64 but it is not installable Depends: python3-dev:amd64 but it is not installable Depends: python3-mysqldb:amd64 but it is not installable Depends: rpm:amd64 but it is not installable E: Unable to correct problems, you have held broken packages.

Error logs

Copy-and-paste logs from the command you executed, GRR server log files, or flow logs.

Additional context Add any other context about the problem here.

Bad3r commented 8 months ago

I am running into the same issue

#################################################################
Running grr_config_updater initialize
To avoid this prompting, set DEBIAN_FRONTEND=noninteractive
#################################################################
Traceback (most recent call last):
  File "/usr/share/grr-server/bin/grr_config_updater", line 5, in <module>
    from grr_response_server.distro_entry import ConfigUpdater
ModuleNotFoundError: No module named 'grr_response_server'
dpkg: error processing package grr-server (--configure):
 installed grr-server package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 grr-server
E: Sub-process /usr/bin/dpkg returned an error code (1)