Explain the function of static keyword and final keyword in Java in detail>>>
When using CentOS 7.5 to install software, there is an error prompt
[root@instance-lzteipxa ~]# yum update
Loaded plugins: langpacks, versionlock
baidu-bcm | 1.2 kB 00:00
base | 3.6 kB 00:00
epel | 3.2 kB 00:00
extras | 3.4 kB 00:00
nginx | 2.9 kB 00:00
rpmfusion-free-updates | 3.0 kB 00:00
rpmfusion-nonfree-updates | 3.0 kB 00:00
updates | 3.4 kB 00:00
(1/3): epel/x86_64/updateinfo | 948 kB 00:00
(2/3): epel/x86_64/primary | 3.6 MB 00:00
(3/3): nginx/x86_64/primary_db | 35 kB 00:01
epel 12703/12703
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 1:1.12.2-2.el7 will be updated
---> Package nginx.x86_64 1:1.14.0-1.el7_4.ngx will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
nginx x86_64 1:1.14.0-1.el7_4.ngx nginx 750 k
Transaction Summary
================================================================================
Upgrade 1 Package
Total download size: 750 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
nginx-1.14.0-1.el7_4.ngx.x86_64.rpm | 750 kB 00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : 1:nginx-1.14.0-1.el7_4.ngx.x86_64 1/2
warning: /etc/nginx/nginx.conf created as /etc/nginx/nginx.conf.rpmnew
Cleanup : 1:nginx-1.12.2-2.el7.x86_64 2/2
Verifying : 1:nginx-1.14.0-1.el7_4.ngx.x86_64 1/2
Verifying : 1:nginx-1.12.2-2.el7.x86_64 2/2
Updated:
nginx.x86_64 1:1.14.0-1.el7_4.ngx
Complete!
[root@instance-lzteipxa ~]# systemctl restart nginx
Incremental RPM packages contain differences between old and new versions of RPM packages. Applying incremental RPMs to old RPMs will result in new RPMs. A copy of the old rpm is not required because incremental RPMs can work with installed RPMs. The incremental RPM packet size is even smaller than the patch rpm, which facilitates the transmission of update packets over the Internet. The disadvantage is that update operations involving incremental RPMs take much longer CPU cycles than those using pure RPMs or patch RPMs
Solutions
yum provides '*/applydeltarpm'
yum install deltarpm