Bug 39818 - Не работает epm play brave
Summary: Не работает epm play brave
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: eepm (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-19 12:25 MSK by Alexander Makeenkov
Modified: 2021-04-10 10:03 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2021-03-19 12:25:10 MSK
# epm play brave
 # /etc/eepm/prescription.d/brave.sh --run
+ PKGNAME=brave-browser-nightly
+ '[' --run = --remove ']'
+ '[' --run '!=' --run ']'
++ distro_info -a
+ '[' x86_64 '!=' x86_64 ']'
+ arch=x86_64
+ pkgtype=rpm
++ /usr/share/eepm/tools_eget --list --latest https://github.com/brave/brave-browser/releases 'brave-browser-nightly-*.x86_64.rpm'
+ PKG=
+ epm install ''
Skip empty install list
Comment 1 Vitaly Lipatov 2021-03-29 23:21:35 MSK
Не воспроизводится. Проблема, возможно, может возникать при недоступности интернета. В следующей версии улучшу обработку ошибок.

 $ rpm -q eepm
eepm-3.9.5-alt1.noarch

# epm play brave
 $ /etc/eepm/prescription.d/brave.sh --run
+ PKGNAME=brave-browser-nightly
+ '[' --run = --remove ']'
+ '[' --run '!=' --run ']'
++ distro_info -a
+ '[' x86_64 '!=' x86_64 ']'
+ arch=x86_64
+ pkgtype=rpm
++ /usr/share/eepm/tools_eget --list --latest https://github.com/brave/brave-browser/releases 'brave-browser-nightly-*.x86_64.rpm'
+ PKG=https://github.com/brave/brave-browser/releases/download/v1.24.32/brave-browser-nightly-1.24.32-1.x86_64.rpm
+ epm install https://github.com/brave/brave-browser/releases/download/v1.24.32/brave-browser-nightly-1.24.32-1.x86_64.rpm
 $ cd /tmp/.private/lav/tmp.4ncaLfnpiz
 $ eget --latest https://github.com/brave/brave-browser/releases/download/v1.24.32/brave-browser-nightly-1.24.32-1.x86_64.rpm
Comment 2 Alexander Makeenkov 2021-03-30 09:08:31 MSK
(Ответ для Vitaly Lipatov на комментарий #1)
> Не воспроизводится. Проблема, возможно, может возникать при недоступности
> интернета.
Да, у меня тоже уже не воспроизводится.
Comment 3 Alexander Makeenkov 2021-04-07 16:04:25 MSK
Снова столкнулся с этой ошибкой.

Проблема, похоже, в том, что имя пакета в https://github.com/brave/brave-browser/releases меняется. На данный момент:

# /usr/share/eepm/tools_eget --list https://github.com/brave/brave-browser/releases 
https://github.com/brave/brave-browser/releases/download/v1.23.66/brave-browser-beta-1.23.66-1.x86_64.rpm
https://github.com/brave/brave-browser/releases/download/v1.23.66/brave-browser-beta-1.23.66-linux-amd64.zip
https://github.com/brave/brave-browser/releases/download/v1.23.66/Brave-Browser-Beta-x64.dmg
https://github.com/brave/brave-browser/releases/download/v1.23.66/Brave-Browser-Beta-x64.pkg
https://github.com/brave/brave-browser/releases/download/v1.23.66/brave-browser-beta_1.23.66_amd64.deb
https://github.com/brave/brave-browser/releases/download/v1.23.66/brave-v1.23.66-darwin-x64-symbols.zip
https://github.com/brave/brave-browser/releases/download/v1.23.66/brave-v1.23.66-darwin-x64.zip
https://github.com/brave/brave-browser/releases/download/v1.23.66/brave-v1.23.66-linux-x64-symbols.zip
https://github.com/brave/brave-browser/releases/download/v1.23.66/brave-v1.23.66-win32-x64-symbols.zip
https://github.com/brave/brave-browser/releases/download/v1.23.66/brave-v1.23.66-win32-x64.zip
https://github.com/brave/brave-browser/releases/download/v1.23.66/Bravearm.apk
https://github.com/brave/brave-browser/releases/download/v1.23.66/BraveBrowserBetaSetup.exe
https://github.com/brave/brave-browser/releases/download/v1.23.66/BraveBrowserSilentBetaSetup.exe
https://github.com/brave/brave-browser/releases/download/v1.23.66/BraveBrowserStandaloneBetaSetup.exe
https://github.com/brave/brave-browser/releases/download/v1.23.66/BraveBrowserStandaloneSilentBetaSetup.exe
https://github.com/brave/brave-browser/releases/download/v1.23.66/BraveMonoarm.apk
https://github.com/brave/brave-browser/releases/download/v1.23.66/BraveMonoarm64.apk
https://github.com/brave/brave-browser/releases/download/v1.23.66/BraveMonox64.apk
https://github.com/brave/brave-browser/releases/download/v1.23.66/BraveMonox86.apk
https://github.com/brave/brave-browser/releases/download/v1.23.66/Bravex86.apk

brave-browser-beta, а в скрипте /etc/eepm/prescription.d/brave.sh ожидается как PKGNAME=brave-browser-nightly.

Предлагаю просто поменять PKGNAME=brave-browser-nightly на PKGNAME=brave-browser, тогда всё работает:

Сохранение в: «brave-browser-beta-1.23.66-1.x86_64.rpm»

brave-browser-beta-1.23.66-1.x86_64.rpm                    100%[========================================================================================================================================>]  77,44M  9,28MB/s    за 15s     

2021-04-07 15:34:37 (5,18 MB/s) - «brave-browser-beta-1.23.66-1.x86_64.rpm» сохранён [81206000/81206000]

Warning: Scripts are disabled for package /tmp/.private/root/tmp.hJHaaIF38f/brave-browser-beta-1.23.66-1.x86_64.rpm from outside vendor 'Brave Software, Inc.'. Use --scripts if you need run scripts from such packages.
 # rpm -Uvh --noscripts /tmp/.private/root/tmp.hJHaaIF38f/brave-browser-beta-1.23.66-1.x86_64.rpm
Подготовка...                                                                                                                    #################################################################################################### [100%]
Обновление / установка...
1: brave-browser-beta-1.23.66-1                                                                                                  #################################################################################################### [100%]
Running /usr/lib/rpm/posttrans-filetriggers
удалён '/tmp/.private/root/tmp.hJHaaIF38f/brave-browser-beta-1.23.66-1.x86_64.rpm'
rmdir: удаление каталога, '/tmp/.private/root/tmp.hJHaaIF38f'


# rpm -q brave-browser-beta 
brave-browser-beta-1.23.66-1.x86_64
Comment 4 Repository Robot 2021-04-10 10:03:18 MSK
eepm-3.9.9-alt1 -> sisyphus:

 Sat Apr 10 2021 Vitaly Lipatov <lav@altlinux.ru> 3.9.9-alt1
 - repack.d/teamviewer.sh: drop /bin/ip require (see ALT bug 39891)
 - prescription.d/brave.sh: fix downloading (ALT bug 39818)