distributions icon indicating copy to clipboard operation
distributions copied to clipboard

Failure of some RHEL Fork

Open minmemory opened this issue 3 years ago • 1 comments

etc.Virtuozzo Linux, Alibaba Anolis OS and Huawei openEuler for same

+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release || rpm -q --whatprovides fedora-release
+ uname -m

## You don't appear to be running a supported version of Enterprise Linux. Please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your architecture to be considered for support. Include your 'distribution package' name: vzlinux-release-8.5-36.vl8.x86_64. 

minmemory avatar Nov 29 '21 00:11 minmemory

if [[ $DISTRO_PKG =~ ^(redhat|centos|almalinux|rocky|cloudlinux|mageia|sl|anolis|vzlinux|openeuler|miraclelinux|asianux)- ]]; then
DIST_TYPE=el

I had been add vzlinux in script then install successfully, but dnf still install elder one from virtuozzolinux-base repo

#dnf install nodejs
Last metadata expiration check: 0:30:31 ago on Sun Nov 28 19:57:44 2021.
Dependencies resolved.
===============================================================================================================================================================================================
 Package                                   Architecture                         Version                                                Repository                                         Size
===============================================================================================================================================================================================
Installing:
 nodejs                                    x86_64                               1:10.16.3-2.vl8                                        virtuozzolinux-base                               8.9 M
Installing dependencies:
 http-parser                               x86_64                               2.8.0-9.vl8                                            virtuozzolinux-base                                41 k
 libuv                                     x86_64                               1:1.41.1-1.vl8                                         virtuozzolinux-base                               156 k
 npm                                       x86_64                               1:6.9.0-1.10.16.3.2.vl8                                virtuozzolinux-base                               3.8 M

Transaction Summary
===============================================================================================================================================================================================
Install  4 Packages

Total download size: 13 M
Installed size: 62 M
Is this ok [y/N]: n

but I check the Nodesource repo is normally enabled

# cat /etc/yum.repos.d/nodesource-el8.repo 
[nodesource]
name=Node.js Packages for Enterprise Linux 8 - $basearch
baseurl=https://rpm.nodesource.com/pub_16.x/el/8/$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL

[nodesource-source]
name=Node.js for Enterprise Linux 8 - $basearch - Source
baseurl=https://rpm.nodesource.com/pub_16.x/el/8/SRPMS
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
gpgcheck=1

minmemory avatar Nov 29 '21 01:11 minmemory

Hello guys, with the new installation process this is not needed anymore. Our new repo is distro agnostic.

Take a look to the new README https://github.com/nodesource/distributions#installation-instructions-1

riosje avatar Aug 29 '23 19:08 riosje