yum repolist shows status 0
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am working on Oracle Linux. I am trying to create a local repository and install RPM packages from there using yum install. I created a local repository and added a .repo
file in the /etc/yum.repos.d/
directory. I run the following commands.
yum clean all
yum update
yum repolist
Why isn't it detecting the RPM package in the directory?
rpm repository oracle-linux
add a comment |Â
up vote
0
down vote
favorite
I am working on Oracle Linux. I am trying to create a local repository and install RPM packages from there using yum install. I created a local repository and added a .repo
file in the /etc/yum.repos.d/
directory. I run the following commands.
yum clean all
yum update
yum repolist
Why isn't it detecting the RPM package in the directory?
rpm repository oracle-linux
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am working on Oracle Linux. I am trying to create a local repository and install RPM packages from there using yum install. I created a local repository and added a .repo
file in the /etc/yum.repos.d/
directory. I run the following commands.
yum clean all
yum update
yum repolist
Why isn't it detecting the RPM package in the directory?
rpm repository oracle-linux
I am working on Oracle Linux. I am trying to create a local repository and install RPM packages from there using yum install. I created a local repository and added a .repo
file in the /etc/yum.repos.d/
directory. I run the following commands.
yum clean all
yum update
yum repolist
Why isn't it detecting the RPM package in the directory?
rpm repository oracle-linux
rpm repository oracle-linux
asked Sep 1 '16 at 12:18
Alchemist
2261414
2261414
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
accepted
I found a solution for the repolist
showing the status zero. Apparently, it is because of the rest of the .repo
files in the /etc/yum.repos.d/
directory. Just rename the files to an extension other than .repo
or move them to another directory leaving on the one you need behind. After that, run the following:
yum clean all
yum update
yum repolist
The status should now be fixed.
Here is another description for the same solution.
However, please be aware that doing this will remove those other repositories from your list and you won't be able to download packages from them. To use them again, simply put them back with the proper extension and they'll work fine.
You shouldn't rename the other repos - you should just do theyum clean
bit. Removing other repos will have undesirable side effects.
â John
Sep 1 '16 at 12:21
@John It didn't work that way. I tried. You're welcome to try.
â Alchemist
Sep 1 '16 at 12:21
in this folders /etc/yum/ when run : 'ls' command the results : protected.d repos.d vars version-groups.conf yum.conf yum-daily.yum yum-weekly.yum what about this? in debian
â saber tabatabaee yazdi
Dec 12 '17 at 15:49
1
@sabertabatabaeeyazdi It looks like its a different directory you mentioned. The one you should be looking for is /etc/yum.repos.d/
â Alchemist
Dec 13 '17 at 8:56
add a comment |Â
up vote
-1
down vote
I have the same problem on Cento 7. When I try to add an new repo ...
The command yum repolist
show zero status for all the latest repo ..
I don't know what, exactly, the problem is, but I think that the system needs specific time to check and update the repolist database
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
I found a solution for the repolist
showing the status zero. Apparently, it is because of the rest of the .repo
files in the /etc/yum.repos.d/
directory. Just rename the files to an extension other than .repo
or move them to another directory leaving on the one you need behind. After that, run the following:
yum clean all
yum update
yum repolist
The status should now be fixed.
Here is another description for the same solution.
However, please be aware that doing this will remove those other repositories from your list and you won't be able to download packages from them. To use them again, simply put them back with the proper extension and they'll work fine.
You shouldn't rename the other repos - you should just do theyum clean
bit. Removing other repos will have undesirable side effects.
â John
Sep 1 '16 at 12:21
@John It didn't work that way. I tried. You're welcome to try.
â Alchemist
Sep 1 '16 at 12:21
in this folders /etc/yum/ when run : 'ls' command the results : protected.d repos.d vars version-groups.conf yum.conf yum-daily.yum yum-weekly.yum what about this? in debian
â saber tabatabaee yazdi
Dec 12 '17 at 15:49
1
@sabertabatabaeeyazdi It looks like its a different directory you mentioned. The one you should be looking for is /etc/yum.repos.d/
â Alchemist
Dec 13 '17 at 8:56
add a comment |Â
up vote
0
down vote
accepted
I found a solution for the repolist
showing the status zero. Apparently, it is because of the rest of the .repo
files in the /etc/yum.repos.d/
directory. Just rename the files to an extension other than .repo
or move them to another directory leaving on the one you need behind. After that, run the following:
yum clean all
yum update
yum repolist
The status should now be fixed.
Here is another description for the same solution.
However, please be aware that doing this will remove those other repositories from your list and you won't be able to download packages from them. To use them again, simply put them back with the proper extension and they'll work fine.
You shouldn't rename the other repos - you should just do theyum clean
bit. Removing other repos will have undesirable side effects.
â John
Sep 1 '16 at 12:21
@John It didn't work that way. I tried. You're welcome to try.
â Alchemist
Sep 1 '16 at 12:21
in this folders /etc/yum/ when run : 'ls' command the results : protected.d repos.d vars version-groups.conf yum.conf yum-daily.yum yum-weekly.yum what about this? in debian
â saber tabatabaee yazdi
Dec 12 '17 at 15:49
1
@sabertabatabaeeyazdi It looks like its a different directory you mentioned. The one you should be looking for is /etc/yum.repos.d/
â Alchemist
Dec 13 '17 at 8:56
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I found a solution for the repolist
showing the status zero. Apparently, it is because of the rest of the .repo
files in the /etc/yum.repos.d/
directory. Just rename the files to an extension other than .repo
or move them to another directory leaving on the one you need behind. After that, run the following:
yum clean all
yum update
yum repolist
The status should now be fixed.
Here is another description for the same solution.
However, please be aware that doing this will remove those other repositories from your list and you won't be able to download packages from them. To use them again, simply put them back with the proper extension and they'll work fine.
I found a solution for the repolist
showing the status zero. Apparently, it is because of the rest of the .repo
files in the /etc/yum.repos.d/
directory. Just rename the files to an extension other than .repo
or move them to another directory leaving on the one you need behind. After that, run the following:
yum clean all
yum update
yum repolist
The status should now be fixed.
Here is another description for the same solution.
However, please be aware that doing this will remove those other repositories from your list and you won't be able to download packages from them. To use them again, simply put them back with the proper extension and they'll work fine.
edited Sep 1 '16 at 12:33
answered Sep 1 '16 at 12:18
Alchemist
2261414
2261414
You shouldn't rename the other repos - you should just do theyum clean
bit. Removing other repos will have undesirable side effects.
â John
Sep 1 '16 at 12:21
@John It didn't work that way. I tried. You're welcome to try.
â Alchemist
Sep 1 '16 at 12:21
in this folders /etc/yum/ when run : 'ls' command the results : protected.d repos.d vars version-groups.conf yum.conf yum-daily.yum yum-weekly.yum what about this? in debian
â saber tabatabaee yazdi
Dec 12 '17 at 15:49
1
@sabertabatabaeeyazdi It looks like its a different directory you mentioned. The one you should be looking for is /etc/yum.repos.d/
â Alchemist
Dec 13 '17 at 8:56
add a comment |Â
You shouldn't rename the other repos - you should just do theyum clean
bit. Removing other repos will have undesirable side effects.
â John
Sep 1 '16 at 12:21
@John It didn't work that way. I tried. You're welcome to try.
â Alchemist
Sep 1 '16 at 12:21
in this folders /etc/yum/ when run : 'ls' command the results : protected.d repos.d vars version-groups.conf yum.conf yum-daily.yum yum-weekly.yum what about this? in debian
â saber tabatabaee yazdi
Dec 12 '17 at 15:49
1
@sabertabatabaeeyazdi It looks like its a different directory you mentioned. The one you should be looking for is /etc/yum.repos.d/
â Alchemist
Dec 13 '17 at 8:56
You shouldn't rename the other repos - you should just do the
yum clean
bit. Removing other repos will have undesirable side effects.â John
Sep 1 '16 at 12:21
You shouldn't rename the other repos - you should just do the
yum clean
bit. Removing other repos will have undesirable side effects.â John
Sep 1 '16 at 12:21
@John It didn't work that way. I tried. You're welcome to try.
â Alchemist
Sep 1 '16 at 12:21
@John It didn't work that way. I tried. You're welcome to try.
â Alchemist
Sep 1 '16 at 12:21
in this folders /etc/yum/ when run : 'ls' command the results : protected.d repos.d vars version-groups.conf yum.conf yum-daily.yum yum-weekly.yum what about this? in debian
â saber tabatabaee yazdi
Dec 12 '17 at 15:49
in this folders /etc/yum/ when run : 'ls' command the results : protected.d repos.d vars version-groups.conf yum.conf yum-daily.yum yum-weekly.yum what about this? in debian
â saber tabatabaee yazdi
Dec 12 '17 at 15:49
1
1
@sabertabatabaeeyazdi It looks like its a different directory you mentioned. The one you should be looking for is /etc/yum.repos.d/
â Alchemist
Dec 13 '17 at 8:56
@sabertabatabaeeyazdi It looks like its a different directory you mentioned. The one you should be looking for is /etc/yum.repos.d/
â Alchemist
Dec 13 '17 at 8:56
add a comment |Â
up vote
-1
down vote
I have the same problem on Cento 7. When I try to add an new repo ...
The command yum repolist
show zero status for all the latest repo ..
I don't know what, exactly, the problem is, but I think that the system needs specific time to check and update the repolist database
add a comment |Â
up vote
-1
down vote
I have the same problem on Cento 7. When I try to add an new repo ...
The command yum repolist
show zero status for all the latest repo ..
I don't know what, exactly, the problem is, but I think that the system needs specific time to check and update the repolist database
add a comment |Â
up vote
-1
down vote
up vote
-1
down vote
I have the same problem on Cento 7. When I try to add an new repo ...
The command yum repolist
show zero status for all the latest repo ..
I don't know what, exactly, the problem is, but I think that the system needs specific time to check and update the repolist database
I have the same problem on Cento 7. When I try to add an new repo ...
The command yum repolist
show zero status for all the latest repo ..
I don't know what, exactly, the problem is, but I think that the system needs specific time to check and update the repolist database
edited Sep 27 at 23:14
Goro
6,67552865
6,67552865
answered Sep 27 at 22:43
Abdelmoumen Drici
11
11
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f307213%2fyum-repolist-shows-status-0%23new-answer', 'question_page');
);
Post as a guest
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
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
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