Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation error for libbgpstream #206

Open
cli0 opened this issue Jan 31, 2021 · 8 comments
Open

installation error for libbgpstream #206

cli0 opened this issue Jan 31, 2021 · 8 comments

Comments

@cli0
Copy link

cli0 commented Jan 31, 2021

Hello,

I followed the appropriate website specified steps to install libbgpstream but I get the following error on the last setup step before trying to install the library:

user@pc:~$ curl -s https://pkg.caida.org/os/$(lsb_release -si|awk '{print tolower($0)}')/bootstrap.sh | bash 
Hit:1 http://ppa.launchpad.net/linuxuprising/java/ubuntu groovy InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu groovy InRelease                                                
Hit:3 http://de.archive.ubuntu.com/ubuntu groovy-updates InRelease                                        
Hit:4 https://packages.microsoft.com/repos/ms-teams stable InRelease                                      
Hit:5 http://de.archive.ubuntu.com/ubuntu groovy-backports InRelease                                      
Hit:6 http://security.ubuntu.com/ubuntu groovy-security InRelease                                         
Ign:7 https://dl.bintray.com/wand/general groovy InRelease                                                
Ign:8 https://pkg.caida.org/os/ubuntu groovy InRelease                                       
Get:9 https://dl.bintray.com/wand/general groovy Release [1.840 B]
Err:10 https://pkg.caida.org/os/ubuntu groovy Release    
  404  Not Found [IP: 192.172.226.6 443]
Reading package lists... Done
E: The repository 'https://pkg.caida.org/os/ubuntu groovy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

My pc is running Ubuntu 20.10.

@digizeph
Copy link
Contributor

digizeph commented Feb 1, 2021

Our package repository (pkg.caida.org) does not have support for ubuntu 20.20 at the moment.

While we're working on the support, you can temporarily change the apt source to point to 20.04 (focal) repo by changing the file /etc/apt/sources.list.d/caida.list to

deb https://pkg.caida.org/os/ubuntu focal main

i.e. change groovy to focal in the line.

l will keep this issue open until we added support to ubuntu 20.20.

@cli0
Copy link
Author

cli0 commented Feb 1, 2021

I did that but unfortunately the installation did not go through. I get the following error

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:
 libbgpstream2 : Depends: libwandio1 (>= 4.2.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I even tried to install libwandio manually according to the website (not from the official sudo apt install)
but the bgpstream install doesnt recognize it from anywhere in the system.

@digizeph
Copy link
Contributor

digizeph commented Feb 1, 2021

Can you try ldconfig -p|grep wandio on your system?

On my dev machine with 20.20, I have:

❯ ldconfig -p|grep wandio
	libwandio.so.6 (libc6,x86-64) => /lib/x86_64-linux-gnu/libwandio.so.6
	libwandio.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libwandio.so

If you don't see any output, try run sudo ldconfig and see if it shows up.

The recommended method for installing wandio library on Ubuntu is through their package repository (as mentioned in the bgpstream website):

echo "deb https://dl.bintray.com/wand/general $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/wand.list
curl --silent "https://bintray.com/user/downloadSubjectPublicKey?username=wand" | sudo apt-key add - 
sudo apt update; sudo apt install libwandio1-dev

This makes sure that the version is always up-to-date.

@cli0
Copy link
Author

cli0 commented Feb 1, 2021

this is my output for it

user@pc:~$ ldconfig -p|grep wandio
	libwandio.so.6 (libc6,x86-64) => /usr/local/lib/libwandio.so.6
	libwandio.so (libc6,x86-64) => /usr/local/lib/libwandio.so

I also followed your commands above and the error persists

@digizeph
Copy link
Contributor

digizeph commented Feb 1, 2021

Can you try install libwandio1-dev and see what the error it gets?

In worst case, you can always install the library using source code. Tutorial here:
https://bgpstream.caida.org/docs/install/bgpstream#generic

@wangyibo-105
Copy link

hello, When installing libbgpstream,I have this kind of error: https://pkg.caida.org/os/ubuntu jammy Release
I'm running Ubuntu 22.0.4

@Frank-Triolo
Copy link

hello, When installing libbgpstream,I have this kind of error: https://pkg.caida.org/os/ubuntu jammy Release I'm running Ubuntu 22.0.4

With hammy on 20.0.4 it does not work either

@cdockterTG
Copy link

Having the same issue i believe. Bump!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants