<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
30.04.2010 03:46, Speccyfighter пишет:
<blockquote cite="mid:4BD9FE4E.2060108@yandex.ru" type="cite">Доброе
время суток!
  <br>
  <br>
Извиняюсь за тривиальный вопрос:
  <br>
надо узнать какому пакету принадлежит файл.
  <br>
В debian это apt-file search filename
  <br>
А у нас как?
  <br>
  <br>
Конкретно: в какой пакет входит haldaemon?<br>
</blockquote>
<meta http-equiv="content-type" content="text/html; charset=KOI8-R">
<span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 class="Apple-style-span"
 style="font-family: sans-serif; font-size: 13px; line-height: 19px;">
<p style="margin: 1em 0px;">Цитата с какого-то ресурса:</p>
<p style="margin: 1em 0px;">"<br>
Чтобы определить, в каком rpm-пакете дистрибутива находится нужный
файл, можно создать список файлов во всех rpm'ках в дистрибутиве и
прогрепить полученный результат:</p>
<div dir="ltr" class="mw-geshi" style="text-align: left;">
<div class="bash source-bash"
 style="line-height: normal; font-family: monospace;">
<pre class="de1"
 style="border: 0px none white; margin: 0px; padding: 0px; line-height: normal; background-image: none; vertical-align: top;">$ <span
 class="kw2" style="color: rgb(194, 12, 185); font-weight: bold;">find</span> <span
 class="sy0" style="color: rgb(0, 0, 0); font-weight: bold;">/</span>media<span
 class="sy0" style="color: rgb(0, 0, 0); font-weight: bold;">/</span>cdrom<span
 class="sy0" style="color: rgb(0, 0, 0); font-weight: bold;">/</span>ALT_Linux<span
 class="sy0" style="color: rgb(0, 0, 0); font-weight: bold;">/</span>RPMS <span
 class="re5" style="color: rgb(102, 0, 51);">-name</span> <span
 class="st0" style="color: rgb(255, 0, 0);">"*.rpm"</span> <span
 class="re5" style="color: rgb(102, 0, 51);">-exec</span> rpm <span
 class="re5" style="color: rgb(102, 0, 51);">-qpil</span> <span
 class="br0" style="color: rgb(122, 8, 116); font-weight: bold;">{</span><span
 class="br0" style="color: rgb(122, 8, 116); font-weight: bold;">}</span> <span
 class="sy0" style="color: rgb(0, 0, 0); font-weight: bold;">&gt;</span> ~<span
 class="sy0" style="color: rgb(0, 0, 0); font-weight: bold;">/</span>altlinux.lst \;
$ <span
 class="kw2" style="color: rgb(194, 12, 185); font-weight: bold;">grep</span> <span
 class="re5" style="color: rgb(102, 0, 51);">-B100</span> искомый_файл ~<span
 class="sy0" style="color: rgb(0, 0, 0); font-weight: bold;">/</span>altlinux.lst <span
 class="sy0" style="color: rgb(0, 0, 0); font-weight: bold;">|</span> <span
 class="kw2" style="color: rgb(194, 12, 185); font-weight: bold;">less
"
</span></pre>
</div>
</div>
</span></span>
<div class="moz-signature">-- <br>
С уважением, Дегтярев Дмитрий<br>
инженер-программист ООО "Невод" г. Пермь<br>
web: <a href="http://nevod.ru">http://nevod.ru</a><br>
тел: (342) 2 196 960<br>
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:ddv@nevod.ru">ddv@nevod.ru</a><br>
JID: <a class="moz-txt-link-abbreviated" href="mailto:ddv@nevod.ru">ddv@nevod.ru</a></div>
</body>
</html>