[RESOLVED] How does one count all packages in deepin's repositories?
Tofloor
poster avatar
fusion809
deepin
2018-02-17 04:08
Author
Edited by fusion809 at 2018-2-16 20:41

Hi,

I'm trying to answer a question on Quora about this distribution and Ubuntu's relative merits (https://www.quora.com/unanswered/How-well-does-the-Deepin-OS-compare-to-Ubuntu-speed-security-support-etc) and I'd like to compare repository sizes. On Ubuntu I have the command:

  1. apt-cache search pkgnames | wc -l
Copy the Code

from a question like this one that I just asked at AskUbuntu (https://askubuntu.com/questions/1006765/how-does-one-count-the-packages-in-ubuntus-repositories-from-the-command-line) but to my surprise this command doesn't work on deepin, it just returns '0'. My cache is up-to-date, I just ran apt-get update, so that's not it.

Thanks for your time,
Brenton

EDIT: Oops, sorry.
Should have done apt-cache pkgnames | wc -l.

Reply Favorite View the author
All Replies

No replies yet