LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-12-2018, 11:56 PM   #1
sub320
Member
 
Registered: Jan 2016
Posts: 116

Rep: Reputation: 3
What is the problem to install this package


I just want to install the package jenkins by the command "yum -y install jenkins" , but got the below error , I think the package have downloaded but something have wrong when install , would advise how to fix it ?
thanks

============================================================================
# yum -y install jenkins
Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
* base: centos.01link.hk
* epel: del-mirrors.extreme-ix.org
* extras: centos.01link.hk
* updates: centos.01link.hk
https://rpm.packager.io/gh/pkgr/gogs...ta/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package jenkins.noarch 0:2.127-1.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======
Package Arch Version Repository Size
======
Installing:
jenkins noarch 2.127-1.1 jenkins 71 M

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

Total size: 71 M
Installed size: 71 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/jenkins/packages/jenkins-2.127-1.1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID d50582e6: NOKEY


Public key for jenkins-2.127-1.1.noarch.rpm is not installed


===============================================================================
 
Old 06-13-2018, 12:13 AM   #2
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 415
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
try this -

rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key

As mentioned here
 
Old 06-13-2018, 02:46 AM   #3
sub320
Member
 
Registered: Jan 2016
Posts: 116

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Honest Abe View Post
try this -

rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key

As mentioned here
I got the below error

# rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key



curl: (7) Failed connect to pkg.jenkins.io:443; Connection timed out
error: https://pkg.jenkins.io/redhat/jenkins.io.key: import read failed(2).
 
Old 06-13-2018, 03:05 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by sub320 View Post
I got the below error

# rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key



curl: (7) Failed connect to pkg.jenkins.io:443; Connection timed out
error: https://pkg.jenkins.io/redhat/jenkins.io.key: import read failed(2).
I believe this is the same problem as in your other thread: https://www.linuxquestions.org/quest...pm-4175631751/
 
Old 06-13-2018, 03:08 AM   #5
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 415
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Agree with jsbjsb001. You can try to manually download the key and import locally.
This is something the repo maintainer needs to fix.
 
Old 06-13-2018, 03:46 AM   #6
sub320
Member
 
Registered: Jan 2016
Posts: 116

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Honest Abe View Post
Agree with jsbjsb001. You can try to manually download the key and import locally.
This is something the repo maintainer needs to fix.
I can do it by first wget to dowanload and then import .

however I still wonder why I can't directly import ?
 
Old 06-13-2018, 07:14 AM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
There seems to be some problem in you name resolution. If wget works but curl does not, I suggest adding the '-v' flag to the curl command, and the '-d' flag to the wget command, so you can see in more detail the differences.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install package problem ust Linux - Software 3 07-01-2009 04:30 PM
Install perl package problem sunhui Linux - Software 2 06-21-2006 05:41 AM
install package problem sunhui Linux - Software 6 04-24-2006 09:20 AM
install package problem sunhui Linux - Software 1 03-31-2006 04:46 AM
Slack 10.1 Install Problem(During Package Install) terdbird Slackware - Installation 2 04-22-2005 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration