hal + pam update errors

Michael Schwendt mschwendt.tmp0701.nospam at arcor.de
Fri Apr 6 12:01:23 UTC 2007


On Fri, 6 Apr 2007 13:08:56 +0200, Mark wrote:

> take a look at this little script
> 
> rpm=$1
> arch=$2
> 
> rpm -qa \
> | grep $rpm \
> | while read rpm
> do
>        found=`rpm -qi $rpm | grep $arch`
>        [ "$found" ] && echo $rpm
> done
> 
> a colleage (however it`s spelled) of my made that and it can find the
> architectures :D
> 
> usage (when put in a file called rpmscript):
> 
> rpmscript hal i386
> hope this helps.

See  rpm --querytags   in particular invocations like

  rpm -q --qf %{name}-%{version}-%{release}.%{arch}\\n packagename

and

  rpm --query --all --qf %{name}-%{version}-%{release}.%{arch}\\n




More information about the fedora-devel-list mailing list