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

Ubuntu 22.04 #50

Closed
bradk92 opened this issue Apr 28, 2022 · 2 comments
Closed

Ubuntu 22.04 #50

bradk92 opened this issue Apr 28, 2022 · 2 comments

Comments

@bradk92
Copy link

bradk92 commented Apr 28, 2022

I tried to install the eve-ng-integration on Ubuntu 22.04 but I get a few errors. The repo doesn't seem to be available and when cloning from git I get the following:

brad@gengar:~/git/eve-ng-integration$ sudo make install
mkdir -p "/usr/bin"
install -m 755 bin/eve-ng-integration /usr/bin/
install -m 755 bin/eni-rdp-wrapper /usr/bin/
mkdir -p "/usr/share/applications"
install -m 644 data/eve-ng-integration.desktop /usr/share/applications/
install -m 644 data/eni-rdp-wrapper.desktop /usr/share/applications/
mkdir -p "/usr/share/mime/packages"
install -m 644 data/eni-rdp-wrapper.xml /usr/share/mime/packages/
make post-install
make[1]: Entering directory '/home/brad/git/eve-ng-integration'

build cache database of MIME types handled by desktop files

update-desktop-database -q || true

build the Shared MIME-Info database cache

update-mime-database -n /usr/share/mime || true

When I try instead to just install using the install.sh file (like I've done previously) I get an error about Python

brad@gengar:~/git/eve-ng-integration$ sh install.sh
=> Detected distribution: ubuntu 22.04 (debian)
=> Install dependencies...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python2-minimal:i386 python2:i386 python2-minimal python2 dh-python 2to3 python-is-python3

E: Package 'python' has no installation candidate

I've even created a global alias of python=python2.7 in case it just needs to find python to execute a script but it's still no good.

@matt-coding
Copy link

Hello,

Looks like there isn't a package for Ubuntu 22.04 LTS (Jammy Jellyfish), I used this workaround (use at your own risk):

Add repo:
sudo add-apt-repository ppa:smartfinn/eve-ng-integration

Replace "jammy" with "hirsute":
sudo nano /etc/apt/sources.list.d/smartfinn-ubuntu-eve-ng-integration-jammy.list

sudo apt update
sudo apt install equivs

Make dummy-python equivs-control-file:

me@mybox:~$ cat dummy-python
Section: misc
Priority: optional
Standards-Version: 3.9.2

Package: dummy-python
Provides: python
Architecture: all
Description: Fix eve-ng-integration dependencies
me@mybox:~$

Build dummy package:
equivs-build dummy-python

Symlink python to python3:
sudo ln -s /usr/bin/python3 /usr/bin/python

Install created package:
sudo apt install ./dummy-python_1.0_all.deb

Install eve-ng integration:
sudo apt install eve-ng-integration

Best solution is probably to wait until release for 22.04

@SmartFinn
Copy link
Owner

The installation script and PPA package fixed with 09132e5

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

3 participants