LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-12-2018, 03:02 PM   #1
genesiusj
LQ Newbie
 
Registered: Jul 2018
Location: New Jersey
Distribution: RHEL 7.2
Posts: 13

Rep: Reputation: Disabled
Question Error Install VirtualBox Guest Additions.iso "Failed...Trying other mirror" - CentOS 7.5.1804/VBoxGuestAdditions.iso 5.2.14.123301/Win8.1


Hello,
Newbie.

Here's is what I have tried and the results.

Following the instructions here
https://www.megajason.com/2017/06/10...s-on-centos-7/
Code:
# yum update
Rebooted.
Code:
# yum groupinstall "Development Tools"
# yum install kernel-devel
Received the error. Note: Unable to copy & paste the full error message received. Instead, had to screen shot. See attached for partial error.

Searched LQ for "kernel-devel", "failed", "virtualbox", "centos"; returned 4 hits, including kdingo's
https://www.linuxquestions.org/quest...5-i386-645991/.
However, this post is from 2008. I went to their suggested link and drilled down to
http://vault.centos.org/7.5.1804/upd...rce/SPackages/

I believe I should select this package...
kernel-3.10.0-862.2.3.el7.centos.plus.src.rpm May 10, 2018
...but I have a few questions.

I also clicked the "Click Here to Find Similar Threads" button on LQ and had 5 results. Read them. This from 273
https://www.linuxquestions.org/quest...os-4175481114/
is similar to the LQ post I mentioned above, and references the same link as kdingo.

Questions
  1. Is this the correct package?
  2. Who's procedure should I follow? "megajason"; "kdingo"; or "273"?
  3. Or, is there a simpler way this these procedures were first compiled?


Thanks in advance for any assistance you can provide.

God bless,
Genesius
Attached Files
File Type: pdf yum install kernel-devel.pdf (142.9 KB, 35 views)
 
Old 07-12-2018, 03:27 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,613

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by genesiusj View Post
Here's is what I have tried and the results.

Following the instructions here
https://www.megajason.com/2017/06/10...s-on-centos-7/
Code:
# yum update
Rebooted.
Code:
# yum groupinstall "Development Tools"
# yum install kernel-devel
Received the error. Note: Unable to copy & paste the full error message received. Instead, had to screen shot. See attached for partial error.

Searched LQ for "kernel-devel", "failed", "virtualbox", "centos"; returned 4 hits, including kdingo's However, this post is from 2008. I went to their suggested link and drilled down to <snip>

I believe I should select this package...kernel-3.10.0-862.2.3.el7.centos.plus.src.rpm May 10, 2018...but I have a few questions.

Questions
  1. Is this the correct package?
  2. Who's procedure should I follow? "megajason"; "kdingo"; or "273"?
  3. Or, is there a simpler way this these procedures were first compiled?
You're getting the error because the online repo you're after isn't available. This is probably due to the fact you're using RHEL, and are trying to use the CentOS repositories; this is evidenced by the top of your error that says "This system is not registered with an entitlement server. You can use subscription-manager to register", which is an RHEL error/information message:
https://access.redhat.com/solutions/253273

To address the list:
  1. Honestly, the answer is "maybe", since you're running RHEL and are trying to install CentOS packages. While they *TYPICALLY* are the same, they may not be, depending on your build. The RHEL install image may have a different kernel on it than the more up-to-date CentOS.
  2. The megajason instructions are the most concise, and are accurate.
  3. Nothing simpler.
As said in your other thread, you're using RHEL without paying; the 'entitlement' message says this. This means you DO NOT have access to the online resources. As suggested by Chrism01 here (point #2):
https://www.linuxquestions.org/quest...0/#post5876061

..you can 'convert' RHEL to CentOS. It's not hard, but it's not easy, either. As he said, lots of online guides: http://jensd.be/32/linux/migrate-rhel7-to-centos7

But fresh installs are easier. Your path forward remains:
  1. Pay for RHEL and run the megajason how-to
  2. Load CentOS and run the megajason how-to
While you *CAN* hunt, peck, and install RPM packages one at a time, compile things from source, and do all sorts of different things, for a 'newbie' they won't be easy. A fresh install of CentOS will take about 30 minutes and you're done, as will registering your system with RHEL. Or spend hours and have a flaky system with packages that may (or may not) work together.

Your call.
 
Old 07-13-2018, 08:46 AM   #3
genesiusj
LQ Newbie
 
Registered: Jul 2018
Location: New Jersey
Distribution: RHEL 7.2
Posts: 13

Original Poster
Rep: Reputation: Disabled
Two different issues/projects.

This one is CentOS via VBox on PC.
Only CentOS was installed; no other software that I am aware of; therefore, the VBoxGA should be correct.

Here is the VBox window with CentOS version and error messages (first 3 thumbnails) when running this command.
Code:
# yum install kernel-devel
Attempted VBoxGA install through mounted iso on CentOS VM desktop (last 2 thumbnails).

Thanks and God bless,
Genesius
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 7_13_2018 , 9_07_17 AM.png
Views:	35
Size:	197.5 KB
ID:	28089   Click image for larger version

