FRRouting / frr

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

Can't install frr on Ubuntu 22.04-lts #16347

Closed wshamroukh closed 1 day ago

wshamroukh commented 3 days ago

Description

While running the command sudo apt install -y frr frr-pythontools I am getting the following error:

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:
 frr : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
       Depends: libcares2 (>= 1.7.0) but it is not installable
       Depends: libreadline8t64 (>= 7.0~rc1) but it is not installable
       Depends: libyang2 (>= 2.1.128-2~ubuntu24.04u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Version

I am trying to install this version of frr on Ubuntu 22.04-lts:
Ubuntu 22.04 LTS (jammy)    frr-stable  frr 9.1-0~ubuntu22.04amd64

How to reproduce

Fresh installation of Ubuntu 22.04-lts Run the following commands:

curl -s https://deb.frrouting.org/frr/keys.gpg | sudo tee /usr/share/keyrings/frrouting.gpg > /dev/null
echo deb '[signed-by=/usr/share/keyrings/frrouting.gpg]' https://deb.frrouting.org/frr $(lsb_release -s -c) frr-stable | sudo tee -a /etc/apt/sources.list.d/frr.list
sudo apt update && sudo apt install -y frr frr-pythontools

Expected behavior

To get frr installed successfully

Actual behavior

Failing to install frr on Ubuntu 22.04-lts with the following error:

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:
 frr : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
       Depends: libcares2 (>= 1.7.0) but it is not installable
       Depends: libreadline8t64 (>= 7.0~rc1) but it is not installable
       Depends: libyang2 (>= 2.1.128-2~ubuntu24.04u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Additional context

No response

Checklist