Hi, I've been trying to install something from marketplace since last evening, and it's just not working. I keep getting the following error:
Exception: Cannot find a valid baseurl for repo: clearos/7
I did some searching through the forms for this same issue and there are a few posts about running this command:
ps aux | grep yum
Here are the results:
root 4477 0.0 0.0 245972 4700 ? S 08:51 0:00 /usr/bin/sudo LANG=en_US /usr/bin/yum-config-manager
root 4478 2.1 0.2 361292 27828 ? S 08:51 0:00 /usr/bin/python -tt /usr/bin/yum-config-manager
shawnssh 4491 0.0 0.0 112812 980 pts/0 S+ 08:52 0:00 grep --color=auto yum
I then trying running "killall yum" per the suggestions in those other posts, and I get the error yum: no process found
I've also tried rebooting the router as well, and it's just not working. I need to get this fixed please.
Exception: Cannot find a valid baseurl for repo: clearos/7
I did some searching through the forms for this same issue and there are a few posts about running this command:
ps aux | grep yum
Here are the results:
root 4477 0.0 0.0 245972 4700 ? S 08:51 0:00 /usr/bin/sudo LANG=en_US /usr/bin/yum-config-manager
root 4478 2.1 0.2 361292 27828 ? S 08:51 0:00 /usr/bin/python -tt /usr/bin/yum-config-manager
shawnssh 4491 0.0 0.0 112812 980 pts/0 S+ 08:52 0:00 grep --color=auto yum
I then trying running "killall yum" per the suggestions in those other posts, and I get the error yum: no process found
I've also tried rebooting the router as well, and it's just not working. I need to get this fixed please.
Share this post:
Responses (3)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Hello,
i did have the same problem, this is what worked for me:
The problem seems to be that yum can not retrieve the mirrorlist for the repository.
http://mirrorlist.clearos.com seems to be unavailable.
So i went ahead and modified the repo file /etc/yum.repos.d/clearos.repo to use the baseurl and not the mirrorlist
by commenting out the mirrorlist (#) and activating the baseurl (remove #) for all contained repos
[clearos]
name=ClearOS $releasever - $basearch - OS
baseurl=http://mirror.clearos.com/clearos/$releasever/os/$basearch/
#mirrorlist=http://mirrorlist.clearos.com/clearos/mirrorlist/clearos-current-os-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ClearOS-$releasever
http_caching = packages
skip_if_unavailable = 1
keepcache = 0
Since i also got the error that the *paid repos could not be found and i did not find where they were defined, to disable them i created a workaround for that too.
I created a new file /etc/yum.repos.d/paid.repo
with the following content:
[clearos-contribs-paid]
name=clearos-contribs-paid - $basearch - Plus
baseurl=http://download1.clearsdn.com/centos/7.9.2009/centosplus/$basearch
http://download2.clearsdn.com/centos/7.9.2009/centosplus/$basearch
http://download3.clearsdn.com/centos/7.9.2009/centosplus/$basearch
http://download4.clearsdn.com/centos/7.9.2009/centosplus/$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[clearos-paid]
name=clearos-paid - $basearch - Plus
baseurl=http://download1.clearsdn.com/centos/7.9.2009/centosplus/$basearch
http://download2.clearsdn.com/centos/7.9.2009/centosplus/$basearch
http://download3.clearsdn.com/centos/7.9.2009/centosplus/$basearch
http://download4.clearsdn.com/centos/7.9.2009/centosplus/$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
this will disable the missing *paid repos and the marketplace and repolist will work again.
cheers
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »