Re: Can Fedora count it rpms?

2013-10-21 Thread Reindl Harald


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



signature.asc
Description: OpenPGP digital signature
-- 
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


Re: Can Fedora count it rpms?

2013-10-21 Thread Reindl Harald


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 + (UTC)
 Beartooth bearto...@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?



signature.asc
Description: OpenPGP digital signature
-- 
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


Re: Can Fedora count it rpms?

2013-10-21 Thread Reindl Harald


Am 21.10.2013 00:03, schrieb Alchemist:
 2013/10/21 Doug dmcgarr...@optonline.net mailto:dmcgarr...@optonline.net
 
 On 10/20/2013 05:36 PM, Fred Erickson wrote:
  On Sun, 20 Oct 2013 15:45:05 + (UTC)
  Beartooth bearto...@comcast.net mailto:bearto...@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

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



signature.asc
Description: OpenPGP digital signature
-- 
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


Re: Can Fedora count it rpms?

2013-10-21 Thread Tim
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.

-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64

All mail to my mailbox is automatically deleted, there is no point
trying to privately email me, I will only read messages posted to the
public lists.

George Orwell's '1984' was supposed to be a warning against tyranny, not
a set of instructions for supposedly democratic governments.



-- 
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


Re: Can Fedora count it rpms?

2013-10-20 Thread Beartooth
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?

-- 
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


Re: Can Fedora count it rpms?

2013-10-20 Thread Mark LaPierre
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


-- 
_
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/

-- 
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


Re: Can Fedora count it rpms?

2013-10-20 Thread Bob Goodwin ~ Zuni, Virginia, USA



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.


--

http://www.qrz.com/db/W2BOD

box10   Fedora-19/64 bit Linux/XFCE

--
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


Re: Can Fedora count it rpms?

2013-10-20 Thread Fred Erickson
On Sun, 20 Oct 2013 15:45:05 + (UTC)
Beartooth bearto...@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.
-- 
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


Re: Can Fedora count it rpms?

2013-10-20 Thread Alchemist
You may try rpmreaper, it's like aptitude for RPM based systems, for easier
package management.


2013/10/19 Beartooth bearto...@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

-- 
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


Re: Can Fedora count it rpms?

2013-10-20 Thread Doug
On 10/20/2013 05:36 PM, Fred Erickson wrote:
 On Sun, 20 Oct 2013 15:45:05 + (UTC)
 Beartooth bearto...@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


-- 
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


Re: Can Fedora count it rpms?

2013-10-20 Thread Alchemist
2013/10/21 Doug dmcgarr...@optonline.net

 On 10/20/2013 05:36 PM, Fred Erickson wrote:
  On Sun, 20 Oct 2013 15:45:05 + (UTC)
  Beartooth bearto...@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

-- 
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


Re: Can Fedora count it rpms?

2013-10-20 Thread Patrick O'Callaghan
On Sun, Oct 20, 2013 at 10:58 PM, Doug dmcgarr...@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
-- 
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


Re: Can Fedora count it rpms?

2013-10-19 Thread John Horne
On Sat, 2013-10-19 at 20:28 +, 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.

-- 

John Horne   Tel: +44 (0)1752 587287
Plymouth University, UK  Fax: +44 (0)1752 587001

-- 
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