View Full Version : yum
ieuuk
17th October 2004, 10:15 AM
hi, i decided to use the new yum in test 3 but i find that its a bit stupid.
i keep having to run yum update to get it to do anything... first it downloaded the headers and finished, then it downloaded the rpms, ran the test transaction, and then finished and i had to run yum update again to get it to start installing them?
is this a new feature or are other people having this problem?
superbnerd
17th October 2004, 10:21 AM
I was just doing the a yum update and noticed the same problem. Please post you yum.conf.
ieuuk
17th October 2004, 10:57 AM
yum appears to be one quick way to killing your system.
anyway... my yum conf is
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
#[base]
#name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
#[updates-released]
#name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc$releasever
[development]
name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide
basically its just the standard yum.conf
superbnerd
17th October 2004, 11:00 AM
What do you mean "killing your system"?
LordMorgul
17th October 2004, 11:51 AM
First things first.. always update yum itself before you update anything else, yum has had several bugs that caused real breakage since test3 released.
Next, of course that is a slow, and basically broken config, it is still using the primary Redhat server. This makes sense when you consider how overworked the poor thing is. Here is a starting point for how to configure more servers, but it would be good to go to the mirrors page and grab urls for the servers that are closest to you.
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obseletes=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[development]
name=Fedora Core $releasever - Development Tree
failover=priority
baseurl=
ftp://mirrors.kernel.org/fedora/core/development/$basearch/
ftp://mirror.stanford.edu/pub/mirrors/fedora/linux/core/development/$basearch/
ftp://mirrors.cat.pdx.edu/linux/core/development/$basearch/
ftp://limestone.uoregon.edu/fedora/development/$basearch/
ftp://mirror.linux.duke.edu/pub/fedora/linux/core/development/$basearch/
ftp://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/development/$basearch/
http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/development/$basearch/
http://mirror.hiwaay.net/redhat/fedora/linux/core/development/$basearch/
http://rpmfind.net/linux/fedora/core/development/$basearch/
http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
It may be that you have to continue running the program because of timeouts.. just make sure that isn't the problem you're seeing.
ieuuk
17th October 2004, 02:45 PM
none of mine really appears to work anymore, the new kernal doesnt work anymore but using the older one i can get in but i dont appear to have any open office applications anymore but i need some more time to play with it and to see what problems there really are.
LordMorgul
18th October 2004, 09:02 AM
none of mine really appears to work anymore, the new kernal doesnt work anymore but using the older one i can get in
Do not use the -1.624 kernel for anything requiring network connections, it is severly flawed (due to inclusion of a new kernel config option) and the next released version will correct it, in the mean time that kernel is nearly useless.
*flawed due to a patch that will be removed*
jale2ice
18th October 2004, 09:11 AM
Do not use the -1.624 kernel for anything requiring network connections, it is severly flawed (due to inclusion of a new kernel config option) and the next released version will correct it, in the mean time that kernel is nearly useless.
What do you mean by network connections?
That's the kernel I'm using now... (No issues so far!)
Finalzone
18th October 2004, 10:11 AM
I upgrade from FC2 to FC3T3 to see the preview about the incoming FC3. I have noticed new change from yum like the new file.repo where you can insert third parties repositories. The upgrade was succesful but I have a new problem. I got a blank screen after the initial boot. I suspected that it has to do with the new udev. Unfortunately, I am unable to use Rescue disk nor using text mode to figure out.
ieuuk
18th October 2004, 04:00 PM
Do not use the -1.624 kernel for anything requiring network connections, it is severly flawed (due to inclusion of a new kernel config option) and the next released version will correct it, in the mean time that kernel is nearly useless.
yeah - ive already found out that one... but even under the old kernel it seems a bit dodgy now, think im going to reinstall test3 at some point and try again.
ravalox
18th October 2004, 04:32 PM
My issue with yum is that it frequently will bomb out during an install and I'll have to start it again. I will try to update yum though, I should have thought of that. But did not.
superbnerd
18th October 2004, 09:12 PM
Up2date seems to work now, so you should use that to at least update yum.
LordMorgul
19th October 2004, 09:12 AM
What do you mean by network connections?
That's the kernel I'm using now... (No issues so far!)
> Looks like its a kernel-624 issue. lftp behaves correctly on booting
> back to kernel-610.
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135905
More fallout from the O_NONBLOCK kernel patch it seems.
> So at this point I should *not* try the 624 kernel if I need Evolution
> to stay alive?
yes.
There are more, and in bugzilla. The issue was caused by a kernel patch changing file open behavior (I think).. changing O_NONBLOCK. Search that term for more on it, I just know its broken. :-) Actually, its wider spread than network, but many apps that talk across the network were reported broken only on that kernel.
jale2ice
19th October 2004, 05:21 PM
I was using that kernel since it's release and I just felt the pain...
Yum is busted & evolution is too...
jale2ice
20th October 2004, 11:10 PM
New devel kernel released and yum... back to normal. Thank developers!
theBlackDragon
24th October 2004, 10:50 AM
I also have a problem with yum, though it might not be related...
I run yum update and it starts to download headers, but it does so very slowly, it downloads 1-5 headers and then stalls for between 1 and 5 minutes, downloads another 1 to 5 headers, stalls, etc, etc. This way I'll never get this thing updated before FC3 final is out :(
I already tried using different mirrors, but apparently it's not a mirror prloblem at all, because when I select only one package (with very few dependencies that have to be upgraded) it just fetches everything bleeding fast...
As a sidenote, I have already upgraded to the latest yum available at this moment, to no avail.
Any help would be greatly appreciated...
ieuuk
24th October 2004, 11:45 AM
try updating yum first
yum update yum
theBlackDragon
24th October 2004, 11:48 AM
try updating yum first
yum update yum
I already did, to no avail... :(
up2date works way faster on this machine, whereas yum ought to be faster than up2date...
ieuuk
24th October 2004, 11:54 AM
hmmmm - im lost now then
me2
24th October 2004, 04:09 PM
What is the version of the latest kernel ?
Run tops and check that you don't have a deviant sound process stealing all your cpu cycles.
ieuuk
24th October 2004, 04:57 PM
when i updated yum it appeared to fix the problem that i was having... only thing ive changed is the yum.conf which i use
theBlackDragon
24th October 2004, 08:40 PM
What is the version of the latest kernel ?
Run tops and check that you don't have a deviant sound process stealing all your cpu cycles.
The kernel is 2.6.8-1.541, nothing's taking an extraordinary amount of cpu cycles...
I thought I updated to .640 but apparently I forgot to update my grub.conf, so I fixed that and now the pc hangs after "Initializing swap space [OK]" I probably forgot to update some critical package by running "yum update kernel" So I'm going to try to update everything with up-to-date and hope that everything will be fixed afterwards...
LordMorgul
25th October 2004, 05:41 AM
You definitely need to update yum before it will perform well, there are recent changes that include handling timeouts from servers. Go to a rawhide mirror with your browser and grab it for a manual rpm install (or use rpm -U <url>). This is really all I could suggest since you haven't shared what version of yum you're having problems with.. it is crucial to include that detail when talking about broken beta software. Get yum-2.1.10-1 or newer.
ftp://mirror.stanford.edu/pub/mirrors/fedora/linux/core/development/
theBlackDragon
25th October 2004, 08:26 AM
[theblackdragon@tripper ~]$ yum --v
2.1.10
So I think it's already at the latest release...
My yum.conf looks like this:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
#[base]
#name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#[updates-released]
#name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
[development]
name=Fedora Core $releasever - Development Tree
baseurl=ftp://ftp.scarlet.be/pub/fedora/development/$basearch/
ftp://ftp.belnet.be/linux/fedora/linux/core/development/$basearch/
ftp://ftp.nluug.nl/pub/os/Linux/distr/fedora/development/$basearch/
I really don't have any idea what might be causing the slowness...
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.