tarantool / cartridge-cli

Command-line utility to manage tarantool cartridge applications
Other
49 stars 17 forks source link

Installation on CentOS 7 #751

Closed NuVeS closed 1 year ago

NuVeS commented 1 year ago

Here's my compose file

FROM centos:7

RUN curl -L https://tarantool.io/lPvySJi/release/2/installer.sh | bash RUN yum clean all && \ yum -y install \ git \ gcc \ gcc-c++ \ make \ cmake \ unzip \ curl

RUN yum -y install tarantool RUN yum -y install tarantool-devel

RUN yum install cartridge-cli

And I get:

0 0.414 Loaded plugins: fastestmirror, ovl, priorities

0 0.536 Loading mirror speeds from cached hostfile

0 3.099 * base: mirrors.powernet.com.ru

0 3.100 * epel: mirror.yandex.ru

0 3.102 * epel-debuginfo: mirror.yandex.ru

0 3.103 * epel-source: mirror.yandex.ru

0 3.104 * extras: mirrors.powernet.com.ru

0 3.105 * updates: mirrors.powernet.com.ru

0 10.07 No package cartridge-cli available.

0 10.25 Error: Nothing to do

Cartridge package is not seen in any of those mirrors

LeonidVas commented 1 year ago

Hmm, this looks strange, but it looks like the problem is on your side. I checked on the docker image centos:7 and everything installed correctly.

┌─[leonid@vasya-hp]─[~]
└──╼ docker run -it centos:7 bash
[root@736799f1ea80 /]# yum search cartridge-cli
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: mirrors.datahouse.ru
 * extras: mirrors.datahouse.ru
 * updates: mirror.corbina.net
base                                                          | 3.6 kB  00:00:00     
extras                                                        | 2.9 kB  00:00:00     
updates                                                       | 2.9 kB  00:00:00     
(1/4): base/7/x86_64/group_gz                                 | 153 kB  00:00:00     
(2/4): extras/7/x86_64/primary_db                             | 249 kB  00:00:00     
(3/4): base/7/x86_64/primary_db                               | 6.1 MB  00:00:04     
(4/4): updates/7/x86_64/primary_db                            |  19 MB  00:00:07     
Warning: No matches found for: cartridge-cli
No matches found
[root@736799f1ea80 /]# curl -L https://tarantool.io/release/2/installer.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   169  100   169    0     0    663      0 --:--:-- --:--:-- --:--:--   665
100 11790  100 11790    0     0  33498      0 --:--:-- --:--:-- --:--:-- 33498
Detected operating system as centos/7.

################################
# Setting up yum repository... #
################################

#########################
# Cleaning yum cache... #
#########################
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up list of fastest mirrors

#################################
# Installing EPEL repository... #
#################################
Loaded plugins: fastestmirror, ovl
epel-release-latest-7.noarch.rpm                              |  15 kB  00:00:00     
Examining /var/tmp/yum-root-ko1j4H/epel-release-latest-7.noarch.rpm: epel-release-7-14.noarch
Marking /var/tmp/yum-root-ko1j4H/epel-release-latest-7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-14 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================
 Package           Arch        Version      Repository                          Size
=====================================================================================
Installing:
 epel-release      noarch      7-14         /epel-release-latest-7.noarch       25 k

Transaction Summary
=====================================================================================
Install  1 Package

Total size: 25 k
Installed size: 25 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-14.noarch                                          1/1 
  Verifying  : epel-release-7-14.noarch                                          1/1 

Installed:
  epel-release.noarch 0:7-14                                                         

Complete!
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
epel/x86_64/metalink                                          |  28 kB  00:00:00     
 * base: mirrors.datahouse.ru
 * epel: mirror.logol.ru
 * extras: mirrors.datahouse.ru
 * updates: mirror.corbina.net
