amuehlem / MISP-RPM

RPM packages for MISP
32 stars 14 forks source link

Security Update v2.4.158 Unavailable #66

Closed JoePJisc closed 2 years ago

JoePJisc commented 2 years ago

v2.4.158 of MISP was released nearly a week ago, the release notes state it is a security release, so I'm keen to roll it out ASAP; is there an estimate on whne the RPM will be available?

I'm seeing the following when running yum check-update:

misp.x86_64    2.4.157-1.el7    misp
misp-modules.x86_64    2.4.156-1.el7    misp
misp-python.x86_64    3.9.9-6.el7    misp
misp-python-virtualenv.x86_64    2.4.157-1.el7    misp

Thanks

amuehlem commented 2 years ago

Hi JoeP-oss

I created the RPMs this afternoon and they should be uploaded in the next minutes.

Best Andreas

JoePJisc commented 2 years ago

Great thanks, I can now see it, however when I try to do the update from v2.4.156 I get:

Error: Package: misp-python-virtualenv-2.4.158-1.el7.x86_64 (misp)
           Requires: /opt/python/cp39-cp39/bin/python3.9
 You could try using --skip-broken to work around the problem
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
php-pear-Console_CommandLine-1.2.2-4.el7.noarch has missing requires of php > ('0', '7.0', None)
php-pear-Crypt_GPG-1.6.3-1.el7.noarch has missing requires of php > ('0', '7.0', None)
php-redis-4.3.0-1.el7.x86_64 has missing requires of php > ('0', '7.0', None)
php-zmq-1.1.3-1.el7.x86_64 has missing requires of php
JoePJisc commented 2 years ago

I did a --skip-broken to get the kernel updates out of the way and see if this resolved the issue, and this is the residual for check-update, with the same error when trying to do an update -y:

expat.x86_64                        2.1.0-14.el7_9          updates
httpd.x86_64                        2.4.6-97.el7.centos.5   updates
httpd-tools.x86_64                  2.4.6-97.el7.centos.5   updates
misp.x86_64                         2.4.158-1.el7           misp
misp-python-virtualenv.x86_64       2.4.158-1.el7           misp
mod_ssl.x86_64                      1:2.4.6-97.el7.centos.5 updates
openssl.x86_64                      1:1.0.2k-25.el7_9       updates
openssl-devel.x86_64                1:1.0.2k-25.el7_9       updates
openssl-libs.x86_64                 1:1.0.2k-25.el7_9       updates
php74-php.x86_64                    7.4.29-1.el7.remi       remi-safe
php74-php-bcmath.x86_64             7.4.29-1.el7.remi       remi-safe
php74-php-cli.x86_64                7.4.29-1.el7.remi       remi-safe
php74-php-common.x86_64             7.4.29-1.el7.remi       remi-safe
php74-php-gd.x86_64                 7.4.29-1.el7.remi       remi-safe
php74-php-intl.x86_64               7.4.29-1.el7.remi       remi-safe
php74-php-json.x86_64               7.4.29-1.el7.remi       remi-safe
php74-php-mbstring.x86_64           7.4.29-1.el7.remi       remi-safe
php74-php-mysqlnd.x86_64            7.4.29-1.el7.remi       remi-safe
php74-php-opcache.x86_64            7.4.29-1.el7.remi       remi-safe
php74-php-pdo.x86_64                7.4.29-1.el7.remi       remi-safe
php74-php-process.x86_64            7.4.29-1.el7.remi       remi-safe
php74-php-sodium.x86_64             7.4.29-1.el7.remi       remi-safe
php74-php-xml.x86_64                7.4.29-1.el7.remi       remi-safe
JoePJisc commented 2 years ago

One more update, I've upgraded all other packages, misp included, using yum update <package-name> and brought the venv up to 2.4.157 using sudo yum update misp-python-virtualenv-2.4.157, but I sitll get the same error trying to do the final package upgrade,

Resolving Dependencies
--> Running transaction check
---> Package misp-python-virtualenv.x86_64 0:2.4.157-1.el7 will be updated
---> Package misp-python-virtualenv.x86_64 0:2.4.158-1.el7 will be an update
--> Processing Dependency: /opt/python/cp39-cp39/bin/python3.9 for package: misp-python-virtualenv-2.4.158-1.el7.x86_64
--> Processing Dependency: /opt/python/cp39-cp39/bin/python3.9 for package: misp-python-virtualenv-2.4.158-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: misp-python-virtualenv-2.4.158-1.el7.x86_64 (misp)
           Requires: /opt/python/cp39-cp39/bin/python3.9
 You could try using --skip-broken to work around the problem
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
php-pear-Console_CommandLine-1.2.2-4.el7.noarch has missing requires of php > ('0', '7.0', None)
php-pear-Crypt_GPG-1.6.3-1.el7.noarch has missing requires of php > ('0', '7.0', None)
php-redis-4.3.0-1.el7.x86_64 has missing requires of php > ('0', '7.0', None)
php-zmq-1.1.3-1.el7.x86_64 has missing requires of php
JoePJisc commented 2 years ago

Different error and version, but same issue, on AlmaLinux 8 (RHEL8):

Error: 
 Problem: cannot install the best update candidate for package misp-python-virtualenv-2.4.157-1.el8.x86_64
  - nothing provides /opt/python/cp38-cp38/bin/python3.8 needed by misp-python-virtualenv-2.4.158-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
amuehlem commented 2 years ago

Hi JoeP-oss

Thank you for pointing this out! I've removed the requirements for /opt/python/cp3* on both RHEL7 and RHEL8 version. I could verify it now installs without the error.

I could not reproduce the 'php > ('0', '7.0', None)' errors, are you installing the RPMs on a CentOS 7 or RHEL7 host?

JoePJisc commented 2 years ago

All sorted, apologies forgot to update