[Yum] file conflicts during yum install <package>

Steven McKinney smckinney at bccrc.ca
Wed Jul 4 00:28:28 UTC 2007


Ian,

A thousand thanks.

I believe I had been attempting
yum update openldap.x86_64
which also failed, no doubt because
of the i386 copy.

But after reading your information, I ran

yum update openldap

after which

yum install subversion-devel.x86_64 

ran just fine.  (Output below for reference.)

Thanks for your clarifications on
the x86_64 and i386 versions.  Updating
both was the key.



Steven McKinney

Statistician
Molecular Oncology and Breast Cancer Program
British Columbia Cancer Research Centre

email: smckinney at bccrc.ca

tel: 604-675-8000 x7561

BCCRC
Molecular Oncology
675 West 10th Ave, Floor 4
Vancouver B.C. 
V5Z 1L3
Canada




-----Original Message-----
From: yum-bounces at lists.dulug.duke.edu on behalf of Ian Burrell
Sent: Mon 7/2/2007 3:30 PM
To: Yellowdog Updater, Modified
Subject: Re: [Yum] file conflicts during yum install <package>
 
On 6/25/07, Steven McKinney <smckinney at bccrc.ca> wrote:
>
> I'm a new user of yum, which has worked
> well for dozens of package installs.
>
> I need to install subversion on an x86_64
> machine running fedora core 6
>
> I issue the command
>
> yum install subversion-devel.x86_64
>
> and end up with error message
>
>
> Transaction Check Error:   file /usr/share/man/man5/ldap.conf.5.gz from install of openldap-2.3.30-2.fc6 conflicts with file from package openldap-2.3.27-4
>   file /usr/share/man/man5/ldif.5.gz from install of openldap-2.3.30-2.fc6 conflicts with file from package openldap-2.3.27-4
>

My suspicion is that since you are running x86_64 that you have
openldap.i386 and openldap.x86_64 both installed.  The two packages
can coexist since files like  /usr/share/man/man5/ldap.conf.5.gz are
the same between the architectures.  Installing subversion wants to
update openldap.x86_64 to 2.3.30-2.fc6.  But openldap.i386 is not
being updated and the file is different between the versions.  The
solution is to do a "yum update" to update to latest version before
installing subversion.

 - Ian
_______________________________________________
Yum mailing list
Yum at lists.dulug.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/yum




[root at shannon ess-5.3.4]# yum install subversion-devel.x86_64
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package subversion-devel.x86_64 0:1.4.3-2.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: apr-devel for package: subversion-devel
--> Processing Dependency: apr-util-devel for package: subversion-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package apr-util-devel.x86_64 0:1.2.8-1.fc6 set to be updated
---> Package apr-devel.x86_64 0:1.2.7-10 set to be updated
--> Running transaction check
--> Processing Dependency: apr-util = 1.2.8-1.fc6 for package: apr-util-devel
--> Processing Dependency: expat-devel for package: apr-util-devel
--> Processing Dependency: db4-devel for package: apr-util-devel
--> Processing Dependency: openldap-devel for package: apr-util-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package expat-devel.x86_64 0:1.95.8-8.2.1 set to be updated
---> Package apr-util.x86_64 0:1.2.8-1.fc6 set to be updated
---> Package openldap-devel.x86_64 0:2.3.30-2.fc6 set to be updated
---> Package db4-devel.x86_64 0:4.3.29-9.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel
--> Processing Dependency: openldap = 2.3.30-2.fc6 for package: openldap-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package openldap.x86_64 0:2.3.30-2.fc6 set to be updated
---> Package cyrus-sasl-devel.x86_64 0:2.1.22-4 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 subversion-devel        x86_64     1.4.3-2.fc6      updates           205 k
Installing for dependencies:
 apr-devel               x86_64     1.2.7-10         core              778 k
 apr-util-devel          x86_64     1.2.8-1.fc6      updates           272 k
 cyrus-sasl-devel        x86_64     2.1.22-4         core              1.4 M
 db4-devel               x86_64     4.3.29-9.fc6     core              2.1 M
 expat-devel             x86_64     1.95.8-8.2.1     core              126 k
 openldap-devel          x86_64     2.3.30-2.fc6     updates           1.6 M
Updating for dependencies:
 apr-util                x86_64     1.2.8-1.fc6      updates            75 k
 openldap                x86_64     2.3.30-2.fc6     updates           295 k

Transaction Summary
=============================================================================
Install      7 Package(s)         
Update       2 Package(s)         
Remove       0 Package(s)         

Total download size: 6.7 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /usr/share/man/man5/ldap.conf.5.gz from install of openldap-2.3.30-2.fc6 conflicts with file from package openldap-2.3.27-4
  file /usr/share/man/man5/ldif.5.gz from install of openldap-2.3.30-2.fc6 conflicts with file from package openldap-2.3.27-4

