Re: file conflicts
Gerry Reno <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Gerry Reno wrote: > Seth Vidal wrote: >> >> >> On Thu, 21 May 2009, Gerry Reno wrote: >> >>> On the x86_64 systems I am bumping into this quite a bit: >>> >>> file /usr/share/....fileX in PKG.x86_64 conflicts with file from >>> PKG.i586 (or i386) >>> >>> These packages are trying to write out the same man pages or other >>> docs to the exact same file. It would seem that there needs to be >>> some type of versioning related to documentation so that you could >>> have multiple versions of the same package installed. The next >>> question is how do you get around this problem. I've had to use 'rpm >>> --force' to get by this type of problem. Is that the only solution? >>> >> >> It depends on the pkgs involved in the error: >> >> if the pkgs are different versions and different archs then you need >> to get the same ver of both archs. If you STILL get the error then >> you have found a packaging bug and need to report it to whomever >> provided those pkgs. >> >> >> hope this helps. >> -sv >> > If you do: > yum install PKG # want x86_64 version > > sometimes you will get the file conflict error because the existing > PKG.i586 is not at the same version as what is in the repository for > PKG.x86_64. So I think yum should see that and schedule an update for > PKG.i586 and then the file check would succeed. Right now you have to > deal with this manually. > Here's an example: # yum list fontconfig popt-devel postfix gdm Loaded plugins: dellsysidplugin2, fastestmirror, installonlyn, refresh- : packagekit, versionlock Loading mirror speeds from cached hostfile * rawhide: ftp.linux.ncsu.edu Reading version lock configuration Installed Packages fontconfig.i586 2.6.99.behdad.20090508-1.fc11 installed fontconfig.x86_64 2.6.99.behdad.20090508-1.fc11 installed gdm.i586 1:2.26.1-10.fc11 installed popt-devel.i586 1.13-5.fc11 installed postfix.i586 2:2.5.6-3.fc11 installed Available Packages gdm.x86_64 1:2.26.1-10.fc11 rawhide popt-devel.x86_64 1.13-5.fc11 rawhide postfix.x86_64 2:2.5.6-3.fc11 rawhide # yum install popt-devel postfix gdm Loaded plugins: dellsysidplugin2, fastestmirror, installonlyn, refresh- : packagekit, versionlock Loading mirror speeds from cached hostfile * rawhide: ftp.linux.ncsu.edu Reading version lock configuration Setting up Install Process Package fontconfig-2.6.99.behdad.20090508-1.fc11.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package gdm.x86_64 1:2.26.1-10.fc11 set to be updated ---> Package popt-devel.x86_64 0:1.13-5.fc11 set to be updated ---> Package postfix.x86_64 2:2.5.6-3.fc11 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gdm x86_64 1:2.26.1-10.fc11 rawhide 1.3 M popt-devel x86_64 1.13-5.fc11 rawhide 404 k postfix x86_64 2:2.5.6-3.fc11 rawhide 4.0 M Transaction Summary ================================================================================ Install 3 Package(s) Update 0 Package(s) Remove 0 Package(s) Total size: 5.6 M Is this ok [y/N]: Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Check Error: file /usr/share/doc/popt-devel-1.13/html/structpoptContext__s__coll__graph.png from install of popt-devel-1.13-5.fc11.x86_64 conflicts with file from package popt-devel-1.13-5.fc11.i586 file /etc/postfix/postfix-files from install of postfix-2:2.5.6-3.fc11.x86_64 conflicts with file from package postfix-2:2.5.6-3.fc11.i586 file /usr/share/gdm/autostart/LoginWindow/at-spi-registryd-wrapper.desktop from install of gdm-1:2.26.1-10.fc11.x86_64 conflicts with file from package gdm-1:2.26.1-10.fc11.i586 file /var/lib/gdm/.gconf.mandatory/%gconf-tree.xml from install of gdm-1:2.26.1-10.fc11.x86_64 conflicts with file from package gdm-1:2.26.1-10.fc11.i586 Error Summary ------------- Regards, Gerry