<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>33420</bug_id>
          
          <creation_ts>2017-04-26 10:51:21 +0300</creation_ts>
          <short_desc>Доработать sources.list.5</short_desc>
          <delta_ts>2017-08-10 06:25:49 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>man-pages-ru-extra</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Artem Zolochevskiy">azol</assigned_to>
          <cc>asy</cc>
    
    <cc>cas</cc>
    
    <cc>klark.devel</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>163462</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-04-26 10:51:21 +0300</bug_when>
    <thetext>Хорошо бы доработать sources.list.5:

1. Исправить форматирование примеров (при вызове man sources.list пишется в одну строку, в mc показывается ошибка).
2. Написать про тип rpm-dir (подробнее описано на https://www.altlinux.org/APT_в_ALT_Linux/CreateRepository#rpm-dir ) Этот репозиторий не требует генерации индексов, только два каталога: база/RPMS.название
3. Написать, что источники могут заполняться командой apt-repo и добавить в СМОТРИТЕ ТАКЖЕ apt-repo.8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163519</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-05-02 14:15:08 +0300</bug_when>
    <thetext>ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163520</commentid>
    <comment_count>2</comment_count>
    <who name="Artem Zolochevskiy">azol</who>
    <bug_when>2017-05-02 14:17:51 +0300</bug_when>
    <thetext>Опс, что-то я баг не заметил. Спасибо за пинг. Сейчас сделаем.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163525</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-05-03 11:59:42 +0300</bug_when>
    <thetext>man-pages-ru-extra-0.1-alt4 -&gt; sisyphus:

Tue May 02 2017 Artem Zolochevskiy &lt;azol@altlinux.org&gt; 0.1-alt4
- update sources.list (Closes: #33420)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165168</commentid>
    <comment_count>4</comment_count>
    <who name="Leonid Krivoshein">klark.devel</who>
    <bug_when>2017-08-09 22:23:24 +0300</bug_when>
    <thetext>Там ещё опечатка с 2003 года тянется - путает новичков, типа меня.

$ man 5 sources.list | sed -n &apos;150,162p&apos;

выдаёт следующее:

       HTTP доступ к репозиторию p8 на сервере ftp.altlinux.org, из каталога /pub/distributions/ALTLinux для архитектуры x86_64:

              rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64 classic
              rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64-i586 classic
              rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/noarch classic

       Наличие третьего репозитория для x86_64  обусловлено  необходимостью  поддержки  32-разрядных  приложений  в  64-разрядной
       системе. Если такая поддержка не требуется, репозиторий x86_64-i586 тоже не нужен.


Предлагаю пропатчить:

diff --git a/manpages-ALT/man5/sources.list.5 b/manpages-ALT/man5/sources.list.5
index 97ec3a6..b1dff3d 100644
--- a/manpages-ALT/man5/sources.list.5
+++ b/manpages-ALT/man5/sources.list.5
@@ -164,10 +164,10 @@ HTTP доступ к репозиторию p8 на сервере ftp.altlinux.
 rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64 classic
 .RE
 .RS
-rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64-i586 classic
+rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/noarch classic
 .RE
 .RS
-rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/noarch classic
+rpm http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64-i586 classic
 .RE
 .PP
 Наличие третьего репозитория для x86_64 обусловлено


ЛК</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165174</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-08-10 06:25:49 +0300</bug_when>
    <thetext>Я бы скорее заменил &quot;третьего&quot; на &quot;дополнительного&quot;, т.к. иначе разъедется с тем, что в sources.list, и будет беспокоить уже так.  Но вообще у нас много проблем с документацией гораздо более серьёзного уровня -- например, хорошо бы разметить ссылками по вики дорожку для человека, впервые изучающего сборку пакетов в альте.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>