Re: Bug in yum-skip-broken (was : yum doesn't look for provides on packages to be installed)

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1192078540.19308.24.camel@cutter>
On Thu, 2007-10-11 at 09:08 +0700, Fajar A. Nugraha wrote:
> Tim Lauridsen wrote:
> >> Adding --skip-broken --exclude mysql gives the same result as I posted
> >> earlier, in which it works, but MySQL-shared was also installed (It
> >> shouldn't have, since MySQL-shared-compat also provides MySQL-shared,
> >> but apparently no harm done)
> >>
> >> Regards,
> >>
> >> Fajar
> >> _______________________________________________
> >> Yum mailing list
> >> [email protected]
> >> https://lists.dulug.duke.edu/mailman/listinfo/yum
> >>     
> >
> > Weird, what skip-broken does is run the yum depsolve with each package
> > in the transaction, skip the ones there don't depsolve without errors.
> >
> > I this case i looks like MySQL-server don't desolve alone.
> >
> > So 'yum install MySQL-server' should fail to.
> >
> >   
> You are correct. I didn't look closely at the packages being installed
> with --skip-broken. MySQL-server was indeed not there. Regardless, the
> problem is the same :
> 
> - without --skip-broken, installation succeeded
> - with --skip-broken, MySQL-server was automatically removed from
> transaction, but installation still failed
> - with --skip-broken and --exclude mysql, installation succeeded
> 
> I believe the problem is, as you say, "what skip-broken does is run the
> yum depsolve with each package in the transaction". Meaning :
> - skip-broken sees MySQL-client, try to depsolve it
> - skip-broken sees requirement for libmysqlclient.so.15()(64bit), try to
> find a package that provides it, found mysql. HOWEVER,
> - skip-broken didn't see that I also want to install
> MySQL-shared-compat, which also provides libmysqlclient.so.15()(64bit)
> and would've been able to be installed nicely, because it runs on each
> package without looking at the entire line of package to be installed.
> 
> Is there a fix for this?
> 
> Regards,

I may have missed this from before but - what ver of skip-broken is it?

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.