ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] В каком пакете лежит файл libkio.la ?
Date: Thu, 1 Apr 2004 11:30:51 +0400
Message-ID: <20040401073051.GC9280@inferno.immo> (raw)
In-Reply-To: <20040401112100.249a36dc.asashnov@plesk.ru>

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

* Sashnov Alexander <asashnov@plesk.ru> [040401 11:19]:
> for i in `ls -1 *.rpm`; do rpm -qpl $i|grep <<some_file>> && echo $i;
> done

> Эта команда попросит список файлов у всех rpm в текущем каталоге и
> выведет имя пакета, где был такой файл.

find /path/to/rpms -name '*.rpm' -print0 | \
	xargs -r0 rpm -q --qf='[%{FILENAMES}\t%{NAME}\n]' | \
	grep -F 'somefile' | \
	cut -d '\t' -f 2

-- 
Regards, Sir Raorn.
-------------------
По вопросам работы pkg-build-priv пишите мне.
На все остальные вопросы по этой теме с радостью ответит avn@. :)
		-- ldv in devel@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2004-04-01  7:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-31  9:12 Sergey Shilov
2004-03-31 10:29 ` Andrey Rahmatullin
2004-03-31 10:53 ` Epiphanov Sergei
2004-04-01  7:21 ` Sashnov Alexander
2004-04-01  7:30   ` Alexey I. Froloff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040401073051.GC9280@inferno.immo \
    --to=raorn@immo.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git