tarantool / tarantool/installer.sh
installer.sh: downgrade is not working
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Скрипт завершается ошибкой, когда пытаешься сделать downgrade:
Как воспроизвести:
Выполнить curl -L https://tarantool.io/installer.sh | VER=2.7 bash и убедиться, что версия 2.7 установилась успешно
Выполнить curl -L https://tarantool.io/installer.sh | VER=2.6 bash. В логах будет следующее:
- echo 'Tarantool 2.6 is ready to be installed'
Tarantool 2.6 is ready to be installed - '[' 0 = 0 ']'
- apt-get install -y tarantool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
tarantool
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 1 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.
Я ожидаю, что тарантул меньшей версии, должен установиться без ошибок
Запускал в докер образе ubuntu:focal
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with installer.sh and reproduce the downgrade from Tarantool 2.7 to 2.6 in ubuntu:focal using the two curl commands from the issue. Inspect the apt-get installation step and verify that the requested older version installs without the reported --allow-downgrades error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell, ubuntu
- Domain
- devops, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100