Jump to content

i want to make a BeEF Server so i made a ubuntu server vm and followed the guide. according to it we first have to run 

sudo apt-add-repository -y ppa:brightbox/ruby-ng

but when i run it i get this error

$ sudo apt-add-repository -y ppa:brightbox/ruby-ng
PPA publishes dbgsym, you may need to include 'main/debug' component
Repository: 'deb https://ppa.launchpadcontent.net/brightbox/ruby-ng/ubuntu/ jammy main'
Description:
Ubuntu packages for Ruby 2.7, 2.6, 2.5, 2.4, 2.3, 2.2, 2.1, 2.0 1.9.3 and 1.8.

See https://www.brightbox.com/docs/ruby/ubuntu/ for more details.

Discussion list here:

https://groups.google.com/forum/#!forum/brightbox-ruby-ubuntu-packaging

https://www.brightbox.com
More info: https://launchpad.net/~brightbox/+archive/ubuntu/ruby-ng
Adding repository.
Adding deb entry to /etc/apt/sources.list.d/brightbox-ubuntu-ruby-ng-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/brightbox-ubuntu-ruby-ng-jammy.list
Adding key to /etc/apt/trusted.gpg.d/brightbox-ubuntu-ruby-ng.gpg with fingerprint 80F70E11F0F0D5F10CB20E62F5DA5F09C3173AA6
Hit:1 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:4 https://ppa.launchpadcontent.net/brightbox/ruby-ng/ubuntu jammy InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu jammy-security InRelease
Err:6 https://ppa.launchpadcontent.net/brightbox/ruby-ng/ubuntu jammy Release
  404  Not Found [IP: 185.125.190.52 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/brightbox/ruby-ng/ubuntu jammy 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.

i tried to remove and rerun the command but the error is still there can anyone plz help

image.thumb.png.209196e02688c0db9cc71e0603fffbad.pngimage.thumb.png.209196e02688c0db9cc71e0603fffbad.png

Link to comment
https://linustechtips.com/topic/1522550-help-in-making-beef-server/
Share on other sites

Link to post
Share on other sites

You seem to have two major problems.

https://www.brightbox.com/docs/ruby/ubuntu/

This source does not provide a Ruby version greater than 3.0 (required by BeEF) and it does not provide packages for Ubuntu Jammy which is what you have installed.

It seems weird that it was recommended to use that in the installation guide when it clearly only goes up to Ruby 2.7, so maybe I am missing something.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×