ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor Solovyov <is-anti@mail.ru>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] script need
Date: Sun Feb 25 21:20:11 2001
Message-ID: <E14X5kw-0008tP-00@smtp3.port.ru> (raw)
In-Reply-To: <E14X5fl-0003pX-00@smtp4.port.ru>

Hi !
On Sun, 25 Feb 2001 23:13:33 -0500 Igor Solovyov <is-anti@mail.ru> wrote:
IS> On Sun, 25 Feb 2001 21:02:54 +0300 Vyt <vyt_o@mail.ru> wrote:
IS> V> > В том-то все и дело! Был скрипт, позволяющий найти rpm,
IS> V> > по имени файла без пути.
IS> V> 
IS> V> Не нашел. Могу предложить простой вариант
IS> V> 
IS> V> --start--
IS> V> #!/bin/sh
IS> V> fn=`which $1`
IS> V> rpm -q -f $fn
IS> V> 
IS> V> --end--
IS> V> 
IS> V> параметром передается интересующее имя файла
IS> 
IS> В большинстве случаев этот номер не пройдет.
IS> which ищет только согласно PATH.
IS> Тогда уж лучше find использовать. :-)

В догонку. А если этого файла вообще нет на диске? :-)))
Пример: собраешь что-нибудь, при сборке выясняется,
что нужен какой-то файл, которого в системе нет.
Т.е. например не установлен какой-нибудь пакет из дистрибутива.
Надо его установить, но какой именно? Не всегда известно.
Как определить какой пакет не установлен по известному имени файла?
Вот что мне нужно.


--
Best regards!
Igor Solovyov
Zlatoust, Russia



  reply	other threads:[~2001-02-25 21:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-25 15:59 Igor Solovyov
2001-02-25 16:14 ` Vyt
2001-02-25 16:40   ` Igor Solovyov
2001-02-25 17:45     ` Vyt
2001-02-25 17:54       ` Igor Solovyov
2001-02-25 18:17         ` Vyt
2001-02-25 18:54           ` Igor Solovyov
2001-02-25 19:08             ` Vyt
2001-02-25 19:22               ` Igor Solovyov
2001-02-25 20:27                 ` Vyt
2001-02-25 20:34                   ` Igor Solovyov
2001-02-25 21:03                     ` Vyt
2001-02-25 21:13                       ` Igor Solovyov
2001-02-25 21:20                         ` Igor Solovyov [this message]
2001-02-25 22:19                           ` Aleksey Novodvorsky
2001-02-26 10:46                           ` Vyt
2001-02-26 12:57                             ` Aleksey Novodvorsky
2001-02-25 23:41 ` Aleksandr Blohin
2001-02-26  0:50 ` Alexander V. Sotnikov

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=E14X5kw-0008tP-00@smtp3.port.ru \
    --to=is-anti@mail.ru \
    --cc=mandrake-russian@linuxteam.iplabs.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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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