Re: dnf list --showduplicates shows a lot of double entries

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

 



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@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
https://www-user.rhrk.uni-kl.de/~backes/
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx


--

Fedora release 25 (Twenty Five)
Kernel-4.10.3-200.fc25.x86_64


Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
https://www-user.rhrk.uni-kl.de/~backes/
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux