FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.39k stars 1.26k forks source link

Error installing frr-rpki-rtrlib on Ubuntu 22.04 #14972

Open cli0 opened 12 months ago

cli0 commented 12 months ago

OS is Ubuntu 22.04.

I successfully installed frr from source. FRR with bgpd runs successfully but when I want to enable RPKI and therefore need to install frr-rpki-rtrlib, I get the following error:

dpkg: error processing package frr (--configure):
 installed frr package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of frr-rpki-rtrlib:
 frr-rpki-rtrlib depends on frr (= 8.1-1ubuntu1.8); however:
  Package frr is not configured yet.

dpkg: error processing package frr-rpki-rtrlib (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure
.
 dpkg: dependency problems prevent configuration of frr-pythontools:
 frr-pythontools depends on frr (<< 8.1.0-~); however:
  Package frr is not configured yet.
 frr-pythontools depends on frr (>= 8.1-1ubuntu1.8~); however:
  Package frr is not configured yet.

dpkg: error processing package frr-pythontools (--configure):
 dependency problems - leaving unconfigured
Processing triggers for rsyslog (8.2112.0-2ubuntu2.2) ...
invoke-rc.d: policy-rc.d denied execution of try-restart.
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.5) ...
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/libbpf.so.1 is not a symbolic link

Errors were encountered while processing:
 frr
 frr-rpki-rtrlib
 frr-pythontools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

It seems there is an issue installing frr from source and connecting it with the rpki-rtr library. The same issue persists even for Ubuntu 20.04. Can anyone help with completing the installation of rpki support?

ton31337 commented 11 months ago

Which version are you trying to install?

cli0 commented 11 months ago

I tried to install frr-stable via debian repository https://deb.frrouting.org/ and I also tried installing from source following https://docs.frrouting.org/projects/dev-guide/en/latest/building-frr-for-ubuntu2204.html

As for the version of the frr-rpki-rtrlib, I am installing the version that comes by default with apt. No specific version.

It failed consistently for both Ubuntu 20.04 and Ubuntu 22.04.

ton31337 commented 11 months ago

frr-rpki-rtrlib package depdends on frr package. That means you can't install just frr-rpki-rtrlib. Two options: either install FRR + rtrlib from the packages or compile both.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 180 days with no activity. Comment or remove the autoclose label in order to avoid having this issue closed.