svlug-getting_architecture_information_out_of_an_rpm_and_another_plug_for_debian

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Date: Wed, 18 Sep 2002 09:12:33 -0700
From: Steve M Bibayoff <smb23@csufresno.edu>
To: svlug@lists.svlug.org
Subject: Re: [svlug] Re: determine the arch of rpm?

George Georgalis <georgw@galis.org> wrote:

> $ rpm --queryformat 
> "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{PLATFORM}\n" -q kernel
> kernel  2.4.9   34      i686-redhat-linux
> 
> You can use this to see all tags available 
> rpm --querytags
> 
> I pulled up these while jogging my memory in with the man page...  
> $ rpm -qa --last
> $ rpm --changelog -q kernel

After seeing this and rereadind the man page, now I have another reason
why I like deb's.

Thanks

Steve



--===============94292794710432259==
Content-Type: message/rfc822
MIME-Version: 1.0

Date: Wed, 18 Sep 2002 12:21:11 -0400
From: George Georgalis <georgw@galis.org>
To: Steve M Bibayoff <smb23@csufresno.edu>
Cc: svlug@lists.svlug.org
Subject: [svlug] Re: determine the arch of rpm?
Message-ID: <20020918122111.C1607@trot>
In-Reply-To: <e74dee70ec.e70ece74de@scccd.org>;
	from smb23@csufresno.edu on Wed, Sep 18, 2002 at 09:12:33AM -0700
References: <e74dee70ec.e70ece74de@scccd.org>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 8

On Wed, Sep 18, 2002 at 09:12:33AM -0700, Steve M Bibayoff wrote:
>George Georgalis <georgw@galis.org> wrote:
>
>> $ rpm --queryformat 
>> "%{NAME}\t%{VERSION}\t%{RELEASE}\t%{PLATFORM}\n" -q kernel
>> kernel  2.4.9   34      i686-redhat-linux
>> 
>> You can use this to see all tags available 
>> rpm --querytags
>> 
>> I pulled up these while jogging my memory in with the man page...  
>> $ rpm -qa --last
>> $ rpm --changelog -q kernel
>
>After seeing this and rereadind the man page, now I have another reason
>why I like deb's.

How do you get the uncommon information out of a deb?

// George

-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:george@galis.org 
File, Print, DB and DNS Servers.       http://www.galis.org/george 



--===============94292794710432259==
Content-Type: message/rfc822
MIME-Version: 1.0

Date: Wed, 18 Sep 2002 09:23:50 -0700
From: J C Lawrence <claw@kanga.nu>
To: Steve M Bibayoff <smb23@csufresno.edu>
Cc: svlug@lists.svlug.org
Subject: Re: [svlug] Re: determine the arch of rpm? 
Message-ID: <15791.1032366230@kanga.nu>
In-Reply-To: Message from Steve M Bibayoff <smb23@csufresno.edu> 
   of "Wed, 18 Sep 2002 09:12:33 PDT." <e74dee70ec.e70ece74de@scccd.org> 
References: <e74dee70ec.e70ece74de@scccd.org> 
Precedence: list
Message: 9
MIME-Version: 1.0

On Wed, 18 Sep 2002 09:12:33 -0700 
Steve M Bibayoff <Steve> wrote:

> After seeing this and rereadind the man page, now I have another
> reason why I like deb's.

apt-changelist is rahter nice as well.

-- 
J C Lawrence                
---------(*)                Satan, oscillate my metallic sonatas. 
claw@kanga.nu               He lived as a devil, eh?		  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--===============11091824964467456==
Content-Type: message/rfc822
MIME-Version: 1.0

Date: Wed, 18 Sep 2002 10:24:05 -0700
From: Steve M Bibayoff <smb23@csufresno.edu>
To: svlug@lists.svlug.org
Subject: [svlug] Re: determine the arch of rpm?
Message-ID: <f5801f50a5.f50a5f5801@scccd.org>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Precedence: list
Message: 4

George Georgalis <georgw@galis.org> wrote:

> How do you get the uncommon information out of a deb?

Not sure what you mean by "uncommon information" but I ussualy do a:
# apt-cache show package-name
where package-name is the actual package name. This gives me info on the
package plus if I have it installed and if there is a newer version.

If this is what you are asking for.

Steve





--===============11091824964467456==
Content-Type: message/rfc822
MIME-Version: 1.0

Date: Wed, 18 Sep 2002 14:17:19 -0400
From: George Georgalis <georgw@galis.org>
To: Steve M Bibayoff <smb23@csufresno.edu>
Cc: svlug@lists.svlug.org
Subject: [svlug] Re: determine the arch of rpm?
Message-ID: <20020918141719.G1607@trot>
In-Reply-To: <f5801f50a5.f50a5f5801@scccd.org>;
	from smb23@csufresno.edu on Wed, Sep 18, 2002 at 10:24:05AM -0700
References: <f5801f50a5.f50a5f5801@scccd.org>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 5

On Wed, Sep 18, 2002 at 10:24:05AM -0700, Steve M Bibayoff wrote:
>George Georgalis <georgw@galis.org> wrote:
>
>> How do you get the uncommon information out of a deb?
>
>Not sure what you mean by "uncommon information" but I ussualy do a:
># apt-cache show package-name
>where package-name is the actual package name. This gives me info on the
>package plus if I have it installed and if there is a newer version.

Just doing some deb command review...
By uncommon information I mean the parameters you don't normally need
but which are kept in the database (and for which rpm requires printf
strings to retrieve). There are 113 fields in the current rpm package db.

$ rpm --querytags | wc -l
    113

Note, from what I've seen deb is better than rpm. Haven't used debian
for a while now, for historical and professional reasons. But now that
stable uses a 2.4 kernel, I really should give it a spin again.

// George


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu