Re: hal + pam update errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux