I'm sitting here watching F19 try to downgrade itself to F18, with screenful after screenful flashing by. I know that, if/when it completes, it will tell me how many rpms it means to change; what I want, though (out of admittedly idle curiosity), is the number of all the rpms on the whole machine. Is there a command for that??
On Sat, 2013-10-19 at 20:28 +0000, Beartooth wrote:
I'm sitting here watching F19 try to downgrade itself to F18, with screenful after screenful flashing by. I know that, if/when it completes, it will tell me how many rpms it means to change; what I want, though (out of admittedly idle curiosity), is the number of all the rpms on the whole machine. Is there a command for that??
perhaps: rpm -qa | wc -l
John.
On 10/20/2013 11:45 AM, Beartooth wrote:
On Sat, 19 Oct 2013 21:36:01 +0100, John Horne wrote:
rpm -qa | wc -l
Thanks! That told me 2377; does this number seem plausible?
I would say yes. This is what I got on my system.
[mlapier@mushroom ~]$ rpm -qa | wc -l 1594 [mlapier@mushroom ~]$ name CentOS release 6.4 (Final)
Linux mushroom.patch 2.6.32-358.23.2.el6.i686 #1 SMP Wed Oct 16 17:21:31 UTC 2013 i686 i686 i386 GNU/Linux
On 20/10/13 11:45, Beartooth wrote:
On Sat, 19 Oct 2013 21:36:01 +0100, John Horne wrote:
rpm -qa | wc -l
Thanks! That told me 2377; does this number seem plausible?
[bobg@box10 ~]$ rpm -qa | wc -l 1618
and 1561 on another similar system both running F-19 64 bit installed from XFCE Live spins.
On Sun, 20 Oct 2013 15:45:05 +0000 (UTC) Beartooth beartooth@comcast.net wrote:
On Sat, 19 Oct 2013 21:36:01 +0100, John Horne wrote:
rpm -qa | wc -l
Thanks! That told me 2377; does this number seem plausible?
[fred@athbox-f18 ~]$ rpm -qa | wc -l 2351 [fred@athbox-f18 ~]$ uname -r 3.11.4-101.fc18.x86_64
Note: I have developer packages and 3 desktops are installed.
On 10/20/2013 05:36 PM, Fred Erickson wrote:
On Sun, 20 Oct 2013 15:45:05 +0000 (UTC) Beartooth beartooth@comcast.net wrote:
On Sat, 19 Oct 2013 21:36:01 +0100, John Horne wrote:
rpm -qa | wc -l
Thanks! That told me 2377; does this number seem plausible?
[fred@athbox-f18 ~]$ rpm -qa | wc -l 2351 [fred@athbox-f18 ~]$ uname -r 3.11.4-101.fc18.x86_64
Note: I have developer packages and 3 desktops are installed.
I don't know what this is counting--I must have missed the first post. Anyway, I ran it in my pclos-kde-32, and go this:
[doug@linux1 ~]$ rpm -qa | wc -l 2352
So what is it that I have 2352 of?
--doug
Am 20.10.2013 23:58, schrieb Doug:
On 10/20/2013 05:36 PM, Fred Erickson wrote:
On Sun, 20 Oct 2013 15:45:05 +0000 (UTC) Beartooth beartooth@comcast.net wrote:
On Sat, 19 Oct 2013 21:36:01 +0100, John Horne wrote:
rpm -qa | wc -l
Thanks! That told me 2377; does this number seem plausible?
[fred@athbox-f18 ~]$ rpm -qa | wc -l 2351 [fred@athbox-f18 ~]$ uname -r 3.11.4-101.fc18.x86_64
Note: I have developer packages and 3 desktops are installed.
I don't know what this is counting--I must have missed the first post
you only need to read the subject
Anyway, I ran it in my pclos-kde-32, and go this:
[doug@linux1 ~]$ rpm -qa | wc -l 2352
So what is it that I have 2352 of?
installed packages? what about look at the output of "rpm -qa" without counting?
2013/10/21 Doug dmcgarrett@optonline.net
On 10/20/2013 05:36 PM, Fred Erickson wrote:
On Sun, 20 Oct 2013 15:45:05 +0000 (UTC) Beartooth beartooth@comcast.net wrote:
On Sat, 19 Oct 2013 21:36:01 +0100, John Horne wrote:
rpm -qa | wc -l
Thanks! That told me 2377; does this number seem plausible?[fred@athbox-f18 ~]$ rpm -qa | wc -l 2351 [fred@athbox-f18 ~]$ uname -r 3.11.4-101.fc18.x86_64
Note: I have developer packages and 3 desktops are installed.
I don't know what this is counting--I must have missed the first post. Anyway, I ran it in my pclos-kde-32, and go this:
[doug@linux1 ~]$ rpm -qa | wc -l 2352
So what is it that I have 2352 of?
--doug
grep out fc19 or fc18 or so Fedora N versions, for possible dublicates (in that case, next step package-cleanup) rpm -qa | grep fcN | wc -l
or maybe you have a lot of installed devel's rpm -qa | grep \-devel | wc -l
--
Blessed are the peacemakers..for they shall be shot at from both sides.
--A.M.Greeley
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Am 21.10.2013 00:03, schrieb Alchemist:
2013/10/21 Doug <dmcgarrett@optonline.net mailto:dmcgarrett@optonline.net>
On 10/20/2013 05:36 PM, Fred Erickson wrote: > On Sun, 20 Oct 2013 15:45:05 +0000 (UTC) > Beartooth <beartooth@comcast.net <mailto:beartooth@comcast.net>> wrote: > >> On Sat, 19 Oct 2013 21:36:01 +0100, John Horne wrote: >> >>> rpm -qa | wc -l >> >> Thanks! That told me 2377; does this number seem plausible? >> > > [fred@athbox-f18 ~]$ rpm -qa | wc -l > 2351 > [fred@athbox-f18 ~]$ uname -r > 3.11.4-101.fc18.x86_64 > > Note: I have developer packages and 3 desktops are installed. > I don't know what this is counting--I must have missed the first post. Anyway, I ran it in my pclos-kde-32, and go this: [doug@linux1 ~]$ rpm -qa | wc -l 2352 So what is it that I have 2352 of? --douggrep out fc19 or fc18 or so Fedora N versions, for possible dublicates (in that case, next step package-cleanup) rpm -qa | grep fcN | wc -l
why in the next step?
this is a completly wrong advise, there maybe F18/F19 packages which are *not* dupes and so the grep shows nothing with value
"package-cleanup --dupes" is your friend as well as "package-cleanup --cleandupes"
On Sun, Oct 20, 2013 at 10:58 PM, Doug dmcgarrett@optonline.net wrote:
I don't know what this is counting--I must have missed the first post. Anyway, I ran it in my pclos-kde-32, and go this:
[doug@linux1 ~]$ rpm -qa | wc -l 2352
So what is it that I have 2352 of?
"rpm -qa" lists all installed packages on its standard output. "wc -l" counts all the lines in its standard input. Pipe one into the other and it's telling you that that you have 2352 rpm packages installed. Simple.
poc
Allegedly, on or about 20 October 2013, Doug sent:
I don't know what this is counting--I must have missed the first post. Anyway, I ran it in my pclos-kde-32, and go this:
[doug@linux1 ~]$ rpm -qa | wc -l 2352
So what is it that I have 2352 of?
I can't believe someone else hasn't said this already, "Don't run commands that you don't know what they do."
If you'd hopped into the middle of some other thread, the command might have been one that would screw up your system.
What you do have is minus 2352 brownie points, now.
Am 19.10.2013 22:28, schrieb Beartooth:
I'm sitting here watching F19 try to downgrade itself to F18
which will end in a broken setup
why in the world does someone *downgrade* a installed system which is not supported and after 2 months with F19 not nbeeded at all
with screenful after screenful flashing by. I know that, if/when it completes, it will tell me how many rpms it means to change; what I want, though (out of admittedly idle curiosity), is the number of all the rpms on the whole machine. Is there a command for that??
rpm -qa | wc -l
You may try rpmreaper, it's like aptitude for RPM based systems, for easier package management.
2013/10/19 Beartooth beartooth@comcast.net
I'm sitting here watching F19 try to downgrade itself to F18,with screenful after screenful flashing by. I know that, if/when it completes, it will tell me how many rpms it means to change; what I want, though (out of admittedly idle curiosity), is the number of all the rpms on the whole machine. Is there a command for that?? -- Beartooth Staffwright, Neo-Redneck Not Quite Clueless Power User Remember I have precious (very precious!) little idea where up is.
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org