Error Summary
-------------

[root at shannon ess-5.3.4]# yum update openldap
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package openldap.x86_64 0:2.3.30-2.fc6 set to be updated
---> Package openldap.i386 0:2.3.30-2.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: openldap = 2.3.27-4 for package: openldap-clients
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package openldap-clients.x86_64 0:2.3.30-2.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
 openldap                x86_64     2.3.30-2.fc6     updates           295 k
 openldap                i386       2.3.30-2.fc6     updates           289 k
Updating for dependencies:
 openldap-clients        x86_64     2.3.30-2.fc6     updates           185 k

Transaction Summary
=============================================================================
Install      0 Package(s)         
Update       3 Package(s)         
Remove       0 Package(s)         

Total download size: 769 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): openldap-clients-2 100% |=========================| 185 kB    00:01     
(2/2): openldap-2.3.30-2. 100% |=========================| 289 kB    00:01     
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : openldap                     ######################### [1/6] 
  Updating  : openldap                     ######################### [2/6] 
  Updating  : openldap-clients             ######################### [3/6] 
  Cleanup   : openldap                     ######################### [4/6]
  Cleanup   : openldap-clients             ######################### [5/6]
  Cleanup   : openldap                     ######################### [6/6]

Updated: openldap.x86_64 0:2.3.30-2.fc6 openldap.i386 0:2.3.30-2.fc6
Dependency Updated: openldap-clients.x86_64 0:2.3.30-2.fc6
Complete!
[root at shannon ess-5.3.4]# yum install subversion-devel.x86_64
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package subversion-devel.x86_64 0:1.4.3-2.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: apr-devel for package: subversion-devel
--> Processing Dependency: apr-util-devel for package: subversion-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package apr-util-devel.x86_64 0:1.2.8-1.fc6 set to be updated
---> Package apr-devel.x86_64 0:1.2.7-10 set to be updated
--> Running transaction check
--> Processing Dependency: apr-util = 1.2.8-1.fc6 for package: apr-util-devel
--> Processing Dependency: expat-devel for package: apr-util-devel
--> Processing Dependency: db4-devel for package: apr-util-devel
--> Processing Dependency: openldap-devel for package: apr-util-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package expat-devel.x86_64 0:1.95.8-8.2.1 set to be updated
---> Package apr-util.x86_64 0:1.2.8-1.fc6 set to be updated
---> Package openldap-devel.x86_64 0:2.3.30-2.fc6 set to be updated
---> Package db4-devel.x86_64 0:4.3.29-9.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package cyrus-sasl-devel.x86_64 0:2.1.22-4 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Installing:
 subversion-devel        x86_64     1.4.3-2.fc6      updates           205 k
Installing for dependencies:
 apr-devel               x86_64     1.2.7-10         core              778 k
 apr-util-devel          x86_64     1.2.8-1.fc6      updates           272 k
 cyrus-sasl-devel        x86_64     2.1.22-4         core              1.4 M
 db4-devel               x86_64     4.3.29-9.fc6     core              2.1 M
 expat-devel             x86_64     1.95.8-8.2.1     core              126 k
 openldap-devel          x86_64     2.3.30-2.fc6     updates           1.6 M
Updating for dependencies:
 apr-util                x86_64     1.2.8-1.fc6      updates            75 k

Transaction Summary
=============================================================================
Install      7 Package(s)         
Update       1 Package(s)         
Remove       0 Package(s)         

Total download size: 6.5 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: apr-devel                    ######################### [1/9] 
  Updating  : apr-util                     ######################### [2/9] 
  Installing: db4-devel                    ######################### [3/9] 
  Installing: cyrus-sasl-devel             ######################### [4/9] 
  Installing: openldap-devel               ######################### [5/9] 
  Installing: expat-devel                  ######################### [6/9] 
  Installing: apr-util-devel               ######################### [7/9] 
  Installing: subversion-devel             ######################### [8/9] 
  Cleanup   : apr-util                     ######################### [9/9]

Installed: subversion-devel.x86_64 0:1.4.3-2.fc6
Dependency Installed: apr-devel.x86_64 0:1.2.7-10 apr-util-devel.x86_64 0:1.2.8-1.fc6 cyrus-sasl-devel.x86_64 0:2.1.22-4 db4-devel.x86_64 0:4.3.29-9.fc6 expat-devel.x86_64 0:1.95.8-8.2.1 openldap-devel.x86_64 0:2.3.30-2.fc6
Dependency Updated: apr-util.x86_64 0:1.2.8-1.fc6
Complete!
[root at shannon ess-5.3.4]# 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6310 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20070703/9d2dd73f/attachment-0001.bin 


More information about the Yum mailing list