base                                                          | 3.6 kB  00:00:00     
epel                                                          | 4.7 kB  00:00:00     
extras                                                        | 2.9 kB  00:00:00     
updates                                                       | 2.9 kB  00:00:00     
(1/7): epel/x86_64/group_gz                                   |  99 kB  00:00:00     
(2/7): base/7/x86_64/group_gz                                 | 153 kB  00:00:00     
(3/7): extras/7/x86_64/primary_db                             | 249 kB  00:00:00     
(4/7): epel/x86_64/updateinfo                                 | 1.0 MB  00:00:02     
(5/7): base/7/x86_64/primary_db                               | 6.1 MB  00:00:05     
(6/7): updates/7/x86_64/primary_db                            |  19 MB  00:00:07     
(7/7): epel/x86_64/primary_db                                 | 7.0 MB  00:00:12     
Resolving Dependencies
--> Running transaction check
---> Package yum-plugin-priorities.noarch 0:1.1.31-54.el7_8 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================
 Package                      Arch          Version                Repository   Size
=====================================================================================
Installing:
 yum-plugin-priorities        noarch        1.1.31-54.el7_8        base         29 k

Transaction Summary
=====================================================================================
Install  1 Package

Total download size: 29 k
Installed size: 28 k
Downloading packages:
warning: /var/cache/yum/x86_64/7/base/packages/yum-plugin-priorities-1.1.31-54.el7_8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for yum-plugin-priorities-1.1.31-54.el7_8.noarch.rpm is not installed
yum-plugin-priorities-1.1.31-54.el7_8.noarch.rpm              |  29 kB  00:00:00     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-9.2009.0.el7.centos.x86_64 (@CentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : yum-plugin-priorities-1.1.31-54.el7_8.noarch                      1/1 
  Verifying  : yum-plugin-priorities-1.1.31-54.el7_8.noarch                      1/1 

Installed:
  yum-plugin-priorities.noarch 0:1.1.31-54.el7_8                                     

Complete!

#####################################
# Setting up tarantool EPEL repo... #
#####################################

########################
# Updating metadata... #
########################
Loaded plugins: fastestmirror, ovl, priorities
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                          |  28 kB  00:00:00     
 * epel: mirror.logol.ru
tarantool_2/signature                                         |  488 B  00:00:00     
Retrieving key from https://download.tarantool.org/tarantool/release/series-2/gpgkey
Importing GPG key 0xA773605B:
 Userid     : "Tarantool <admin@tarantool.org>"
 Fingerprint: 7cb1 c0eb 4776 404a ca67 dcad c84b 9bca a773 605b
 From       : https://download.tarantool.org/tarantool/release/series-2/gpgkey
tarantool_2/signature                                         | 1.5 kB  00:00:01 !!! 
tarantool_modules/signature                                   |  659 B  00:00:00     
Retrieving key from https://download.tarantool.org/tarantool/modules/gpgkey
Importing GPG key 0xA795CA3A:
 Userid     : "Tarantool <support@tarantool.io>"
 Fingerprint: 6acf 26a9 2e4e d97c 8bb9 0d45 ef12 8e21 a795 ca3a
 From       : https://download.tarantool.org/tarantool/modules/gpgkey
tarantool_modules/signature                                   | 1.5 kB  00:00:00 !!! 
(1/9): epel/x86_64/prestodelta                                |  740 B  00:00:00     
(2/9): tarantool_2/filelists                                  | 1.9 kB  00:00:00     
(3/9): tarantool_2/other                                      | 3.6 kB  00:00:00     
(4/9): tarantool_modules/primary                              | 6.8 kB  00:00:00     
(5/9): tarantool_modules/other                                | 4.3 kB  00:00:00     
(6/9): tarantool_modules/filelists                            | 4.7 kB  00:00:00     
(7/9): epel/x86_64/filelists_db                               |  12 MB  00:00:03     
(8/9): epel/x86_64/other_db                                   | 3.4 MB  00:00:04     
(9/9): tarantool_2/primary                                    | 1.9 kB  00:00:05     
tarantool_2                                                                      8/8
tarantool_2                                                                      8/8
tarantool_2                                                                      8/8
tarantool_modules                                                              53/53
tarantool_modules                                                              53/53
tarantool_modules                                                              53/53
Metadata Cache Created

Tarantool 2 is ready to be installed by 'yum install -y tarantool'
[root@736799f1ea80 /]# yum search cartridge-cli
Loaded plugins: fastestmirror, ovl, priorities
Loading mirror speeds from cached hostfile
epel-debuginfo/x86_64/metalink                                |  28 kB  00:00:00     
epel-source/x86_64/metalink                                   |  28 kB  00:00:00     
 * base: mirrors.datahouse.ru
 * epel: mirror.logol.ru
 * epel-debuginfo: mirror.logol.ru
 * epel-source: mirror.logol.ru
 * extras: mirrors.datahouse.ru
 * updates: mirror.corbina.net
epel-debuginfo                                                | 3.0 kB  00:00:00     
epel-source                                                   | 3.5 kB  00:00:00     
tarantool_2-source/signature                                  |  488 B  00:00:00     
Retrieving key from https://download.tarantool.org/tarantool/release/series-2/gpgkey
Importing GPG key 0xA773605B:
 Userid     : "Tarantool <admin@tarantool.org>"
 Fingerprint: 7cb1 c0eb 4776 404a ca67 dcad c84b 9bca a773 605b
 From       : https://download.tarantool.org/tarantool/release/series-2/gpgkey
Is this ok [y/N]: y
tarantool_2-source/signature                                  | 1.5 kB  00:00:25 !!! 
tarantool_modules-source/signature                            |  659 B  00:00:00     
Retrieving key from https://download.tarantool.org/tarantool/modules/gpgkey
Importing GPG key 0xA795CA3A:
 Userid     : "Tarantool <support@tarantool.io>"
 Fingerprint: 6acf 26a9 2e4e d97c 8bb9 0d45 ef12 8e21 a795 ca3a
 From       : https://download.tarantool.org/tarantool/modules/gpgkey
Is this ok [y/N]: y
tarantool_modules-source/signature                            | 1.5 kB  00:00:04 !!! 
(1/5): epel-debuginfo/x86_64/primary_db                       | 900 kB  00:00:00     
(2/5): epel-source/x86_64/updateinfo                          | 1.0 MB  00:00:00     
(3/5): tarantool_modules-source/primary                       | 3.4 kB  00:00:00     
(4/5): tarantool_2-source/primary                             | 1.0 kB  00:00:00     
(5/5): epel-source/x86_64/primary_db                          | 2.5 MB  00:00:00     
tarantool_2-source                                                               4/4
tarantool_modules-source                                                       23/23
2 packages excluded due to repository priority protections
============================ N/S matched: cartridge-cli =============================
cartridge-cli.x86_64 : Tarantool Cartridge command line interface

  Name and summary matches only, use "search all" for everything.
[root@736799f1ea80 /]# yum install cartridge-cli
Loaded plugins: fastestmirror, ovl, priorities
Loading mirror speeds from cached hostfile
 * base: mirrors.datahouse.ru
 * epel: mirror.logol.ru
 * epel-debuginfo: mirror.logol.ru
 * epel-source: mirror.logol.ru
 * extras: mirrors.datahouse.ru
 * updates: mirror.corbina.net
2 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package cartridge-cli.x86_64 0:2.12.4-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================
 Package              Arch          Version           Repository                Size
=====================================================================================
Installing:
 cartridge-cli        x86_64        2.12.4-1          tarantool_modules        4.7 M

Transaction Summary
=====================================================================================
Install  1 Package

Total download size: 4.7 M
Installed size: 12 M
Is this ok [y/d/N]: y
Downloading packages:
cartridge-cli-2.12.4.x86_64.rpm                               | 4.7 MB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Verifying  : cartridge-cli-2.12.4-1.x86_64                                     1/1 

Installed:
  cartridge-cli.x86_64 0:2.12.4-1                                                    

Complete!
[root@736799f1ea80 /]#