Mailinglist Archive: opensuse (2112 mails)
| < Previous | Next > |
Re: rpm --queryformat, was: [opensuse] openSUSE 11.0 - updates offered without all dependencies
- From: "Michael Roberts" <mrioce@xxxxxxxxxxxxxx>
- Date: Sat, 2 Aug 2008 01:23:05 +0200
- Message-id: <d6d0e7760808011623u1f04ae81q6400b107d6d13ae9@xxxxxxxxxxxxxx>
2008/8/1 Sonja Krause-Harder <skh@xxxxxxx>:
Thanks. The commands I have ended up with (we need the -a option for
the second query) are:
...> rpm -q --queryformat "%{name} -- Distribution: %{distribution}
Vendor: %{vendor}\n" dejavu
dejavu -- Distribution: openSUSE 11.0 (noarch) Vendor: packman.links2linux.de
...> rpm -q -a --queryformat "%{name}: %{distribution}: %{vendor}\n" |
grep 'packman\.links2linux\.de'
liba52dec0: openSUSE 10.3 (x86_64): http://packman.links2linux.de
dejavu: openSUSE 11.0 (noarch): packman.links2linux.de
...
...>
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
On Fri, Aug 01, 2008 at 03:26:53PM +0200, Michael Roberts wrote:
How can I best find out whether anything currently installed on the
system is coming from a particular repository?
With a bit of luck, rpm --queryformat can help you.
...
Thanks. The commands I have ended up with (we need the -a option for
the second query) are:
...> rpm -q --queryformat "%{name} -- Distribution: %{distribution}
Vendor: %{vendor}\n" dejavu
dejavu -- Distribution: openSUSE 11.0 (noarch) Vendor: packman.links2linux.de
...> rpm -q -a --queryformat "%{name}: %{distribution}: %{vendor}\n" |
grep 'packman\.links2linux\.de'
liba52dec0: openSUSE 10.3 (x86_64): http://packman.links2linux.de
dejavu: openSUSE 11.0 (noarch): packman.links2linux.de
...
...>
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |