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

Trouble with nginx step on Fedora 35 #138

Open
ebdavison opened this issue Mar 29, 2022 · 2 comments
Open

Trouble with nginx step on Fedora 35 #138

ebdavison opened this issue Mar 29, 2022 · 2 comments

Comments

@ebdavison
Copy link

I was able to fix a few issues along the way so far (like system installed python packages which crashed the prepare_system.sh so uninstalled the system version and then the script was able to continue).

But, I am stuck here and don't know exactly what needs to be done.

TASK [prep_nginx : install needed packages] ********************************************************************************************
Tuesday 29 March 2022  12:36:01 -0500 (0:00:00.295)       0:00:02.334 *********
fatal: [localhost]: FAILED! => changed=false
  failures: []
  msg: |-
    Depsolve Error occurred:
     Problem: cannot install the best update candidate for package nginx-1:1.20.2-1.fc35.x86_64
      - nothing provides libcrypto.so.10()(64bit) needed by nginx-1:1.21.6-1.el7.ngx.x86_64
      - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by nginx-1:1.21.6-1.el7.ngx.x86_64
      - nothing provides libssl.so.10()(64bit) needed by nginx-1:1.21.6-1.el7.ngx.x86_64
      - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by nginx-1:1.21.6-1.el7.ngx.x86_64
      - nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by nginx-1:1.21.6-1.el7.ngx.x86_64
  rc: 1
  results: []

PLAY RECAP *****************************************************************************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=1    skipped=7    rescued=0    ignored=0

If I check on the nginx package with dnf I get:

[root@valinor nextcloud]# dnf install nginx
Last metadata expiration check: 3:59:18 ago on Tue 29 Mar 2022 08:40:30 AM CDT.
Dependencies resolved.
========================================================================================================================================
 Package                              Architecture               Version                              Repository                   Size
========================================================================================================================================
Installing:
 nginx                                x86_64                     1:1.20.2-1.fc35                      updates                     595 k
Installing dependencies:
 gperftools-libs                      x86_64                     2.9.1-2.fc35                         fedora                      309 k
 nginx-filesystem                     noarch                     1:1.20.2-1.fc35                      updates                      10 k
 nginx-mimetypes                      noarch                     2.1.53-2.fc35                        fedora                       21 k
 openssl                              x86_64                     1:1.1.1n-1.fc35                      updates                     658 k

Transaction Summary
========================================================================================================================================
Install  5 Packages

Total download size: 1.6 M
Installed size: 4.3 M
Is this ok [y/N]: n
Operation aborted.
@ReinerNippes
Copy link
Owner

The Fedora.yml task file is rather old. Sorry.

I guess right now nginx is include in "normal" fedora repos. Back in time I configured a CentOS 7 nginx repo as the source of the rpm packages of nginx.

see: https://github.com/ReinerNippes/nextcloud/blob/master/roles/prep_nginx/tasks/Fedora.yml#L9
baseurl: http://nginx.org/packages/mainline/centos/7/$basearch/

you could simply try to comment this line: https://github.com/ReinerNippes/nextcloud/blob/master/roles/prep_nginx/tasks/Fedora.yml#L26 which enables the centos repo during the installation task.

@ebdavison
Copy link
Author

I will give that a try. Thanks.

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