-3

i have two servers running centos, they are located in the same Data Center

i want to update my mod-pagespeed module

Server 1:

[root@web2 11]# yum update mod-pagespeed
Loaded plugins: auto-update-debuginfo, fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
 * base: centos.mirror.linuxwerk.com
 * epel: mirrors.n-ix.net
 * extras: mirror.softaculous.com
 * updates: centosmirror.netcup.net
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mod-pagespeed-beta.x86_64 0:1.7.30.4-3847 will be updated
---> Package mod-pagespeed-beta.x86_64 0:1.9.32.2-4321 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================
 Package                                             Arch                                    Version                                        Repository                                      Size
=================================================================================================================================================================================================
Updating:
 mod-pagespeed-beta                                  x86_64                                  1.9.32.2-4321                                  mod-pagespeed                                  5.8 M

Transaction Summary
=================================================================================================================================================================================================
Upgrade       1 Package(s)

Server 2

[root@web ~]# yum update mod-pagespeed
Loaded plugins: auto-update-debuginfo, fastestmirror, priorities, security
Determining fastest mirrors
epel/metalink                                            |  26 kB     00:00     
 * base: ftp.plusline.de
 * epel: mirrors.n-ix.net
 * extras: ftp.plusline.de
 * updates: ftp.plusline.de
10gen                                                    |  951 B     00:00     
base                                                     | 3.7 kB     00:00     
cr                                                       | 3.3 kB     00:00     
dag                                                      | 1.9 kB     00:00     
extras                                                   | 3.4 kB     00:00     
mod-pagespeed                                            |  951 B     00:00     
rbel5                                                    | 1.9 kB     00:00     
updates                                                  | 3.4 kB     00:00     
varnish-3.0                                              |  951 B     00:00     
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mod-pagespeed-stable.x86_64 0:1.7.30.4-3847 will be updated
---> Package mod-pagespeed-stable.x86_64 0:1.8.31.5-4307 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                  Arch       Version            Repository         Size
================================================================================
Updating:
 mod-pagespeed-stable     x86_64     1.8.31.5-4307      mod-pagespeed     5.4 M

Transaction Summary
================================================================================
Upgrade       1 Package(s)

so you see server2 says the latest version is 1.8.* server 1 says 1.9.* is

they differ in base, epel, extras mirrors,

how can i load the same version on server2 ?

2 Answers 2

3

The different servers are using different CentOS mirrors, one of which may not (yet) be completely in sync with upstream.

Your yum repository configuration by default uses the mirrorlist=http://mirrorlist.centos.org/... directive, which non-deterministically determines a good mirror. Another server can and will often use an alternate mirror.

You can point both to the same mirror by using the baseurl= directive in your yum repository instead of using mirrorlist.

2

The packages you try to update seems to be different as per the output.. web2 shows mod-pagespeed-beta where as web shows mod-pagespeed-stable. Make sure you are updating the correct package. Instead you can try "yum update mod-pagespeed-stable".

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .