On Thu, 21 Sep 2017 14:42:43 -0400, Terry Polzin wrote:

> > Oops:
> >
> >  dnf list installed|wc -l
> > 3991
> > rpm -qa|wc -l
> > 3840
> >
> > Why this difference??
> >
> > Joachim Backes
> >
> > --
> >
> > Fedora release 26 (Twenty Six)
> > Kernel-4.12.14-300.fc26.x86_64
> >  
> Line formatting in dnf command
> 
> Try this
> 
> > dnf list --installed | awk -F" " ' { print $1 }' | grep -v @  |wc -l

Plus rpm -qa  lists the gpg-pubkey packages, which dnf doesn't show.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to