09-21-2012
Yum error
Hi,
I have configure local yum repository in my red hat linux on vmware. Below are the steps i followed
1. mkdir -p /root/install/RPMS
2. Copy all the software/packages RPMS from instillation CD/DVD to /root/install/RPMS directory
3. rpm -ivh createrepo-0.4.11-3.el5.rpm
4. createrepo /root/install/RPMS
5. Create a new file in /etc/yum.repo.d/file.repo
[local repo]
name= OS $release
baseurl=file://root/install/RPMS/
enabled=1
gpgcheck=0
6. Save the file
While trying to install any package using the command yum install mysql
I am getting the below error
[root@localhost RPMS]# yum install nautilus
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, keys, kmod, list-data, protect-packages, protectbase,
: rhnplugin, security, tmprepo, verify, versionlock
Bad id for repo: local repo, byte = 5
This system is not registered with RHN.
RHN support will be disabled.
Loading mirror speeds from cached hostfile
Setting up Install Process
Nothing to do
Also while trying to perform yum clean all i get below output
[root@localhost RPMS]# yum clean all
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, keys, kmod, list-data, protect-packages, protectbase,
: rhnplugin, security, tmprepo, verify, versionlock
Bad id for repo: local repo, byte = 5
Cleaning up Everything
Cleaning up list of fastest mirrors
Thanks
Chetan
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does.
Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies
2. Linux
Dear all,
I am working on Centos 6 (2.6.32-71.29.1.el6.x86_64).
After removing openldap (openldap-2.4.19-15.el6.x86_64), i can not perform command yum (or /usr/bin/yum).
*Here is error:
# yum search anypackage
There was a problem importing one of the Python modules
required to run yum.... (1 Reply)
Discussion started by: all4cfa
1 Replies
3. Red Hat
i have install fresh redhat ent 6.1 and i have configure yum server with ftp but am get this error
error 14] PYCURL ERROR 9 - "Server denied you to change to the given directory"
i have checked every thing (3 Replies)
Discussion started by: drpix
3 Replies
4. UNIX for Dummies Questions & Answers
Hi there
/root #yum localinstall sg3_utils
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Local Package Process
Skipping: sg3_utils, filename does not end in .rpm.
Nothing to do
/root #
above is the error
/root... (6 Replies)
Discussion started by: heman96
6 Replies
5. Red Hat
Dear concern,
I want to configure a yum client node. Yum configuration file (/etc/yum.repos.d/) is given below:
# cat server.repo
name=rhel6
baseurl=ftp://192.168.225.3/pub/Packages/
enabled=1
gpgcheck=0
We got following error message while executing yum list command.
# yum clean... (1 Reply)
Discussion started by: makauser
1 Replies
6. Red Hat
In my RHEL 5.3, i686 server, I am facing the following error, whenever I am using any yum command -
"up2date_client.up2dateErrors.SSLCertificateVerifyFailedError: The certificate is expired. Please ensure you have the correct certificate and your system time is correct."
Please help (2 Replies)
Discussion started by: atanubanerji
2 Replies
7. Red Hat
Hello!!!
I am so frustrated I'm about to snap!!!
I cant hear any sound in Firefox or re-install Chrome.
Every time I try to do anything with YUM inside my terminal (like update or install) I keep getting this error:failure: repodata/repomd.xml from virtualbox: No more mirrors to try.
I... (2 Replies)
Discussion started by: ApacheOmega
2 Replies
8. Linux
I'm trying to install mysql-connector-odbc using yum.
It gives me this error.
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
... (2 Replies)
Discussion started by: adi.6194
2 Replies
9. Fedora
Hello,
I issued # yum update and received below error. Any idea?
# yum update
Loaded plugins: fastestmirror, universal-hooks
Setting up Update Process
Loading mirror speeds from cached hostfile
* cpanel-addons-production-feed: 204.10.37.146
* base: mirrors.oit.uci.edu
* extras:... (3 Replies)
Discussion started by: feroccimx
3 Replies
10. UNIX for Beginners Questions & Answers
I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal.
I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
LEARN ABOUT CENTOS
repo-rss
repo-rss(1) repo-rss(1)
NAME
repo-rss - generates an RSS feed from one or more Yum repositories
SYNOPSIS
repo-rss [options] repoid1 [repoid2...]
DESCRIPTION
repo-rss is a program for generating RSS feeds for one or more Yum repositories.
GENERAL OPTIONS
-h, --help
Help; display a help message and then quit.
-f <file>
Specify the file to which the RSS will be written. Default is repo-rss.xml.
-l <link>
Specify the URL to the RSS feed. Default is http://yum.baseurl.org/.
-t <title>
Specify the title for the RSS feed. Default is "RSS Repository - Recent Packages".
-d <description>
Specify the description of the RSS feed. Default is "Most recent packages in Repositories".
-r <days>
Specify the number of days to consider most recent. Default is 3.
--tempcache
Enable the use of a temporary directory for the yum cache. This is enabled by default for non-root users.
EXAMPLES
Generate an RSS for the updates-released repository and save it as updates-release.xml:
repo-rss -f updates-released.xml updates-released
FILES
As repo-rss uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which reposi-
tories to use. Consult YUM documentation for details:
/etc/yum.conf
/etc/yum/repos.d/
/var/cache/yum/
SEE ALSO
yum.conf (5)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
Seth Vidal 2005 repo-rss(1)