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

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

    <bug>
          <bug_id>38766</bug_id>
          
          <creation_ts>2020-07-28 10:55:13 +0300</creation_ts>
          <short_desc>ошибка при выполнении epm -sf, если в списке репозиториев добавлен таск</short_desc>
          <delta_ts>2020-12-20 08:27:14 +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>eepm</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>191621</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2020-07-28 10:55:13 +0300</bug_when>
    <thetext>Версия пакета: eepm-3.2.4-alt1

Шаги воспроизведения:

1. Добавить любой таск (apt-repo add &lt;task_num&gt;)
2. Выполнить команду: epm -sf /usr/bin/expect

Результат:

Locate contents index file(s) ...
 # apt-repo list
Installing appropriate package for lz4 command...
Warming up rpm ...
Warming up apt ...
 # apt-get -y --force-yes -o APT::Install::VirtualVersion=true -o APT::Install::Virtual=true -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install lz4
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Следующие НОВЫЕ пакеты будут установлены:
  lz4
0 будет обновлено, 1 новых установлено, 0 пакетов будет удалено и 10 не будет обновлено.
Необходимо получить 0B/90,1kB архивов.
После распаковки потребуется дополнительно 210kB дискового пространства.
Совершаем изменения...  
Подготовка...                                                                                                                     #################################################################################################### [100%]
Обновление / установка...
1: lz4-1:1.9.2-alt1                                                                                                               #################################################################################################### [100%]
Завершено.
 # lz4 -f /tmp/eepm/ALTLinux/Sisyphus/x86_64/contents_index /tmp/eepm/ALTLinux/Sisyphus/x86_64/contents_index.lz4
Compressed 157123589 bytes into 18185373 bytes ==&gt; 11.57%                      
удалён &apos;/tmp/eepm/ALTLinux/Sisyphus/x86_64/contents_index&apos;
 # lz4 -f /tmp/eepm/ALTLinux/Sisyphus/noarch/contents_index /tmp/eepm/ALTLinux/Sisyphus/noarch/contents_index.lz4
Compressed 489337170 bytes into 45145843 bytes ==&gt; 9.23%                       
удалён &apos;/tmp/eepm/ALTLinux/Sisyphus/noarch/contents_index&apos;
 # eget -O /tmp/eepm/repo/255341/x86_64/contents_index http://git.altlinux.org/repo/255341/x86_64/base/contents_index
 # apt-get -y --force-yes -o APT::Install::VirtualVersion=true -o APT::Install::Virtual=true -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install eget
--2020-07-28 07:50:02--  http://git.altlinux.org/repo/255341/x86_64/base/contents_index
Распознаётся git.altlinux.org (git.altlinux.org)… 194.107.17.12
Подключение к git.altlinux.org (git.altlinux.org)|194.107.17.12|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 404 Not Found
2020-07-28 07:50:04 ОШИБКА 404: Not Found.

удалён &apos;/tmp/eepm/repo/255341/x86_64/contents_index&apos;
Searching in
/tmp/eepm/ALTLinux/Sisyphus/x86_64/contents_index*
/tmp/eepm/ALTLinux/Sisyphus/noarch/contents_index*
for /usr/bin/expect... 
 # $ cat contents_index  | egrep -i --color -- &quot;(/usr/bin/expect)&quot;
expect: /usr/bin/expect
expect-lite: /usr/bin/expect-lite

Проблема возникает при попытке скачать файл http://git.altlinux.org/repo/255341/x86_64/base/contents_index, которого нет:

 # eget -O /tmp/eepm/repo/255341/x86_64/contents_index http://git.altlinux.org/repo/255341/x86_64/base/contents_index
 # apt-get -y --force-yes -o APT::Install::VirtualVersion=true -o APT::Install::Virtual=true -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install eget
--2020-07-28 07:50:02--  http://git.altlinux.org/repo/255341/x86_64/base/contents_index
Распознаётся git.altlinux.org (git.altlinux.org)… 194.107.17.12
Подключение к git.altlinux.org (git.altlinux.org)|194.107.17.12|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 404 Not Found
2020-07-28 07:50:04 ОШИБКА 404: Not Found.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>195078</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2020-12-20 08:27:14 +0300</bug_when>
    <thetext>eepm-3.7.5-alt1 -&gt; sisyphus:

 Sun Dec 20 2020 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 3.7.5-alt1
 - microsoft-edge-dev.sh: add fix for missed alternatives in rpm package
 - repack: microsoft-edge-dev add /usr/bin/microsoft-edge in spec if missed
 - add repack microsoft-edge.sh (for future)
 - separate code for play command
 - get_local_alt_contents_index: skip task lines from repolist (ALT bug 38766)
 - epm-remove: make empty arg list is ok (ALT bug 39322)
 - prescriptions for php7/php8: fix return status
 - glusterfs7.sh: don&apos;t install glusterfs7-cli
 - epm-assure: fix reenterability
 - tools_eget: fix direct download from github
 - epm-autoremove: disable interactive for all parts (ALT bug 39321)
 - epm-autoorphans: add --auto support; print list for --dry-run
 - i586-wine: return error on error</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>