frr icon indicating copy to clipboard operation
frr copied to clipboard

Error installing frr-rpki-rtrlib on Ubuntu 22.04

Open cli0 opened this issue 1 year ago • 4 comments

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?

cli0 avatar Dec 08 '23 16:12 cli0

Which version are you trying to install?

ton31337 avatar Dec 11 '23 19:12 ton31337

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.

cli0 avatar Dec 11 '23 20:12 cli0

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.

ton31337 avatar Dec 14 '23 07:12 ton31337

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.

github-actions[bot] avatar Jun 12 '24 01:06 github-actions[bot]