i'm get error while updating repo this is my log
======================================================
Loaded plugins: fastestmirror
File contains no section headers.
file: file://///etc/yum.repos.d/CentOS-Base.repo, line: 1
'iii\n'
======================================================
please help !!!!
Hello
I try to install the epel repository so I can install ejabberd.
I do not have epel, it seems :
Code:
[root@serv src]# ls /etc/yum.repos.d/
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-fasttrack.repo CentOS-Media.repo CentOS-Vault.repo n2.repo
So I try to install epel :
Code:
[root@serv src]# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Preparing... ########################################### [100]
package epel-release-6-8.noarch is already installed
But when I try to install ejabberd :
Code:
[root@serv src]# yum install ejabberd
Loaded plugins: downloadonly, fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ftp.nluug.nl
* extras: ftp.nluug.nl
* updates: ftp.nluug.nl
No package ejabberd available.
Error: Nothing to do
Something is wrong with epel.
Hello again,
i need to understand once for all the syntax of files.repo.
When i need a repository i create under /etc/yum.repos.d/ the repository file
goofy.repo
with this syntax
[repository_name]
[goofy]
baseurl=ftp:///mydirectory/myrepodir
gpgcheck=0
---
Myrepodir contains all the *.rpm files i need
when i exit and save i get anytime this error
Code:
ftp:///mydirectory/myrepodir/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: repobase. Please verify its path and try again
What am i wrong for? How can i just say to my rhel/centos system
"Ehy, for rpm look inside /mydirectory/myrepo" ?
Thanks
When install phpmyadmin , I tried the below method but still can not install phpmyadmin , would advise what is wrong in my server , how can I install it ? thanks
#yum -y install phpmyadmin
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.uhost.hk
* extras: centos.uhost.hk
* updates: centos.uhost.hk
No package phpmyadmin available.
Error: Nothing to do
#yum provides '*/phpmyadmin'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.uhost.hk
* extras: centos.uhost.hk
* updates: centos.uhost.hk
updates/7/x86_64/filelists_db | 3.9 MB 00:00:00
No matches found
I am getting Following output after running installation of some packages.
it gives me such error
rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: BAD
What causing this ? i have downloaded the latest key from
http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 and check it, the key is fine under my system /etc/pki/rpm-gpg
Configuration files of respo are also fine under /etc/yum.rpos.d/CentOS-Base.repo
Kindly help
Hi all,
New to the forums, and new to Linux. Learning the best way I know how, and that's finding things to mess up and spending time to try to fix them. Tonight I decided to see what would happen if I deleted all of my repos from the yum.repos.d directory. Now, I can't seem to find out how to get the default repositories back, and can't find anything on Google. I'm on CentOS 6.5. How can I get the default repos back that came with the original installation? Thank you.
I am newly installed Redhat 7 , and try to yum package , but got the following error ,
I do not have paid for Redhat subscription , would advise if I want to yum package , I have to pay for Redhat ? if not , what can I do ? thanks
#yum install NetworkManager
the system is not registered to Redhat Subscription Management. you can use subscription-manager to register.
There are no enabled repos.
Run "yum repolist all" to see the repos you have
You can enable repos with yum-config-manager --enable <repo>
Hi Linux Enthusiast..
Here is what i want to do..
I am currently using RHEL6 and I want to use rpmfind.net's repository for the software installtions.
But I really got very confused when i came to configure *.repo file for it ( for rpmfind.net's repository).
Can anybody please tell me what the baseurl string(or value) shuild be used for it in *.repo file.
"yum update" command is not working.
IP information and relevant details below:
-------------------------------------------------------------------------
Here is the error message :
yum update
Loaded plugins: fastestmirror, langpacks
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
------------------------------------------------------------------------
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.8.95 netmask 255.255.252.0 broadcast 192.168.11.255
inet6 fe80::20c:29ff:fe4e:58d9 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:4e:58:d9 txqueuelen 1000 (Ethernet)
RX packets 3498 bytes 356084 (347.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1525 bytes 212794 (207.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 22 bytes 2004 (1.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22 bytes 2004 (1.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
---------------------------------------------------------------------------
Steps taken so far :
1. Change to google DNS -->
2. Edited the CentOS-Base.repo file -->
3. Restarted network services -->
Literally I had search all over the place, till now i could not fix the issue.
Appreciate if someone come forward and help me to rectify this issue.
I have the below URL
http://linoxide.com/ubuntu-how-to/awstats/
in this URL , it have the command "sudo a2enmod cgi" to check the cgi is installed or not , but when I run it , it pops "bash: a2enmod: command not found" , I tried to install it by yum install a2enmod" , but got the below message , would advise how to install it .
Code:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.uhost.hk
* epel: ftp.cuhk.edu.hk
* extras: centos.uhost.hk
* updates: centos.uhost.hk
No package a2enmod available.
Error: Nothing to do
Hi all.
RHEL 6.0 in Virtual Box, network is ok, it can resolve all repos (f.e. dl.fedoraproject.org, nginx.org),
but when I'm trying
Code:
# rpm -Uvh http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm
I get:
Code:
curl: (6) Couldn't resolve host
When I'm trying with ip instead name:
Code:
curl: (22) The requested URL returned error: 404
Only rpmforge repo enabled, but it can't find any packets for install/update.
What can I do?
Thanks.