12-20-2011
Yum.conf baseurl is not working.
Hi friends,
This is my /etc/yum.conf. I think my basurl and updateurl is not correct. When I am installing something, it is giving error.
Quote:
yum install python
Loading "security" plugin
http://mirror.dulug.duke.edu/pub/yum...ta/repomd.xml: [Errno 14] HTTP Error 502: Cannot Connect
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
My yum.conf file is this : Please help me.
Quote:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
#Lab proxy
proxy=http://proxy-abc-2.muktech.com:8080
# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h
# Default.
# installonly_limit = 3
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/5.2/i386/
[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/5.2/
Thanks,
Mukund
10 More Discussions You Might Find Interesting
1. AIX
I am trying to get the /etc/cronlog.conf working, but so far have not been able to.
I created the /etc/cronlog.conf file with the following entries.
logfile=/var/adm/cron/log
size=30k
rotate=2
compress
Then I kill the current cron daemon and check to make sure that it has respawned with... (4 Replies)
Discussion started by: chosie
4 Replies
2. Solaris
Hello Guys,
Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies
3. 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
4. UNIX for Dummies Questions & Answers
Hi there,
I am having a small issue with the mail function on our controllers. Recently we set up all the boxes as NFS slave servers and mail sending was not affected. We then had to change the servers addresses in resolv.conf and now email is being queued and not being sent.
I have restarted... (3 Replies)
Discussion started by: lodey
3 Replies
5. UNIX for Advanced & Expert Users
I have a SLES 11 install with yum also installed. yum works when I try to install single packages.
However, when i try the yum command: "yum grouplist" yum can not detect any groups.
Is there some way to "enable" or install a grouplist feature in SLES 11 ?
==== details ====
SUSE Linux... (0 Replies)
Discussion started by: toro95037
0 Replies
6. SuSE
Hello,
I have registered an SLES11SP1 server with my spacewalk server however when I perform a 'yum repolist', I do not see my spacewalk server as one of the available repositories. So when I perform yum update (any-package), it does not find an update available. HOwever within the Spacewalk GUI... (3 Replies)
Discussion started by: s ladd
3 Replies
7. 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
8. UNIX for Dummies Questions & Answers
1)check vsftpd service is running
service vsftpd status
2)mkdir -p /var/ftp/pub/Packages
Packages will contain all rpm packages
3)copy the xml file to Packages folder
#cp -arf /mnt/hgfs/share/RHEL_DVD/Packages /var/ftp/pub/Packages
4)install the 3 required rpm
rpm --nodeps -ivh... (0 Replies)
Discussion started by: joj123
0 Replies
9. Fedora
Hi,
while installing/updating package using yum I am getting (repomd.xml) error
# yum list
Loaded plugins: langpacks, presto, refresh-packagekit
http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml: HTTP Error 404 -... (12 Replies)
Discussion started by: muzaffar.k
12 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
yum-changelog
YUM-CHANGELOG(1) User Manuals YUM-CHANGELOG(1)
NAME
yum-changelog
SYNOPSIS
The yum-changelog package
DESCRIPTION
yum-changelog(1) is a Yum plugin for viewing package changelogs before/after updating. yum will invoke yum-changelog(1) plugin if the
--changelog option or the changelog command is used with yum.
OPTIONS
--changelog
Show changelog delta of updated packages
COMMANDS
changelog
Show changelog data of packages listed (same format as the list command). The first argument is required and is either "all" for
all the changelog entries, a date for the changelog entries since a specified point in time or a number for a given number of
changelog entries.
FILES
/etc/yum/pluginconf.d/changelog.conf
The system wide configuration file. See yum-changelog.conf(5) for more information.
EXAMPLES
# yum changelog 2008-Jan yum*
Listing changelogs since: 2008-01-18
yum-versionlock-1.1.11-1.fc8.noarch installed
* Wed Jan 30 17:00:00 2008 Tim Lauridsen <timlau@fedoraproject.org>
- mark as 1.1.11
changelog stats. 33 pkgs, 12 source pkgs, 1 changelog
# yum update ktechlab --changelog
Loading "changelog" plugin
Setting up Update Process
Setting up repositories
[..]
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ktechlab.i386 0:0.3-6 set to be updated
--> Running transaction check
Changes in packages about to be updated:
ktechlab - 0.3-6.i386
* Wed Nov 22 23:00:00 2006 Chitlesh Goorah - 0.3-6
- Rebuilt due to new gpsim-devel release
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.
AVAILABILITY
yum-changelog is available via:
# yum install yum-changelog
AUTHORS
Chitlesh Goorah <chitlesh@fedoraproject.org>
Panu Matilainen <pmatilai@laiskiainen.org>
James Antill <james@and.org>
SEE ALSO
yum(1)
08 February 2007 YUM-CHANGELOG(1)