- 最新
- 投票最多
- 评论最多
1.22.0 is finally available
nginx-mod-http-geoip.x86_64 1:1.22.0-1.amzn2.0.2 amzn2extra-nginx1
The relevant team is aware of this one. For now I would recommend that you downgrade / lock NGINX and the additional modules to version 1.20.0.
Where can I find instructions for downgrading? Or what would be the best approach? uninstall and reinstall?
@Juan if you already upgraded some modules and you have a version mismatch, you can downgrade with something like
yum downgrade nginx-all-modules-1.20.0-2.amzn2.0.5 nginx-mod-http-image-filter-1.20.0-2.amzn2.0.5 nginx-mod-http-perl-1.20.0-2.amzn2.0.5 nginx-mod-http-xslt-filter-1.20.0-2.amzn2.0.5 nginx-mod-mail-1.20.0-2.amzn2.0.5 nginx-mod-stream-1.20.0-2.amzn2.0.5 nginx-1.20.0-2.amzn2.0.5 nginx-filesystem-1.20.0-2.amzn2.0.5 nginx-core-1:1.20.0-2.amzn2.0.5
thanks @gimucco I tried something similar: yum downgrade nginx nginx-core nginx-mod-stream nginx-mod-http-perl nginx-mod-http-image-filter nginx-mod-mail nginx-mod-http-xslt-filter ninx-all-modules
But ended with this error (maybe not specifying the version was my mistake): Transaction check error: file /etc/logrotate.d/nginx from install of nginx-1:1.20.0-2.amzn2.0.5.x86_64 conflicts with file from package nginx-core-1:1.22.0-1.amzn2.0.1.x86_64 file /usr/sbin/nginx from install of nginx-1:1.20.0-2.amzn2.0.5.x86_64 conflicts with file from package nginx-core-1:1.22.0-1.amzn2.0.1.x86_64 file /etc/nginx/mime.types from install of nginx-1:1.20.0-2.amzn2.0.5.x86_64 conflicts with file from package nginx-core-1:1.22.0-1.amzn2.0.1.x86_64 file /etc/nginx/mime.types.default from install of nginx-1:1.20.0-2.amzn2.0.5.x86_64 conflicts with file from package nginx-core-1:1.22.0-1.amzn2.0.1.x86_64
so in the end I used yum history
and then undo the last update yum history undo 101
and updated all but nginx yum update --exclude=nginx*
@forkfork any news on this? it's been a month with a mismatched version. Can we help the team working on this in any way? Submitting a compiled RPM?
still with the problem, in my case I did not rollback to 1.20 due "nginx-core" was not found... or maybe was introduced on 1.22?
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
I'm having the same issue, I'm thinking on removing the module, although not sure what might break. Also thought of compiling but was waiting to see if the package was updated.
I have the same problem, had to go back to 1.20 as well.