Closed l2dy closed 3 years ago
Thanks for the report, @l2dy - I've just confirmed the issue. Working towards a fix :)
Actually, @l2dy, you were installing from the "release" repository, and not the "nightly", correct? I'm asking because the bug you reported was solved by Nick in 9aaacc96 a few months ago. But since the opensips-cli
package release was not incremented, I suspect the build was not refreshed.
@nikbyte - can you clear things up a bit for us: the opensips-cli
"release" CentOS packages are rebuilt the day after we bump the release in the specfile? Or is it a manual process? Thank you!
opensips-cli doesn’t work on el7 because there is no python3 available officially on el7 (and even in epel repository too).
I’ll reflect it on ui soon.
Пт, 28 авг. 2020 г. в 12:24, Liviu Chircu notifications@github.com:
Actually, @l2dy https://github.com/l2dy, you were installing from the "release" repository, and not the "nightly", correct? I'm asking because the bug you reported was solved by Nick in 9aaacc9 https://github.com/OpenSIPS/opensips-cli/commit/9aaacc96f6d27a4680b37ae4657e4d2af138593c a few months ago. But since the opensips-cli package release was not incremented, I suspect the build was not refreshed.
@nikbyte https://github.com/nikbyte - can you clear things up a bit for us: the opensips-cli "release" CentOS packages are rebuilt the day after we bump the release in the specfile? Or is it a manual process? Thank you!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenSIPS/opensips-cli/issues/68#issuecomment-682425080, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHHVY47VYFU45HC56JJDGDSC5ZVDANCNFSM4QICEYSA .
--
С уважением, Николай
Sorry, maybe this is an informed opinion, but my CentOS 7 VM says python3
is quite available:
[root@localhost ~]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
[root@localhost ~]# yum install python36
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ro-bucharest-repo.bigstepcloud.com
* epel: mirrors.nav.ro
* extras: mirrors.nav.ro
* updates: mirrors.nav.ro
Resolving Dependencies
--> Running transaction check
---> Package python3.x86_64 0:3.6.8-13.el7 will be installed
--> Processing Dependency: python3-libs(x86-64) = 3.6.8-13.el7 for package: python3-3.6.8-13.el7.x86_64
--> Processing Dependency: python3-setuptools for package: python3-3.6.8-13.el7.x86_64
--> Processing Dependency: python3-pip for package: python3-3.6.8-13.el7.x86_64
--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-13.el7.x86_64
--> Running transaction check
---> Package python3-libs.x86_64 0:3.6.8-13.el7 will be installed
---> Package python3-pip.noarch 0:9.0.3-7.el7_7 will be installed
---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
python3 x86_64 3.6.8-13.el7 base 69 k
Installing for dependencies:
python3-libs x86_64 3.6.8-13.el7 base 7.0 M
python3-pip noarch 9.0.3-7.el7_7 updates 1.8 M
python3-setuptools noarch 39.2.0-10.el7 base 629 k
Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 9.4 M
Installed size: 48 M
Is this ok [y/d/N]: ^C
[root@localhost ~]# cat /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
What do you think?
Name : python3
Arch : x86_64
Version : 3.6.8
Release : 13.el7
Size : 69 k
Repo : base/7/x86_64
Summary : Interpreter of the Python programming language
Note the el7
.
ok, thanks, I’ll check. I use ol7 for builds and there is no python3, at least last time I checked it.
Пт, 28 авг. 2020 г. в 12:30, Liviu Chircu notifications@github.com:
Sorry, maybe this is an informed opinion, but my CentOS 7 VM says python3 is quite available:
[root@localhost ~]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
[root@localhost ~]# yum install python36
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base: ro-bucharest-repo.bigstepcloud.com
epel: mirrors.nav.ro
extras: mirrors.nav.ro
updates: mirrors.nav.ro
Resolving Dependencies
--> Running transaction check
---> Package python3.x86_64 0:3.6.8-13.el7 will be installed
--> Processing Dependency: python3-libs(x86-64) = 3.6.8-13.el7 for package: python3-3.6.8-13.el7.x86_64
--> Processing Dependency: python3-setuptools for package: python3-3.6.8-13.el7.x86_64
--> Processing Dependency: python3-pip for package: python3-3.6.8-13.el7.x86_64
--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-13.el7.x86_64
--> Running transaction check
---> Package python3-libs.x86_64 0:3.6.8-13.el7 will be installed
---> Package python3-pip.noarch 0:9.0.3-7.el7_7 will be installed
---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
python3 x86_64 3.6.8-13.el7 base 69 k
Installing for dependencies:
python3-libs x86_64 3.6.8-13.el7 base 7.0 M
python3-pip noarch 9.0.3-7.el7_7 updates 1.8 M
python3-setuptools noarch 39.2.0-10.el7 base 629 k
Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 9.4 M
Installed size: 48 M
Is this ok [y/d/N]: ^C
[root@localhost ~]# cat /etc/yum.repos.d/CentOS-Base.repo
CentOS-Base.repo
#
The mirror system uses the connecting IP address of the client and the
update status of each mirror to pick mirrors that are updated to and
geographically close to the client. You should use this for CentOS updates
unless you are manually picking other mirrors.
#
If the mirrorlist= does not work for you, as a fall back you can try the
remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
What do you think?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenSIPS/opensips-cli/issues/68#issuecomment-682427772, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHHVYZYPXEEIGSLOKEJ4J3SC52LDANCNFSM4QICEYSA .
--
С уважением, Николай
I'm building packages for CentOS 7 and CentOS 8. And with current spec it works fine. I didn't write
0%{?rhel} < 8
because I didn't test it on CentOS 6.
Actually, @l2dy, you were installing from the "release" repository, and not the "nightly", correct? I'm asking because the bug you reported was solved by Nick in 9aaacc9 a few months ago. But since the
opensips-cli
package release was not incremented, I suspect the build was not refreshed.
Yes, [opensips-cli-nightly]
is disabled.
[opensips-cli-release]
name=OpenSIPS CLI tool - Open Source SIP proxy/server for el7 - $basearch
baseurl=https://yum.opensips.org/cli/releases/el/7/noarch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OPENSIPS
[opensips-cli-nightly]
name=OpenSIPS CLI tool - Open Source SIP proxy/server for el7 - $basearch
baseurl=https://yum.opensips.org/cli/nightly/el/7/noarch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OPENSIPS
Any update on this? Should I enable the nightly repository?
Absolutely, @l2dy -- always stick to the nightly repo for opensips-cli
, especially since fixes are getting constantly pushed.
Absolutely, @l2dy -- always stick to the nightly repo for
opensips-cli
, especially since fixes are getting constantly pushed.
So I tried the nightly repo, but it returned 404.
opensips-cli-0.1.20200827.d44e FAILED
https://yum.opensips.org/cli/nightly/el/7/noarch/opensips-cli-0.1.20200827.d44ebdf-1.el7.noarch.rpm: [Errno 14] HTTPS Error 404 - Not Found
Did you clean the yum
cache after switching the repo?
Yes, I tried yum clean all
.
There is an issue with opensips-cli builds for el7. I know about it and I'll fix it soon.
The build fixed. Sorry for the inconvenience.
@nikbyte I got Package opensips-yum-releases-3.1-6.el7.noarch.rpm is not signed
in yum upgrade
.