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.
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
Hello Experts,
I would like to create a server which can act as a YUM repository of Oracle Linux 6.5 and CentOS 6.5. Also I would like other servers to access this repo via http. I am stucked here to understand how I can bring all "RPMs" in to "/repo/OracleLinux/OEL6/current/x86_64" and always keep it updated. I would appreciate any help on this.
Thanks In Advance
"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.
Hello I am a newbie to this forum and Linux. Thank you ahead of time for your advice, constructive criticism and sharing.
Fedora 15
I enter following command> yum install-gnome-tweak-tool
The result is >cannot retrieve repository metadata (repomd.xml) for repository: fedora. please verify its path and try again.
I dont know how to get to the repo to fix it. In the files i need to remove an s from HTTPSS... We did it in class but i want to learn for myself.
I pull a repository from a person and I want to push to my own repository because something change and I want to use different gitignore file. How can I do it? Thanks, and I want to use github and bitbucket both. Then is it possible. Thanks.
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.
Hi.
I am completely new in Linux and I'm trying to learn as much as I can while doing my job.
I am following directions from a wi-fi card vendor. In it, they require to download Fedora 13 to the laptop, which I have already done so. uname -a displays:
Linux localhost.localdomain 2.6.33.3-85.fc13.i868.PAE #1.
The directions ask to update the kernel with "yum install kernel-PAE". While connected to the internet, when I type that, the following error comes up:
Loaded plugin : presto, refresh-packagekit
Error: cannot retrieve repository metadata (repomd.xml) for repository: fedora
Please verify its path and try again
What does it mean and what file do I need to update with the right path? Please, let me know what other information you need.
Thank you very much
i decided to post this as a new thread seeing how it's a recurring problem for me, and i still haven't found good recursive software to download dependancies from a website when some of the packages aren't in the repos or my linux doesn't have the correct repos in the sources file.
i used dpkg -i and it did not work. i know i can install this with recursion software, however the trend is heading toward arch with linux, so distro agnostic linuxes and parent distros which install tarballs and compile without many bugs automatically are what all linux developers should be supporting first and foremost.
this brings me to my question, there are a lot of applications and dependancies not included in repositories, and not included in your current aptitude (or whatever automated dependancy program you prefer to use to download packages) unless you modify the repo source file, so sources.list or whatever for debian. why do forum answers simply refer newbies and half newbies to using commands with bugs, instead of considering the repository doesn't have the neccessary packages, or that the user needs to add the websites to the sources in their distro before using automated package grabber commands/software? it's quite possible the person who posted the package did not submit it to the linux repo, or has not submitted it yet. some devs are too lazy to put any of their software in any repo.
there are websites like github which seem to be attempting to correct this problem, but it still begs the question, what is good recursion software or a recursive command which works and downloads the dependancies when not in the repositories with the least amount of bugs? theroetically it would be easier to use gui software which has innate recursion and copy and paste the web address of the binary, rather than modify the source file every time you want to download a package with missing dependances.
here was an example of my output downloading a current wheezy kernel in order to make a custom debian image
root@Leck1p2l:/home/leck# gdebi /home/leck/Downloads/kernel-package_12.036+nmu3_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
This package is uninstallable
Dependency is not satisfiable: po-debconf
Hello
I am working on Red Hat 6.4 Enterprise Server.Here commands systemctl and systemd are not working.Error comes command not found.I am using service command in place of systemctl to start,stop,enable and disable service etc.
example service httpd start
Also I am not able to install any software or package by using yum command.Whenever I try to install a package through yum the below error comes
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository 'repository_url': Error parsing config: Error parsing "baseurl = 'repository_url'": URL must be http, ftp, file or https not ""
Setting up Install Process
Nothing to do
Please advice some other commands or what to do.Regards Najam