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

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

    <bug>
          <bug_id>59596</bug_id>
          
          <creation_ts>2026-06-19 16:16:48 +0300</creation_ts>
          <short_desc>dbeaver.sh использует неверный шаблон имени RPM для старых версий DBeaver</short_desc>
          <delta_ts>2026-06-29 11:42:43 +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>RESOLVED</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="Клёсов Никита Константинович">klesovnk</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>289868</commentid>
    <comment_count>0</comment_count>
    <who name="Клёсов Никита Константинович">klesovnk</who>
    <bug_when>2026-06-19 16:16:48 +0300</bug_when>
    <thetext>Версия пакета: eepm-3.64.64

Стенды, обновленные до Sisyphus:

alt-education-11.1-x86-64-kde, xfce
alt-kworkstation-11.3-x86-64
alt-workstation-11.1-x86-64
alt-server-11.1-x86-64

Шаги:

1) # apt-get install appinstall
2) # eepm play dbeaver=25.3.2

Фактический результат:

 # /etc/eepm/play.d/dbeaver.sh --run 25.3.2 

Installing DBeaver Community from the official site as dbeaver-ce  ...
 # epm install --repack https://dbeaver.io/files/25.3.2/dbeaver-ce-25.3.2-linux-x86_64.rpm
 # eget --tries 3 --latest https://dbeaver.io/files/25.3.2/dbeaver-ce-25.3.2-linux-x86_64.rpm
 # /usr/bin/wget --tries 3 -O dbeaver-ce-25.3.2-linux-x86_64.rpm https://dbeaver.io/files/25.3.2/dbeaver-ce-25.3.2-linux-x86_64.rpm
--2026-06-19 15:46:56--  https://dbeaver.io/files/25.3.2/dbeaver-ce-25.3.2-linux-x86_64.rpm
Resolving dbeaver.io (dbeaver.io)... 2604:a880:800:14:0:1:958:c000, 209.38.51.239
Connecting to dbeaver.io (dbeaver.io)|2604:a880:800:14:0:1:958:c000|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://github.com/dbeaver/dbeaver/releases/download/25.3.2/dbeaver-ce-25.3.2-linux-x86_64.rpm [following]
--2026-06-19 15:46:57--  https://github.com/dbeaver/dbeaver/releases/download/25.3.2/dbeaver-ce-25.3.2-linux-x86_64.rpm
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-06-19 15:46:57 ERROR 404: Not Found.

WARNING: Failed to download https://dbeaver.io/files/25.3.2/dbeaver-ce-25.3.2-linux-x86_64.rpm, ignoring
Пропущен пустой список переупаковки

Tip: try $ epm play --ipfs dbeaver to install from IPFS cache.
ERROR: There was some error during install the application.  (you can discuss this problem (epm 3.64.64-alt1 on ALTLinux/p11) in Telegram: https://t.me/useepm, MAX: https://max.eepm.ru, Matrix: https://matrix.eepm.ru)

Ожидаемый результат:

 Пакет скачивается через eepm

Дополнительно:

В скрипте /etc/eepm/play.d/dbeaver.sh используется шаблон:
dbeaver-ce-${VERSION}-linux-x86_64.rpm
Однако для старых версий DBeaver доступны RPM-файлы с именем:
dbeaver-ce-${VERSION}-stable.x86_64.rpm
Если указать # sed -i &apos;s/dbeaver-ce-\$VERSION-linux-x86_64.rpm/dbeaver-ce-$VERSION-stable.x86_64.rpm/&apos; \ /etc/eepm/play.d/dbeaver.sh, то # eepm play dbeaver=25.3.2 выполняется без ошибок. 
Проблема сохраняется не только с версией dbeaver=25.3.2, но и с другими, например: eepm play dbeaver=25.3.4. 

При этом версии начиная с 25.3.5 используют новый формат имени RPM и устанавливаются без ошибок.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290300</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2026-06-29 11:42:43 +0300</bug_when>
    <thetext>Исправлено (eepm, play.d/dbeaver.sh). DBeaver менял имена ассетов в релизах: старые 25.3.2-25.3.4 — dbeaver-ce-&lt;ver&gt;-stable.x86_64.rpm, новые (25.3.5+) — dbeaver-ce-&lt;ver&gt;-linux-x86_64.rpm. Скрипт жёстко подставлял -linux-x86_64 и для старых версий получал 404 (dbeaver.io просто редиректит на GitHub с тем же именем).

Теперь для конкретной версии URL берётся с релиза GitHub через get_github_url: сначала пробуется текущее имя (-linux-x86_64), затем легаси (-stable.x86_64). VERSION=* по-прежнему ставит latest с dbeaver.io.

Проверено на builder-p10 (ALT p10):
- epm play dbeaver=25.3.2 -&gt; dbeaver-ce-25.3.2-stable.x86_64.rpm, ставится (dbeaver-ce 25.3.2);
- epm play dbeaver=26.1.1 -&gt; dbeaver-ce-26.1.1-linux-x86_64.rpm.

Закрываю как FIXED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>