Name:	Screenshot - 7_13_2018 , 9_15_59 AM.png
Views:	33
Size:	119.7 KB
ID:	28090   Click image for larger version

Name:	Screenshot - 7_13_2018 , 9_17_48 AM.jpg
Views:	32
Size:	129.1 KB
ID:	28091   Click image for larger version

Name:	Screenshot - 7_13_2018 , 9_27_51 AM.jpg
Views:	29
Size:	65.3 KB
ID:	28094   Click image for larger version

Name:	Screenshot - 7_13_2018 , 9_24_38 AM.png
Views:	41
Size:	210.1 KB
ID:	28095  

 
Old 07-13-2018, 09:11 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,613

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by genesiusj View Post
Two different issues/projects. This one is CentOS via VBox on PC Only CentOS was installed; no other software that I am aware of; therefore, the VBoxGA should be correct.
CentOS doesn't have entitlement servers; that's RHEL and/or another piece of commercial software on that box that isn't registered. I have three CentOS boxes spinning now, and none of them have ever given me that message, nor is it even part of the CentOS docs.
Quote:
Here is the VBox window with CentOS version and error messages (first 3 thumbnails) when running this command.
Code:
# yum install kernel-devel
Attempted VBoxGA install through mounted iso on CentOS VM desktop (last 2 thumbnails).
Right; because your system cannot receive updates, and you can't install the kernel-devel package, which is needed. Until you do that and satisfy that dependency, you will (very obviously), NOT be able to proceed. The 401/Unauthorized message hints at a proxy server issue. But again, you say nothing about your environment or what's between you and the Internet, so we can't tell you anything about how to configure a proxy for yum to use. You can turn off the entitlement message by paying for the software that's on the box, as was suggested many times previously.

You can configure yum to use a proxy, and there is ample documentation on how to do this.
https://www.centos.org/docs/5/html/y...xy-server.html

Reading the man page on yum.conf would be a good thing. Surprising your network administrator didn't know what the 401 message was, though.
 
Old 07-13-2018, 11:30 AM   #5
genesiusj
LQ Newbie
 
Registered: Jul 2018
Location: New Jersey
Distribution: RHEL 7.2
Posts: 13

Original Poster
Rep: Reputation: Disabled
SOLVED

As can be seen from the previous thumbnails, I am running CentOS 7 within VBox 5.3.14r... This is on a Win81 PC.

The command in megajason's site
https://www.megajason.com/2017/06/10...s-on-centos-7/
Code:
yum install kernel-devel
was not complete according to what I learned at stackoverflow.com from aaj.
https://stackoverflow.com/questions/...kernel-modules
aaj states to run this
Quote:
yum install kernel-devel-3.10.0-693.11.1.el7.x86_64 fixed the issue.
As the above is for RHEL and not CentOS, I ran this to determine my kernel-devel version
Code:
# uname -r
3.10.0-862.6.3.el7.x86_64
and than ran this
Code:
# yum install kernel-devel-3.10.0-862.6.3.el7.x86_64
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: mirrors.cat.pdx.edu
 * extras: mirror.es.its.nyu.edu
 * updates: mirror.es.its.nyu.edu
base                                                     | 3.6 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:3.10.0-862.6.3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch         Version                    Repository     Size
================================================================================
Installing:
 kernel-devel       x86_64       3.10.0-862.6.3.el7         updates        16 M

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

Total download size: 16 M
Installed size: 37 M
Is this ok [y/d/N]: y
Downloading packages:
kernel-devel-3.10.0-862.6.3.el7.x86_64.rpm                 |  16 MB   00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : kernel-devel-3.10.0-862.6.3.el7.x86_64                       1/1 
  Verifying  : kernel-devel-3.10.0-862.6.3.el7.x86_64                       1/1 

Installed:
  kernel-devel.x86_64 0:3.10.0-862.6.3.el7                                      

Complete!
[root@jjc-tj0keu ~]#
As megajason continues with the CLI, he uses a command
Code:
yum install dkms
according to Habitual this has been deprecated in VBox 5
https://www.linuxquestions.org/quest...08-4175599397/
Quote:
dkms is no longer required by Virtualbox, and deprecated as of Virtualbox 5
Therefore, I decided to skip the rest of megajason's suggestions, as I had only performed the prework to installing VBox_GA, and return to CentOS and to install from the mounted iso (see first 2 thumbnails).
The Files "VBox_GAs_5.2.14" is ready message was not displayed prior.

After the install completed, the mouse worked immediately.
However, I was unable to copy and paste, or move files between CentOS and my Win8.1 desktop until I rebooted.

Thanks and God bless,
Genesius
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 7_13_2018 , 11_22_30 AM.png
Views:	19
Size:	124.4 KB
ID:	28101   Click image for larger version

Name:	Screenshot - 7_13_2018 , 11_23_09 AM.png
Views:	18
Size:	98.4 KB
ID:	28102  
 
Old 07-13-2018, 11:49 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,613

