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

suggested working config to support Ubuntu 22.04 #87

Open
itiligent opened this issue Jul 15, 2022 · 2 comments
Open

suggested working config to support Ubuntu 22.04 #87

itiligent opened this issue Jul 15, 2022 · 2 comments

Comments

@itiligent
Copy link
Contributor

itiligent commented Jul 15, 2022

Hi,

I've been doing a lot of testing in a bit of a niche this week - not sure if this is a pull request but I'll share to save others PAIN!

To enable the script to work on Ubuntu 22.04 we need to :

  1. ensure libxslt1-dev libxml2 libxml2-dev are present.

  2. we also need to downgrade Posgresql to version 13 at install. Here is a working config I've applied.... (this approach might also solve the kali postgresql issue I see in the comments?)

source /etc/os-release
if [[ $VERSION_CODENAME = "jammy" ]] || [[ $VERSION_CODENAME == "Some future realease" ]]; then
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
echo "deb http://apt.postgresql.org/pub/repos/apt/ lsb_release -cs-pgdg main" |sudo tee /etc/apt/sources.list.d/pgdg.list
apt-get update
apt-get -y install postgresql-13 postgresql-client-13 postgresql-contrib-13 postgresql-server-dev-all
else
apt-get -y install postgresql postgresql-client postgresql-contrib postgresql-server-dev-all
fi

I've had Ubuntu 22.04 / gvm 21.4.5 up and running on both raspi and x86 running a-ok for a day now with no issues with the above approach

@yu210148
Copy link
Owner

yu210148 commented Jul 15, 2022 via email

@itiligent
Copy link
Contributor Author

itiligent commented Oct 11, 2022 via email

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

2 participants