Bug 53757 - Неверно показывает branch
Summary: Неверно показывает branch
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: alteratorctl (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: sav@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-08 10:40 MSK by Elena Mishina
Modified: 2025-04-08 10:40 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elena Mishina 2025-04-08 10:40:14 MSK
Шаги воспроизведения:
$ alteratorctl systeminfo branch
p11
# alteratorctl packages repo add p10
# alteratorctl packages repo remove p10

Получаемый результат:
$ alteratorctl systeminfo branch
p10

$ alteratorctl packages repo list
rpm [p11] http://ftp.altlinux.org/pub/distributions/ALTLinux p11/branch/noarch classic
rpm [p11] http://ftp.altlinux.org/pub/distributions/ALTLinux p11/branch/x86_64 classic
rpm [p11] http://ftp.altlinux.org/pub/distributions/ALTLinux p11/branch/x86_64-i586 classic

Ожидаемый результат: 
$ alteratorctl systeminfo branch
p11

Получаемый результат еще можно было бы ожидать, если бы команда alteratorctl packages repo add p10, работала аналогично команде apt-repo set, но она же так не работает.