The cdrom repo can not makecacheyum remove is not idempotenthow to build kernel-tools-4.2.xx.rpm and...
Does a "melee spell attack" use my spellcasting ability, or my Strength?
Has Peter Parker ever eaten bugs?
Quickest way to move a line in a text file before another line in a text file?
Can a creature sustain itself by eating its own severed body parts?
Book in which the "mountain" in the distance was a hole in the flat world
Calculating Fibonacci sequence in several different ways
Can someone clarify when a Trigger executes on a single record vs. multiple in one context?
If hash functions append the length, why does length extension attack work?
Why can't a country print its own money to spend it only abroad?
Why was Quirrell said to be in the Black Forest if Voldemort was actually in Albania?
My current job follows "worst practices". How can I talk about my experience in an interview without giving off red flags?
As the Ferris wheel turns
Cargo capacity of a kayak
Can I use Sitecore's Configuration patching mechanics for my Identity Server configuration?
Has Iron Man made any suit for underwater combat?
Facebook video calling problem in Safari
Can "Taking algebraic closure" be made into a functor?
Why did modems have speakers?
What are "the high ends of castles" called?
1025th term of the given sequence.
What is the metal bit in the front of this propeller spinner?
Adding gears to my grandson's 12" bike
How to deal with making design decisions
Would using carbon dioxide as fuel work to reduce the greenhouse effect?
The cdrom repo can not makecache
yum remove is not idempotenthow to build kernel-tools-4.2.xx.rpm and kernel-ltools-libs-4.2.xx.rpmHow do I get a yum repo to work in a Docker container?How to add default yum repositories for CentOS 7.3?CentOS 7.4 EPEL “Cannot retrieve metalink for repository: epel/x86_64” ErrorCannot find a valid baseurl for repo : base problemyum install and update fail - GPG keys listed for the “CentOS-7 - Updates” repository are already installed but they are not correctIssue with elrepo-kernel: packages are not availablecannot offline install vnc server on CentOS 7How to resolve Transaction check error while installing xrdp?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I my CentOS 7.2:
I mount my virtual cdrom (/dev/sr0
) on my /mnt/cdrom
:
I use mount
command check my mount list there has the information:
...
/dev/sr0 on /mnt/cdrom type iso9660 (ro,relatime)
...
But when I ls /mnt/cdrom
, there have the repo data in it:
[root@localhost cdrom]# ls
CentOS_BuildTag GPL LiveOS RPM-GPG-KEY-CentOS-7
EFI images Packages RPM-GPG-KEY-CentOS-Testing-7
EULA isolinux repodata TRANS.TBL
I created a local repo:
vi /etc/yum.repos.d/redhat_cdrom.repo
add my below configuration in it:
[redhat_cdrom]
name=red hat cdrom yum source
baseurl=file:///mnt/cdrom/
gpgcheck=0
enable=1
but when I make cache the yum repo:
[root@localhost cdrom]# yum clean all
[root@localhost cdrom]# yum makecache
Loaded plugins: fastestmirror
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
centos
add a comment |
I my CentOS 7.2:
I mount my virtual cdrom (/dev/sr0
) on my /mnt/cdrom
:
I use mount
command check my mount list there has the information:
...
/dev/sr0 on /mnt/cdrom type iso9660 (ro,relatime)
...
But when I ls /mnt/cdrom
, there have the repo data in it:
[root@localhost cdrom]# ls
CentOS_BuildTag GPL LiveOS RPM-GPG-KEY-CentOS-7
EFI images Packages RPM-GPG-KEY-CentOS-Testing-7
EULA isolinux repodata TRANS.TBL
I created a local repo:
vi /etc/yum.repos.d/redhat_cdrom.repo
add my below configuration in it:
[redhat_cdrom]
name=red hat cdrom yum source
baseurl=file:///mnt/cdrom/
gpgcheck=0
enable=1
but when I make cache the yum repo:
[root@localhost cdrom]# yum clean all
[root@localhost cdrom]# yum makecache
Loaded plugins: fastestmirror
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
centos
Do you have an internet connection? You are getting this error because 'base/7/x86_64' repo is apparently configured to use a remote repository only accessible via the internet.
– fpmurphy
6 mins ago
add a comment |
I my CentOS 7.2:
I mount my virtual cdrom (/dev/sr0
) on my /mnt/cdrom
:
I use mount
command check my mount list there has the information:
...
/dev/sr0 on /mnt/cdrom type iso9660 (ro,relatime)
...
But when I ls /mnt/cdrom
, there have the repo data in it:
[root@localhost cdrom]# ls
CentOS_BuildTag GPL LiveOS RPM-GPG-KEY-CentOS-7
EFI images Packages RPM-GPG-KEY-CentOS-Testing-7
EULA isolinux repodata TRANS.TBL
I created a local repo:
vi /etc/yum.repos.d/redhat_cdrom.repo
add my below configuration in it:
[redhat_cdrom]
name=red hat cdrom yum source
baseurl=file:///mnt/cdrom/
gpgcheck=0
enable=1
but when I make cache the yum repo:
[root@localhost cdrom]# yum clean all
[root@localhost cdrom]# yum makecache
Loaded plugins: fastestmirror
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
centos
I my CentOS 7.2:
I mount my virtual cdrom (/dev/sr0
) on my /mnt/cdrom
:
I use mount
command check my mount list there has the information:
...
/dev/sr0 on /mnt/cdrom type iso9660 (ro,relatime)
...
But when I ls /mnt/cdrom
, there have the repo data in it:
[root@localhost cdrom]# ls
CentOS_BuildTag GPL LiveOS RPM-GPG-KEY-CentOS-7
EFI images Packages RPM-GPG-KEY-CentOS-Testing-7
EULA isolinux repodata TRANS.TBL
I created a local repo:
vi /etc/yum.repos.d/redhat_cdrom.repo
add my below configuration in it:
[redhat_cdrom]
name=red hat cdrom yum source
baseurl=file:///mnt/cdrom/
gpgcheck=0
enable=1
but when I make cache the yum repo:
[root@localhost cdrom]# yum clean all
[root@localhost cdrom]# yum makecache
Loaded plugins: fastestmirror
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
centos
centos
asked 29 mins ago
244boy244boy
1817 bronze badges
1817 bronze badges
Do you have an internet connection? You are getting this error because 'base/7/x86_64' repo is apparently configured to use a remote repository only accessible via the internet.
– fpmurphy
6 mins ago
add a comment |
Do you have an internet connection? You are getting this error because 'base/7/x86_64' repo is apparently configured to use a remote repository only accessible via the internet.
– fpmurphy
6 mins ago
Do you have an internet connection? You are getting this error because 'base/7/x86_64' repo is apparently configured to use a remote repository only accessible via the internet.
– fpmurphy
6 mins ago
Do you have an internet connection? You are getting this error because 'base/7/x86_64' repo is apparently configured to use a remote repository only accessible via the internet.
– fpmurphy
6 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f531590%2fthe-cdrom-repo-can-not-makecache%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f531590%2fthe-cdrom-repo-can-not-makecache%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Do you have an internet connection? You are getting this error because 'base/7/x86_64' repo is apparently configured to use a remote repository only accessible via the internet.
– fpmurphy
6 mins ago