Rep: Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962Reputation: 7962
Quote:
Originally Posted by genesiusj View Post
As can be seen from the previous thumbnails, I am running CentOS 7 within VBox 5.3.14r... This is on a Win81 PC.
Yes, we saw the cat command of the release file. Aside from the fact that it's a plain text file that's easy to edit/change (not saying you did....), the "entitlement server" message remains, and has two possibilities: RHEL or commercial-software installed, as stated. Either one (or both) is true.
Quote:
The command in megajason's site
https://www.megajason.com/2017/06/10...s-on-centos-7/
Code:
yum install kernel-devel
was not complete according to what I learned at stackoverflow.com from aaj.
https://stackoverflow.com/questions/...kernel-modules aaj states to run this

As the above is for RHEL and not CentOS, I ran this to determine my kernel-devel version
Code:
# uname -r
3.10.0-862.6.3.el7.x86_64
and than ran this
Code:
# yum install kernel-devel-3.10.0-862.6.3.el7.x86_64
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: mirrors.cat.pdx.edu
 * extras: mirror.es.its.nyu.edu
 * updates: mirror.es.its.nyu.edu
base                                                     | 3.6 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:3.10.0-862.6.3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch         Version                    Repository     Size
================================================================================
Installing:
 kernel-devel       x86_64       3.10.0-862.6.3.el7         updates        16 M

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

Total download size: 16 M
Installed size: 37 M
Is this ok [y/d/N]: y
Downloading packages:
kernel-devel-3.10.0-862.6.3.el7.x86_64.rpm                 |  16 MB   00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : kernel-devel-3.10.0-862.6.3.el7.x86_64                       1/1 
  Verifying  : kernel-devel-3.10.0-862.6.3.el7.x86_64                       1/1 

Installed:
  kernel-devel.x86_64 0:3.10.0-862.6.3.el7                                      

Complete!
[root@jjc-tj0keu ~]#
As megajason continues with the CLI, he uses a command
Code:
yum install dkms
according to Habitual this has been deprecated in VBox 5
DKMS won't hurt either way, so following that step is optional.
Quote:
Therefore, I decided to skip the rest of megajason's suggestions, as I had only performed the prework to installing VBox_GA, and return to CentOS and to install from the mounted iso (see first 2 thumbnails). The Files "VBox_GAs_5.2.14" is ready message was not displayed prior. After the install completed, the mouse worked immediately. However, I was unable to copy and paste, or move files between CentOS and my Win8.1 desktop until I rebooted.
And how did the 401/unauthorized message go away??
 
Old 07-13-2018, 01:10 PM   #7
genesiusj
LQ Newbie
 
Registered: Jul 2018
Location: New Jersey
Distribution: RHEL 7.2
Posts: 13

Original Poster
Rep: Reputation: Disabled
TB0ne,
The first thumbnail is a screenshot, not a code box, indicating the result of the repolist and cat commands.

Then I found these instructions, second thumbnail, on the CentOS wiki site.
https://wiki.centos.org/HowTos/Virtu...ox/CentOSguest

The page is about installing CentOS on VBox, but it states
Quote:
..., choosing Linux for the OS Type and Red Hat or Red Hat (64 bit) for the Operating System.
A 3rd party video confirms, third thumbnail, to use Red Hat.
https://www.google.com/search?source...tive#kpvalbx=1

Checking the possible options for installing CentOS on VBox, there is no option for CentOS under the Linux type, 4th thumbnail.

In older versions of VBox was there a separate version for CentOS?

I believe the 401 error went away because once I used
Code:
yum install kernel-devel-3.10.0-862.6.3.el7.x86_64
CentOS did not have to search elsewhere for the package, because kernel-devel-3.10.0-862.6.3.el7.x86_64 exists, fifth thumbnail, but not kernel-devel.

Thanks and God bless,
Genesius
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 7_13_2018 , 1_43_32 PM.png
Views:	31
Size:	153.2 KB
ID:	28103   Click image for larger version

Name:	Screenshot - 7_13_2018 , 1_45_50 PM.png
Views:	20
Size:	175.3 KB
ID:	28104   Click image for larger version

Name:	Screenshot - 7_13_2018 , 1_53_46 PM.jpg
Views:	35
Size:	48.5 KB
ID:	28105   Click image for larger version

Name:	Screenshot - 7_13_2018 , 1_58_39 PM.png
Views:	22
Size:	90.7 KB
ID:	28106   Click image for larger version

Name:	Screenshot - 7_13_2018 , 2_08_29 PM.png
Views:	25
Size:	76.1 KB
ID:	28107  

 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox: How to add Guest Additions ISO from guest machine Don_Nadie Linux - Virtualization and Cloud 15 01-20-2017 08:42 AM
Manjaro ISO -- Tracker gave an error: "Connection failed" linustalman Manjaro 3 05-29-2016 07:07 AM
[SOLVED] CentOS 7 Host and Virtualbox Win 8.1 Guest with Guest Additions Installed Sum1 Linux - Virtualization and Cloud 1 03-26-2015 02:31 PM
Error in install of Virtualbox guest additions in CentOS kedarp Linux - Software 4 10-21-2013 03:10 PM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 04:27 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