On 03/17/17 12:38, Honza Silhan wrote:
# yum-deprecated list --showduplicates -q | wc -l 73450
# dnf list --showduplicates -q | wc -l 76411
vs
# yum-deprecated list -q | wc -l 56101
# dnf list -q | wc -l 55966
(counts differs because different metadata)
seems like it does something in both DNF and yum. Even after checking the output they look the same. IFAIK it should show all versions of the same package name instead of just highest.
I am not sure what are you trying to achieve but I would recommend you to use `dnf repoquery` instead. E.g. for showing duplicates on the system: `dnf repoquery --installed --duplicates` or `dnf check --duplicates`.
Honza
Hi Honza,
I think the problem has been solved:
Using "dnf list installed --showduplicates" generated another output without the issues I mentioned.
I did not know that the "installed" option was not the default, it seems that "available" was the default, so that output (please try dnf list available --showduplicates).
Kind regards
Joachim Backes
Hi,
On Thu, Mar 16, 2017 at 11:12 AM, Joachim Backes joachim.backes@rhrk.uni-kl.de wrote:
Hi all,
dnf list --showduplicates
shows a lot of duplicate entries, with origin fedora and commandline, for example of the package yelp:
dnf list --showduplicates|grep yelp yelp.x86_64 2:3.22.0-1.fc25 @@commandline yelp-libs.x86_64 2:3.22.0-1.fc25 @@commandline yelp-xsl.noarch 3.20.1-1.fc25 @@commandline yelp.x86_64 2:3.22.0-1.fc25 @@commandline yelp.x86_64 2:3.22.0-1.fc25 fedora yelp-devel.i686 2:3.22.0-1.fc25 fedora yelp-devel.x86_64 2:3.22.0-1.fc25 fedora yelp-libs.i686 2:3.22.0-1.fc25 fedora yelp-libs.x86_64 2:3.22.0-1.fc25 @@commandline yelp-libs.x86_64 2:3.22.0-1.fc25 fedora yelp-tools.noarch 3.18.0-3.fc25 fedora yelp-xsl.noarch 3.20.1-1.fc25 @@commandline yelp-xsl.noarch 3.20.1-1.fc25 fedora
Is this an known dnf issue, or how to get rid of this annoying effect?
Kind regards
Joachim Backes
--
Kernel-4.10.3-200.fc25.x86_64 Fedora release 25 (Twenty Five) Joachim Backes joachim.backes@rhrk.uni-kl.de https://www-user.rhrk.uni-kl.de/~backes/ _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org