On Tue, 2012-01-31 at 11:03 -0500, Bill Nottingham wrote:
Miloslav Trmač (mitr(a)volny.cz) said:
> > To be precise:
> >
> > [root@nostromo ~]# mv /bin /cow
> > [root@nostromo ~]# /cow/ln -s /cow /bin
> > [root@nostromo ~]# rpm -qf /cow/bash
> > bash-4.2.20-1.fc16.x86_64
> > [root@nostromo ~]# rpm -qf /bin/bash
> > bash-4.2.20-1.fc16.x86_64
> >
> > rpm should already handle this, no need for the provides.
>
> Elsewhere in this thread it was pointed out that yum doesn't handle it
> the same way.
When calculating local on-system provides, it should - in fact, I'd be
surprised if it doesn't. Admins sometimes move directories around and
replace them with symlinks.
Is the statement that it won't take it into account for an initial install
transaction?
Perhaps it'd be nice for someone to be sure about this? The competing
uncertain 'I think it's sort of like this' assertions are making me
nervous.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net