Skip to content

installer.sh: downgrade is not working #1

@artembo

Description

@artembo

Скрипт завершается ошибкой, когда пытаешься сделать 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions