ansible-nextcloud icon indicating copy to clipboard operation
ansible-nextcloud copied to clipboard

Failed to install package due to uppercase package names.

Open zensunni opened this issue 4 years ago • 1 comments

I'm getting the following error on vanilla centos 8 (via vagrant box)

TASK [rbicker.nextcloud : ensure MariaDB-server is installed] ******************                                                                                                                             
fatal: [default]: FAILED! => {"changed": false, "failures": ["MariaDB-server All matches were filtered out by modular filtering for argument: MariaDB-server"], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}                                                                                                                                                                        

Seems like yum lowercases the package (running yum search only provides lowercase results), even though I can clearly see that it is using case in the yum repo: http://yum.mariadb.org/10.4/centos8-amd64/rpms/

The simple fix is to just lowercase the package in the server install yum script.

zensunni avatar Apr 18 '21 19:04 zensunni

[deleted]

bugspencor avatar Nov 24 '21 13:11 bugspencor