<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Проблема с "установкой" пакетов исходников.]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=37670&amp;type=atom" />
	<updated>2015-02-13T13:09:36Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=37670</id>
		<entry>
			<title type="html"><![CDATA[Re: Проблема с "установкой" пакетов исходников.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445377#p445377" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Хравн пишет:</cite><blockquote><p>yumdownloader  не находит пакета.</p></blockquote></div><p>потому что надо указать source<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />yumdownloader --source nginx.x86_64<br />Loaded plugins: fastestmirror, refresh-packagekit<br />Loading mirror speeds from cached hostfile<br /> * base: centos-mirror.rbc.ru<br /> * epel: <a href="ftp://ftp.lysator.liu.se">ftp.lysator.liu.se</a><br /> * extras: centos-mirror.rbc.ru<br /> * updates: centos-mirror.rbc.ru<br />Enabling epel-source repository<br />Enabling pgdg93-source repository<br />No source RPM found for nginx-1.2.8-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.7-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.2.7-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.2.2-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.6.0-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.4.2-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.4.0-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.2.3-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.4.3-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.13-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.6.0-2.el6.ngx.x86_64<br />No source RPM found for nginx-1.2.4-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.4.6-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.12-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.4.1-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.6.2-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.15-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.2.0-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.4.5-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.4.7-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.8-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.14-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.6.1-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.2.1-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.9-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.6-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.2.6-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.11-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.8-2.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.5-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.0.10-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.4.4-1.el6.ngx.x86_64<br />No source RPM found for nginx-1.2.5-1.el6.ngx.x86_64<br /><a href="http://mirror.logol.ru/epel/6/SRPMS/nginx-1.0.15-11.el6.src.rpm:">http://mirror.logol.ru/epel/6/SRPMS/ngi … 6.src.rpm:</a> [Errno 14] PYCURL ERROR 6 - &quot;Couldn&#039;t resolve host &#039;mirror.logol.ru&#039;&quot;<br />Trying other mirror.<br />nginx-1.0.15-11.el6.src.rpm <br /></div><br />И вот он: nginx-1.0.15-11.el6.src.rpm</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2015-02-13T13:09:36Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445377#p445377</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблема с "установкой" пакетов исходников.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445375#p445375" />
			<content type="html"><![CDATA[<p>yumdownloader&nbsp; не находит пакета.</p>]]></content>
			<author>
				<name><![CDATA[Хравн]]></name>
				<uri>https://linuxforum.ru/profile.php?id=21503</uri>
			</author>
			<updated>2015-02-13T11:51:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445375#p445375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблема с "установкой" пакетов исходников.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445372#p445372" />
			<content type="html"><![CDATA[<p>Ну и к чему этот костыль, если есть yumdownloader?</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2015-02-13T11:38:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445372#p445372</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблема с "установкой" пакетов исходников.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445371#p445371" />
			<content type="html"><![CDATA[<p>Юм у меня даже объектов пакетов исходников не находил.</p><p>Сделал так на питоне:<br /></p><div class="codebox"><pre><code>sourcerepo = &quot; http://vault.centos.org/6.6/os/Source&quot;
response = urllib2.urlopen(sourcerepo)
html = response.read()
r = unicode(html, &#039;utf-8&#039;)
m = re.search(&#039;\&quot;(centos-release.*.rpm)\&quot;&#039;, r)
name = m.group(1)
url = &quot;%s/%s&quot; % (sourcerepo, name)
f = urllib2.urlopen(url)
data = f.read()
with open(name, &quot;wb&quot;) as code:
    code.write(data)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Хравн]]></name>
				<uri>https://linuxforum.ru/profile.php?id=21503</uri>
			</author>
			<updated>2015-02-13T11:34:42Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445371#p445371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблема с "установкой" пакетов исходников.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445368#p445368" />
			<content type="html"><![CDATA[<p>Скачать исходник можно так<br /></p><div class="codebox"><pre><code>yumdownloader --source имя_пакета</code></pre></div><p>Установить его можно только через rpm, например<br /></p><div class="codebox"><pre><code>rpm -ivh исходник.src.rpm</code></pre></div><p>Всё это делается от пользователя.</p><p>P.S. Не надо делать столько спойлеров тем более для нескольких строк. Используй тег code</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2015-02-13T11:01:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445368#p445368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Проблема с "установкой" пакетов исходников.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=445363#p445363" />
			<content type="html"><![CDATA[<p>Есть репозиторий <a href="http://vault.centos.org/6.6/os/Source">http://vault.centos.org/6.6/os/Source</a> там пакеты исходников.<br />Для чистоты эксперимента удаляю все репозитории делаю yum clean all. <br />Подключаю репозиторий:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>[SRC]<br />name= SRC<br />baseurl= <a href="http://vault.centos.org/6.6/os/Source">http://vault.centos.org/6.6/os/Source</a><br />gpgcheck=0</p></div></div><p>Установленные репы:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>yum repolist<br />Загружены модули: fastestmirror, security<br />Loading mirror speeds from cached hostfile<br />SRC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | 2.9 kB&nbsp; &nbsp; &nbsp;00:00&nbsp; &nbsp; &nbsp;<br />Идентификатор репозитория&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; репозиторий&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;состояние<br />SRC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SRC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1<br />repolist: 1</p></div></div><p>Ищу пакет :<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>yum search centos-release<br />Загружены модули: fastestmirror, security<br />Loading mirror speeds from cached hostfile<br />======================================== N/S Matched: centos-release =========================================<br />centos-release.x86_64 : CentOS release file</p><p>&nbsp; Name and summary matches only, use &quot;search all&quot; for everything.</p></div></div><p>Пытаюсь установить centos-release</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>yum install centos-release<br />Загружены модули: fastestmirror, security<br />Подготовка к установке<br />Loading mirror speeds from cached hostfile<br />Выполнять нечего</p></div></div><p>Или исходники только руками можно скачивать?</p>]]></content>
			<author>
				<name><![CDATA[Хравн]]></name>
				<uri>https://linuxforum.ru/profile.php?id=21503</uri>
			</author>
			<updated>2015-02-13T08:01:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=445363#p445363</id>
		</entry>
</feed>
