-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Fri, 2017-06-16 at 02:13 +0200, Dominik 'Rathann' Mierzejewski wrote: > 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. mlschroe commented on Dec 12, 2016 Ah, it's a feature. Anyway, it's pretty impossible to fix. The problem is that there is no information why bash-completion is not installed. Is it because it was not available in the repos before? Or it was not installable because some other installed packages conflicted with it? Or some dependency could not be met at the time? Or the user installed dnf with weak deps disabled? Or it was installed and got deinstalled? So we simply don't know what the reason is. Just ignoring the Recommends is as wrong as installing it. Add the package to your exclude list if you don't want to have it installed. (Or disfavor list at some point in dnf's future...) This is possible to fix on DNF's end, but it is complicated to implement. So if you really want to have minimal system, set install_weak_deps=false in dnf.conf and use -- setopt=install_weak_deps=true when installing packages. > > Regards, > Dominik > -- > Fedora http://fedoraproject.org/wiki/User:Rathann > RPMFusion http://rpmfusion.org > "Faith manages." > -- Delenn to Lennier in Babylon 5:"Confessions and > Lamentations" > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx - -- - -Igor Gnatenko -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAllD3rIACgkQaVcUvRu8 X0xc+RAAgoMeChN8hTmNwRx5xptPr6HBG37U7EUDTP8xBxkZZ0wVfLDSMTGnXYjG tCQH6yDE4VNlrfurmEwJcOIZKpDmuOyCw7J+F45o6TgWUBhrfrJpENb//KBt4AUG psuiR0UP1pjASGvXhRx3o+9AsPq9wc2oOixjS4b+3WVyRTwzT7KqkVAc2laDyCCL 3s/AtTM9R+grLVZsDQbaNeNLLujGcW71DEh9wb5NXx0XZYAc3VyXzB3+sdo6diOJ Te9VeoPWsQO6My0OT1eiqGxk4b8Mv8or+z8t9c2s3b5KO4NTnL43KPtmiKtA/ZqS m2ub3p2ZpGBPcQBTiJow/x7Hy5Hc9JjGB/jMCr1LHPgsBpuAZkF4VekwZ/3jjC44 8bFdYlX/Ny09u/0Tr6Xzy+RCLGL35MuHrCZ7KajrAUg3PMldR8d5lvTFMPMcmAgI tP5yAUIZTS9jtkfH/VTUC1zPckJiCmc3Vxdfy/DbZ9bhQg1MTkud492pTED8YRax Psp/CYLFaUS4CjdNP6OLMjVp53F6uoTskJS3d2dAOmsw6HsBXlkxdrzhY1w7BmJY bVdoNmMDBYcGCahes3nve9qYnGDEFXxU+dmiL2SfpIWUmdRfI2rmiZJI9lf+y9Jt L/RT91i3oUhU/eyHKcC+K49dCp0WzaZkejIeKw3ENeN9D17xjqc= =vrWe -----END PGP SIGNATURE----- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx