[Yum-devel] Packages depending on an older version of themselves

Menno Smits menno-yum at freshfoo.com
Wed Jan 19 00:09:30 UTC 2005


Hi all,

I'm currently seeing a problem when a package seems to depend on an 
older version of itself. Yum appears to do the right thing until the 
time comes to run the transaction.

Here's the session:


# yum update wireless-tools
Setting up Update Process
Setting up Repos
core                      100% |=========================| 1.1 kB    00:00
dag                       100% |=========================|  951 B    00:00
livna                     100% |=========================|  951 B    00:00
updates                   100% |=========================|  951 B    00:00
freshrpms                 100% |=========================|  951 B    00:00
pre-extras                100% |=========================|  951 B    00:00
Reading repository metadata in from local files
core      : ################################################## 2622/2622
dag       : ################################################## 1639/1639
livna     : ################################################## 131/131
updates   : ################################################## 514/514
freshrpms : ################################################## 470/470
pre-extras: ################################################## 675/675
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package wireless-tools.i386 1:28-0.pre4.1.fc3 set to be updated
--> Running transaction check
--> Processing Dependency: libiw.so.27 for package: NetworkManager
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package wireless-tools.i386 1:27-0.pre25.2 set to be updated
--> Running transaction check

Dependencies Resolved
Transaction Listing:
   Update: wireless-tools.i386 1:28-0.pre4.1.fc3 - updates

Performing the following to resolve dependencies:
   Update: wireless-tools.i386 1:27-0.pre25.2 - core
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Check Error:   package wireless-tools-27-0.pre25.3 (which is 
newer than wireless-tools-27-0.pre25.2) is already installed
   file /sbin/ifrename conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /sbin/iwconfig conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /sbin/iwevent conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /sbin/iwgetid conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /sbin/iwlist conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /sbin/iwpriv conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /sbin/iwspy conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /usr/include/iwlib.h conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /usr/include/wireless.h conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /usr/lib/libiw.so conflicts between attempted installs of 
wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /usr/share/man/man5/iftab.5.gz conflicts between attempted 
installs of wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /usr/share/man/man8/ifrename.8.gz conflicts between attempted 
installs of wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /usr/share/man/man8/iwconfig.8.gz conflicts between attempted 
installs of wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /usr/share/man/man8/iwevent.8.gz conflicts between attempted 
installs of wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /usr/share/man/man8/iwgetid.8.gz conflicts between attempted 
installs of wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
   file /usr/share/man/man8/iwspy.8.gz conflicts between attempted 
installs of wireless-tools-27-0.pre25.2 and wireless-tools-28-0.pre4.1.fc3
#


Is this a problem with the package or is there something yum could be 
doing better (install the older package first, then install the new 
package)?

Menno


Scanned by the NetBox from NetBox Blue
(http://netboxblue.com/)




More information about the Yum-devel mailing list