Closed celevra closed 1 year ago
I see no problems regarding Ubuntu 22.04 LTS. You did neither specify your Ubuntu version nor the Python version, so I just used multipass to spin up a fresh VM and then installed the latest Fangfrisch release on it. Looks good to me:
❯ multipass launch -c 4 -m 4G lts
❯ multipass list
Name State IPv4 Image
mutual-bluegill Running N/A Ubuntu 22.04 LTS
❯ multipass exec mutual-bluegill -- bash
ubuntu@mutual-bluegill:~$ python3 --version
Python 3.10.6
ubuntu@mutual-bluegill:~$ sudo apt install python3-venv
ubuntu@mutual-bluegill:~$ python3 -m venv .venv
ubuntu@mutual-bluegill:~$ . .venv/bin/activate
(.venv) ubuntu@mutual-bluegill:~$ pip install fangfrisch
Collecting fangfrisch
Downloading fangfrisch-1.6.0-py3-none-any.whl (31 kB)
Collecting SQLAlchemy>=1.3.13
Downloading SQLAlchemy-2.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 13.3 MB/s eta 0:00:00
Collecting requests>=2.22.0
Downloading requests-2.28.2-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 KB 11.3 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 KB 10.4 MB/s eta 0:00:00
Collecting idna<4,>=2.5
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 9.6 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2
Downloading charset_normalizer-3.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (198 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 198.8/198.8 KB 17.1 MB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.14-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 KB 12.1 MB/s eta 0:00:00
Collecting greenlet!=0.4.17
Downloading greenlet-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 613.7/613.7 KB 11.0 MB/s eta 0:00:00
Collecting typing-extensions>=4.2.0
Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Installing collected packages: charset-normalizer, urllib3, typing-extensions, idna, greenlet, certifi, SQLAlchemy, requests, fangfrisch
Successfully installed SQLAlchemy-2.0.4 certifi-2022.12.7 charset-normalizer-3.0.1 fangfrisch-1.6.0 greenlet-2.0.2 idna-3.4 requests-2.28.2 typing-extensions-4.5.0 urllib3-1.26.14
(.venv) ubuntu@mutual-bluegill:~$ pip freeze
certifi==2022.12.7
charset-normalizer==3.0.1
fangfrisch==1.6.0
greenlet==2.0.2
idna==3.4
requests==2.28.2
SQLAlchemy==2.0.4
typing_extensions==4.5.0
urllib3==1.26.14
(.venv) ubuntu@mutual-bluegill:~$ fangfrisch --help
usage: fangfrisch [-h] [-c CONF] [-f] [-p PROVIDER] {dumpconf,dumpmappings,initdb,refresh}
Update and verify unofficial ClamAV signatures.
positional arguments:
{dumpconf,dumpmappings,initdb,refresh}
options:
-h, --help show this help message and exit
-c CONF, --conf CONF configuration file
-f, --force force action (default: False)
-p PROVIDER, --provider PROVIDER
provider name filter (regular expression)
Fangfrisch version 1.6.0. Copyright © 2020-2023 Ralph Seichter.
I guess there's little left for me but point you to the Python 3.7 or higher requirement listed in the documentation.
yes you are right, here are my versions:
mx01 fangfrisch # cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
mx01 fangfrisch # python3 --version
Python 3.6.9
mx01 fangfrisch # python3 -m venv .venv
mx01 fangfrisch # . .venv/bin/activate
(.venv) mx01 fangfrisch # pip install fangfrisch
Collecting fangfrisch
Could not find a version that satisfies the requirement fangfrisch (from versions: )
No matching distribution found for fangfrisch
(.venv) mx01 fangfrisch #
ubuntu 20.04 is fine, so yes its python 3.7 then we have to update the servers thank you for your fast help
You're welcome. Upgrading your servers would indeed be a solution. You might also want to check the "bionic-backports" repository to see if Python 3.7 or newer have been backported to Ubuntu 18.04 LTS.
Hi,
thank you for this project an your time! Could it be that it is not supported on ubuntu?
regards
Celevra