Displaying 20 results from an estimated 27 matches for "distroverpkg".
2008 Jan 04
1
5.1 yum: distroverpkg=redhat-release ignored?
Hi,
is this the right behaviour of yum?
yum.conf has:
distroverpkg=redhat-release
But yum obviously uses centos-release to find out the distro version.
So is yum patched to do this?
Thx
Rainer
2005 Jul 20
4
Yum/rpm error (rpmdb versioning issue?)
...5, in parseCmdArgs
conf=yumconf(configfile=yumconffile)
File "/usr/share/yum/config.py", line 155, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/yum/config.py", line 285, in _getsysver
idx = ts.dbMatch('provides', self.distroverpkg)
TypeError: rpmdb open failed
Trying to rebuild the rpm database results in a similar error. Any
suggestions would be greatly appreciated as this is a remote system that
isn't easy for me to get physical access to. 8-(
Cheers,
Chris
2007 Dec 11
8
After 5.1 update $releasever is still 5
I have performed the 5.1 update via the 5 repo on a couple of systems.
I then went to switch these systems to my new local repo using ther
$releasever variable. It still has the value of 5, not 5.1
Where is this set? Why was it not changed to 5.1?
On the one clean install from the 5.1 isos, $releasever is at 5.1 I think.
2006 Sep 21
1
Using yum variable $releasever reports 1
...originally was a RedHat 8 server. Then I
upgraded to RedHat 9, then Tao Linux 1 and last to CentOS 3 when tao was
discontinued. Yes I know that this was probably not the smartest thing in
the world but now this is the case and I don't want to reinstall it.
Now the question. In yum.conf I have distroverpkg=redhat-release and cat
/etc/redhat-release gives:
CentOS release 3.7 (Final)
But when I run yum update the release reported back is 1.0
yum update
Gathering header information file(s) from server(s)
Server: CentOS-1.0 - Addons
Server: CentOS-1.0 - Base
Until now I have manually changed yum.conf...
2008 Apr 19
3
What is wrong with yum?
Hello,
in my CentOS-Base.repo file there is a line
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch
and yum update said 'nothing to do'. Then I change this line to
baseurl=http://mirror.centos.org/centos/5.1/updates/i386 and yum
updates firefox, squid, sos and so on. That happens on two of my
computers, reproducible.
Does yum sometimes forget it's release
2005 Apr 13
2
yum update issue
...when trying to update a machine:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
public key not available for rsync-2.6.4-1.2.el4.rf.i386.rpm
This brings yum to a halt. Here is my yum.conf:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
logfile = /var/log/yum.log
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch...
2006 Aug 09
3
Building a live CD and live PXE
I have updated my instructions on how to roll your own CentOS-4 Live CD.
I also made a script which does it all for you. I have also got
instructions on how to turn the Live CD into a PXE bootable Live version.
All the details can be found here:
http://www.byteclub.net/wiki/CentOS_Live
John.
--
John Newbigin
Computer Systems Officer
Faculty of Information and Communication Technologies
2006 Aug 30
2
Yum updates packages for other arch too
...5.1 M
.
.
.
dmraid i386 1.0.0.rc11-3_RHEL4_U4 base 396 k
and the list continues. This ends with an bunch of unresolved dependencies.
#################################
My yum.conf:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=centos-release
tolerant=1
#exclude=kernel*
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
############################
and here the CentOS-Base.repo:
#############################################################
[bas...
2005 Feb 15
6
no kernel upgrade on 3.3
I have 2 servers:
On both, I did yum update.
One upgraded the kernel, the other didn't.
Why?
TIA,
Dave Augustus
2009 Apr 25
1
Problems eith yum (wrong releasever)
After installing clean Centos 5.3 and updating with "yum update" yum starts
to fail. I get the following error message
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. 7 is not a valid release or hasnt been released yet/
removing mirrorlist with no valid mirrors:
//var/cache/yum/base/mirrorlist.txt
It looks like the $releasever variable has value 7. Why does
2006 Aug 31
0
no yum update problems
...I need bug or security wise.
Also, it is a good idea to make wise use of your yum.conf and specifically
the exclude= area (see below yum.conf file listing)
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
exclude=clam* exim perl* postfix sendmail spamassassin
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
- rh
--
Robert - Abba Communications
Computer & Internet Services
(509) 624-7159 - www.abbacomm.net
2008 Feb 15
0
No installed updated kernels via yum
...l-2.6.18-53.1.13.el5.i686.rpm gives "nothing to do". Yum runs daily
via cron. Last kernel installed in /boot via yum is:
Sep 27 16:38 vmlinuz-2.6.18-8.1.14.el5
/etc/yum.conf contains:
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
/etc/yum.repos.d/CentOS-Base.repo contains:
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?...
2005 Jul 14
2
Upgrading from RH AS-3 to ??
Hi!
I'm trying to upgrade my Redhat 3AS server, but I'm encountering
problems.
The first problem was, I didn't know what repository to use.
I settled on http://mirror.centos.org/, but using it is strange, as
not all mirror servers have all of the directories, and so sometimes
links appear broken, but the problem goes away if I hit reload.
A number of them have empty directories,
2005 Jan 18
1
I'm gonna kill Yum AND Outlook
...E899A92 2004-03-15 [expires: 2009-03-14]
I've also deleted the keys, deleted /var/cache/yum ... I don't know
what else to do
My yum.conf:
[main]
exclude=httpd* mysql* php* perl* mod_* mod_ssl* spamassassin*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise
kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hugemem-
unsupported
tolerant=1
exactarch=1
[base]
name=CentOS-$releasever - Base
baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/
gpg...
2012 Jun 23
3
Upgrading from 5.7 to 5.8
My box did upgrade itself automatically from the
initial 5.5 DVD installation to 5.7
How can I tell if my box has been automatically upgraded
from 5.7 to 5.8 please?
I see the CentOS-CR.repo is still in my /etc/yum.repos.d/
directory. Is that repo responsible for doing the automatic
upgrades for Centos 5.x?
Kind Regards,
Keith Roberts
2005 Jul 07
1
Yum Update issues
I get this when i try to yum update:
http://mirror.centos.org/centos/4/updates/i386/repodata/primary.xml.gz:
[Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from update: [Errno 256]
No more mirrors to try.
I have done yum clean all with no joy. I have two servers with
CentOS-4.1 and both are exhibiting htis issue. I have not made
2005 May 19
3
Timezone Configuration
Greetings All,
How to does one go about reconfiguring centos's time zone
configuration (to the eastern time zone (us)), via the command line?
I have tested other GNU/Linux distribution's documentation, tools,
files and relevant details with centos and have thus far been unable
to find a compatible solution.
My apologies if my question is very simple, I have done a fair amount
of
2010 Jul 22
3
File /etc/yum.conf does not contain a main section
...oftware_base/Yumrepo[Livegamer-Software-Base])
Could not evaluate: File /etc/yum.conf does not contain a main section
However, my /etc/yum.conf contains this. What''s wrong with that? Is
puppet smoking crack?
[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
# Note: yum-RHN-plugin doesn''t honor this.
metadata_expire=1h
installonly_limit = 5
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Doug.
--
You received this message because you a...
2007 Feb 15
0
yum does not update x86_64
...64
sqlite-3.3.3-1.2.x86_64
up2date-4.4.69-25.centos4.7.x86_64
rhn-applet-2.1.25-22.centos4.x86_64
glibc-2.3.4-2.25.x86_64
glibc-2.3.4-2.25.i686
rpm-4.3.3-18_nonptl.x86_64
-------------
/etc/yum.conf
-------------
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
---------------------------------
/etc/yum.repos.d/CentOS-Base.repo
---------------------------------
[base]
name=CentOS-$releasever - Base
base...
2005 Jan 18
6
I'm gonna kill YUM (mailing list version ;-) )
...E899A92 2004-03-15 [expires: 2009-03-14]
I've also deleted the keys, deleted /var/cache/yum ... I don't know what
else to do
My yum.conf:
[main]
exclude=httpd* mysql* php* perl* mod_* mod_ssl* spamassassin*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise
kernel-debug kernel-unsupported kernel-smp-unsupported
kernel-hugemem-unsupported
tolerant=1
exactarch=1
[base]
name=CentOS-$releasever - Base
baseurl=http://acmserver.cs.ucr.edu/centos/centos/3.4/os/$basearch/
gpgch...