Hello Antoine, Erich,
we are starting to use Yum in the OSCAR project in an effort to cover the
majority of distributions OSCAR supports with a single package management tool.
I'm having a dependency problem regarding the installation of gcc-gfortran in a
Mandriva 2006 distribution using the distro specific yum version. Here's the
output I have:
--> Processing Dependency: libgfortran = 4.0.1-5mdk for package: gcc-gfortran
Requiring package is from transaction set
Resolving for requiring package: gcc-gfortran-4.0.1-5mdk in state u
Resolving for requirement: libgfortran = 4.0.1-5mdk
Searching pkgSack for dep: libgfortran
Potential match for libgfortran from libgfortran0 - 4.0.1-5mdk.i586
miss = 3
conf = 0
CheckDeps = 0
--> Finished Dependency Resolution
Dependency Process ending
Error: Missing Dependency: libgfortran = 4.0.1-5mdk is needed by package
gcc-gfortran
I'm not sure as how yum works but it identifies a "potencial match for libgfortran
from libgfortran0 - 4.0.1-5mdk.i586", although it doesn't try to use it.
URPMI, in the other hand, have no problem in identifying and installing the
package:
# urpmi gcc-gfortran
To satisfy dependencies, the following 2 packages are going to be installed (6
MB):
gcc-gfortran-4.0.1-5mdk.i586
libgfortran0-4.0.1-5mdk.i586
Is this OK? (Y/n) y
installing gcc-gfortran-4.0.1-5mdk.i586.rpm libgfortran0-4.0.1-5mdk.i586.rpm
from /var/cache/urpmi/rpms
Preparing... #############################################
1/2: libgfortran0 #############################################
2/2: gcc-gfortran #############################################
An important detail to add is that even rpm itself doesn't explicitly list
*libgfortran = 4.0.1-5mdk* as provided by libgfortran0:
# rpm -qp --provides libgfortran0-4.0.1-5mdk.i586.rpm
libgfortran = 4.0.1
libgfortran4.0 = 4.0.1-5mdk
libgfortran.so.0
libgfortran0 = 4.0.1-5mdk
I don't know how urpm do to "match" the dependency, once the "exact" dependency is not
"covered" by the package.
I have already tried different versions of yum without any different results.
As this have happened with only one package (until now) I wonder with one can
rebuild the package and fix the mis-match.
Thank you all,
--
Fernando Laudares Camargos
Révolution Linux
http://www.revolutionlinux.com
---------------------------------------
* Tout opinion et prise de position exprimée dans ce message est celle de son
auteur et pas nécessairement celle de Révolution Linux.
** Any views and opinion presented in this e-mail are solely those of the
author and do not necessarily represent those of Révolution Linux.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel