On Thursday, 15 June 2017 at 20:05, Stephen Gallagher wrote:
On 06/15/2017 02:02 PM, Tom Hughes wrote:
> On 15/06/17 18:27, Stephen Gallagher wrote:
>
>> I think you may misunderstand what "Recommends" means. At
install-time, it will
>> still be pulled into the system as if it was a "Requires:". The
difference is
>> that if someone later decides to do 'dnf remove perl-foo', it can be
removed
>> without also removing the main 'perl' package (which is what would
happen if it
>> is a full "requires").
>
> What does "Recommends" do on upgrade?
>
> In other words if Recommends was used and a new perl version had new modules in
> the core package would an upgrade of perl pull them in as you would expect?
>
> I don't see how it can unless it also reinstalls ones the user had chosen to
> remove?
You are correct, on upgrade it only updates packages currently on the system. It
won't install new ones (except to satisfy new dependencies for existing packages).
No, actually it does try to pull in any missing Recommends:. That's why
I have to add -x trousers to every dnf update I do. dnf keeps trying to
install it each time.
Regards,
Dominik
--
Fedora
http://fedoraproject.org/wiki/User:Rathann
RPMFusion
http://rpmfusion.org
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"