Skip to content

debian/ubuntu: pin tarantool-dev/tarantool-common #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

Totktonada
Copy link
Member

The situation occurs on Debian Bullseye (where tarantool-2.6 is in the
base repositories), when we enable our repository for tarantool-1.10.

The installer.sh script pins tarantool package from our repository. But
we should pin tarantool-dev package too, otherwise apt-get will unable
to install it:

$ apt-get install -y tarantool-dev
<...>
The following packages have unmet dependencies:
 tarantool-dev : Depends: tarantool (= 2.6.0-1) but 1.10.11.0.gf0b0e7ecf-1 is to be installed
E: Unable to correct problems, you have held broken pack

We should also pin tarantool-common, otherwise apt-get will install
incorrect version of the package:

$ apt-get install -y tarantool
<...>
$ dpkg -l | grep tarantool
ii  tarantool         1.10.11.0.gf0b0e7ecf-1  amd64 <...>
ii  tarantool-common  2.6.0-1                 all   <...>
ii  tarantool-dev     1.10.11.0.gf0b0e7ecf-1  amd64 <...>

tarantoolctl rocks will not work with those tarantool and
tarantool-common versions, see tarantool/tarantool#5429.

Fixes #10

The situation occurs on Debian Bullseye (where tarantool-2.6 is in the
base repositories), when we enable our repository for tarantool-1.10.

The installer.sh script pins tarantool package from our repository. But
we should pin tarantool-dev package too, otherwise apt-get will unable
to install it:

 | $ apt-get install -y tarantool-dev
 | <...>
 | The following packages have unmet dependencies:
 |  tarantool-dev : Depends: tarantool (= 2.6.0-1) but
 |  1.10.11.0.gf0b0e7ecf-1 is to be installed
 | E: Unable to correct problems, you have held broken pack

We should also pin tarantool-common, otherwise apt-get will install
incorrect version of the package:

 | $ apt-get install -y tarantool
 | <...>
 | $ dpkg -l | grep tarantool
 | ii  tarantool         1.10.11.0.gf0b0e7ecf-1  amd64 <...>
 | ii  tarantool-common  2.6.0-1                 all   <...>
 | ii  tarantool-dev     1.10.11.0.gf0b0e7ecf-1  amd64 <...>

`tarantoolctl rocks` will not work with those tarantool and
tarantool-common versions, see
tarantool/tarantool#5429.

Fixes #10
@Totktonada Totktonada requested a review from artembo September 27, 2021 11:36
@Totktonada Totktonada requested a review from ylobankov November 3, 2021 11:38
Copy link
Contributor

@ylobankov ylobankov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to install tarantool-dev on Debian Bullseye
3 participants