Re: What pulls in weak dependencies?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 09. 03. 19 v 12:41 Vít Ondruch napsal(a):
> Dne 09. 03. 19 v 4:03 Mamoru TASAKA napsal(a):
>> Vít Ondruch wrote on 2019/03/09 8:03:
>>> Hi,
>>>
>>> Running `dnf update`, it tries to install:
>>>
>>> Installing weak dependencies:
>>>   mkpasswd                        x86_64 5.4.1-3.fc31
>>> rawhide                 39 k
>>>
>>>
>>>
>>> Trying to query for weak dependencies, nothing requires it:
>>>
>>> $ sudo dnf repoquery --whatrecommends mkpasswd
>>> Last metadata expiration check: 0:07:13 ago on Fri Mar  8 23:51:51 2019.
>>>
>>> $ sudo dnf repoquery --supplements mkpasswd
>>> Last metadata expiration check: 0:07:53 ago on Fri Mar  8 23:51:51 2019.
>>>
>>>
>>> So I wonder how I am supposed to know, why DNF is trying to install such
>>> packages.
>>>
>>>
>>
>> $ dnf repoquery --disablerepo=\* --enablerepo=koji-31 --provides
>> mkpasswd 2>/dev/null | while read f ; do echo -n -e "$f\t" ; dnf
>> repoquery --disablerepo=\* --enablerepo=koji-31 --whatrecommends "$f"
>> 2>/dev/null ; echo ; done
>> mkpasswd = 5.4.1-3.fc31   
>> mkpasswd(x86-64) = 5.4.1-3.fc31   
>> whois-mkpasswd = 5.4.1-3.fc31    libxcrypt-0:4.4.4-1.fc31.x86_64
>>
>> So libxcrypt-0:4.4.4-1.fc31.x86_64 Recommends whois-mkpasswd , which
>> is provided by mkpasswd .
>>
> Thank you. That is actually awful command. I complained in this ticket:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1549851#c10
>
> and on top of that created new ticket requesting providing full
> information about the packages, which anyhow depend on specific package:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1687070
>
>
> Vít
>

As it turns out, there actually are DNF options for this. Let me
introduce "--depends" and "--whatdepends":

https://bugzilla.redhat.com/show_bug.cgi?id=1687070#c4

Credits goes to DNF team.


Vít
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux