Re: confsued at behaviour of 'yum install/update' command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Output is in attached file. Have a nice weekend.
 
--Guolin


From: Robinson Tiemuqinke <hahaha_30k@xxxxxxxxx>
To: yum@xxxxxxxxxxxxxxxxx
Sent: Friday, July 31, 2009 4:12:01 PM
Subject: confsued at behaviour of 'yum install/update' command

Hi, all,
 
 These days I got confused at the 'yum install' and 'yum update' commands. The problem is described below:
 
 Suppose there have been three packages: pkgA, pkgB, pkgC. Package pkgA depends on pkgB and pkgB depends on pkgC.
 
 When 'yum install pkgA' runned at the first time, yum found and installed all three packages, pkgA and pkgB and pkgC at their newest version.
 
 Then after some time, when all three packages have newer versions built, and 'yum update pkgA' command is carried out, only pkgA itself is updated to newest version, while pkgB and pkgC is still at old version untouched.
 
'yum install pkgA' and 'yum upgrade pkgA' have no effects neither.
 
 Any one can shed a light on this problem? Is there an option to turn on depending upgrade(pkgB), or even recursive dependency upgrade(pkgC)? Thanks a lot.
 
Have a nice weekend.
 
--Robinson  


(4:36:32 PM) good_guy: [root@www test]# yum list pkgA pkgB pkgC
(4:36:32 PM) good_guy: Loaded plugins: allowdowngrade, downloadonly, fastestmirror, merge-conf,
(4:36:32 PM) good_guy:               : tmprepo, verify
(4:36:32 PM) good_guy: Loading mirror speeds from cached hostfile
(4:36:32 PM) good_guy:  * base: mirrors.cat.pdx.edu
(4:36:32 PM) good_guy:  * updates: mirrors.cmich.edu
(4:36:32 PM) good_guy: Available Packages
(4:36:32 PM) good_guy: pkgA.i386                               0.1-1                               test
(4:36:32 PM) good_guy: pkgB.i386                               0.1-1                               test
(4:36:32 PM) good_guy: pkgC.i386                               0.1-1                               test
(4:36:40 PM) good_guy: the above is before installation..
(4:36:55 PM) good_guy: then I'll run and post the results  of 'yum install pkgA'...
(4:37:51 PM) good_guy: [root@www test]# yum list pkgA pkgB pkgC
(4:37:51 PM) good_guy: Loaded plugins: allowdowngrade, downloadonly, fastestmirror, merge-conf, tmprepo, verify
(4:37:51 PM) good_guy: Loading mirror speeds from cached hostfile
(4:37:51 PM) good_guy:  * base: mirrors.cat.pdx.edu
(4:37:51 PM) good_guy:  * updates: mirrors.cmich.edu
(4:37:51 PM) good_guy: Available Packages
(4:37:51 PM) good_guy: pkgA.i386                                             0.1-1                                 
(4:37:51 PM) good_guy: pkgB.i386                                             0.1-1                                 
(4:37:51 PM) good_guy: pkgC.i386                                             0.1-1                                 
(4:37:51 PM) good_guy: [root@www test]# yum install pkgA
(4:37:51 PM) good_guy: Loaded plugins: allowdowngrade, downloadonly, fastestmirror, merge-conf, tmprepo, verify
(4:37:51 PM) good_guy: Loading mirror speeds from cached hostfile
(4:37:51 PM) good_guy:  * base: mirrors.cat.pdx.edu
(4:37:51 PM) good_guy:  * updates: mirrors.cmich.edu
(4:37:51 PM) good_guy: Setting up Install Process
(4:37:51 PM) good_guy: Parsing package install arguments
(4:37:51 PM) good_guy: Resolving Dependencies
(4:37:51 PM) good_guy: --> Running transaction check
(4:37:51 PM) good_guy: ---> Package pkgA.i386 0:0.1-1 set to be updated
(4:37:51 PM) good_guy: --> Processing Dependency: pkgB for package: pkgA
(4:37:51 PM) good_guy: --> Running transaction check
(4:37:51 PM) good_guy: ---> Package pkgB.i386 0:0.1-1 set to be updated
(4:37:51 PM) good_guy: --> Processing Dependency: pkgC for package: pkgB
(4:37:51 PM) good_guy: --> Running transaction check
(4:37:51 PM) good_guy: ---> Package pkgC.i386 0:0.1-1 set to be updated
(4:37:51 PM) good_guy: --> Finished Dependency Resolution
(4:38:32 PM) good_guy: [root@www test]# yum list pkgA pkgB pkgC
(4:38:32 PM) good_guy: Loaded plugins: allowdowngrade, downloadonly, fastestmirror, merge-conf, tmprepo, verify
(4:38:32 PM) good_guy: Loading mirror speeds from cached hostfile
(4:38:32 PM) good_guy:  * base: mirrors.cat.pdx.edu
(4:38:32 PM) good_guy:  * updates: mirrors.cmich.edu
(4:38:32 PM) good_guy: Installed Packages
(4:38:32 PM) good_guy: pkgA.i386                                  0.1-1                                   installed
(4:38:32 PM) good_guy: pkgB.i386                                  0.1-1                                   installed
(4:38:32 PM) good_guy: pkgC.i386                                  0.1-1                                   installed
(4:38:32 PM) good_guy: [root@www test]# 
(4:38:50 PM) good_guy:  See it all installed at the first time... I mean, initially.
(4:39:13 PM) good_guy: Now I'll load the newer versions to my test repo....
(4:40:14 PM) good_guy: [root@www test]# cp /usr/src/redhat/RPMS/i386/pkg?-0.1-2*.rpm /data/test
(4:40:14 PM) good_guy: [root@www test]# createrepo .
(4:40:14 PM) good_guy: 6/6 - pkgA-0.1-2.i386.rpm                                                       
(4:40:14 PM) good_guy: Saving Primary metadata
(4:40:14 PM) good_guy: Saving file lists metadata
(4:40:14 PM) good_guy: Saving other metadata
(4:40:14 PM) good_guy: [root@www test]# yum clean all
(4:40:14 PM) good_guy: Loaded plugins: allowdowngrade, downloadonly, fastestmirror, merge-conf, tmprepo, verify
(4:40:14 PM) good_guy: Cleaning up Everything
(4:40:14 PM) good_guy: Cleaning up list of fastest mirrors
(4:40:14 PM) good_guy: [root@www test]# 
(4:41:11 PM) good_guy: [root@www test]# yum list pkgA pkgB pkgC
(4:41:13 PM) good_guy: ...
(4:41:21 PM) good_guy: Installed Packages
(4:41:21 PM) good_guy: pkgA.i386                                  0.1-1                                   installed
(4:41:21 PM) good_guy: pkgB.i386                                  0.1-1                                   installed
(4:41:21 PM) good_guy: pkgC.i386                                  0.1-1                                   installed
(4:41:21 PM) good_guy: Available Packages
(4:41:21 PM) good_guy: pkgA.i386                                  0.1-2                                   test     
(4:41:21 PM) good_guy: pkgB.i386                                  0.1-2                                   test     
(4:41:21 PM) good_guy: pkgC.i386                                  0.1-2                                   test     
(4:41:21 PM) good_guy: [root@www test]# 
(4:42:01 PM) good_guy: ------------ See the above, old versions are the installed version, and newer versions are in 'test' repo. ---------
(4:42:55 PM) good_guy: [root@www test]# yum install pkgA
(4:42:56 PM) good_guy: ...
(4:43:18 PM) bernardl: goodguy007: pastebin.ca
(4:43:41 PM) good_guy: Dependencies Resolved
(4:43:41 PM) good_guy: ============================================================================================
(4:43:41 PM) good_guy:  Package              Arch                 Version               Repository            Size
(4:43:41 PM) good_guy: ============================================================================================
(4:43:41 PM) good_guy: Updating:
(4:43:41 PM) good_guy:  pkgA                 i386                 0.1-2                 test                 2.8 k
(4:43:41 PM) good_guy: Transaction Summary
(4:43:41 PM) good_guy: ============================================================================================
(4:43:41 PM) good_guy: Install      0 Package(s)         
(4:43:41 PM) good_guy: Update       1 Package(s)         
(4:43:41 PM) good_guy: Remove       0 Package(s)         
(4:43:41 PM) good_guy: Total download size: 2.8 k
(4:43:41 PM) good_guy: Is this ok [y/N]: y
(4:43:41 PM) good_guy: Downloading Packages:
(4:43:41 PM) good_guy: Running rpm_check_debug
(4:43:41 PM) good_guy: Running Transaction Test
(4:43:41 PM) good_guy: Finished Transaction Test
(4:43:41 PM) good_guy: Transaction Test Succeeded
(4:43:41 PM) good_guy: Running Transaction
(4:43:43 PM) good_guy: ...
(4:43:45 PM) good_guy: Updated: pkgA.i386 0:0.1-2
(4:43:45 PM) good_guy: Complete!
(4:44:05 PM) bernardl: ...
(4:44:06 PM) good_guy: -------------------- see above, pkgB and pkgC are not touched ... ----------------
(4:44:11 PM) good_guy: Double check again now..
(4:44:30 PM) good_guy: [root@www test]# yum list pkgA pkgB pkgC
(4:44:30 PM) good_guy: Loaded plugins: allowdowngrade, downloadonly, fastestmirror, merge-conf, tmprepo, verify
(4:44:30 PM) good_guy: Loading mirror speeds from cached hostfile
(4:44:30 PM) good_guy:  * base: mirrors.kernel.org
(4:44:30 PM) good_guy:  * updates: mirrors.cmich.edu
(4:44:30 PM) good_guy: Installed Packages
(4:44:30 PM) good_guy: pkgA.i386                                  0.1-2                                   installed
(4:44:30 PM) good_guy: pkgB.i386                                  0.1-1                                   installed
(4:44:30 PM) good_guy: pkgC.i386                                  0.1-1                                   installed
(4:44:30 PM) good_guy: Available Packages
(4:44:30 PM) good_guy: pkgB.i386                                  0.1-2                                   test     
(4:44:30 PM) good_guy: pkgC.i386                                  0.1-2                                   test     
(4:44:30 PM) good_guy: [root@www test]#
(4:44:45 PM) bernardl left the room ("Leaving").
(4:45:25 PM) bernardl [n=bernardl@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx] entered the room.
(4:45:41 PM) good_guy: Hi, bernardl, welcome back ....
(4:45:46 PM) bernardl: goodguy007: are you done flooding the channel? :)
(4:45:47 PM) good_guy: To help me solve the problem.
(4:45:56 PM) good_guy: I think so. :)
(4:46:45 PM) good_guy: Almost, ... :)
(4:46:46 PM) good_guy: [root@www test]# rpm -q --requires pkgA
(4:46:46 PM) good_guy: pkgB  
(4:46:46 PM) good_guy: rpmlib(CompressedFileNames) <= 3.0.4-1
(4:46:46 PM) good_guy: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
(4:46:46 PM) good_guy: [root@www test]# rpm -q --requires pkgB
(4:46:46 PM) good_guy: pkgC  
(4:46:46 PM) good_guy: rpmlib(CompressedFileNames) <= 3.0.4-1
(4:46:46 PM) good_guy: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
(4:46:46 PM) good_guy: [root@www test]# 
(4:46:47 PM) good_guy: [root@www test]# rpm -q --requires pkgC
(4:46:47 PM) good_guy: rpmlib(CompressedFileNames) <= 3.0.4-1
(4:46:47 PM) good_guy: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
(4:46:47 PM) good_guy: [root@www test]# 
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux