Hi
I just need to know if yum can update automatically allwithout manual intervention.
I would to have a cron job with a "yum update" like, who said "yes" when yum ask "Is this ok [y/N]:"
Thx for your response and really sorry for my poor english
jix
yum -y update
cron that up and it will do the job for you.
On Mon, 2004-06-28 at 10:42, jix@barbuchu.com wrote:
Hi
I just need to know if yum can update automatically allwithout manual intervention.
I would to have a cron job with a "yum update" like, who said "yes" when yum ask "Is this ok [y/N]:"
Thx for your response and really sorry for my poor english
jix
________________________________________________________________________ Wayne Leutwyler, RHCT Home Page Feel the Power of the Penguin!
As long as there is breath in my body, there will be a Penguin on my Desktop.
Home: 614-336-9668 Work: 614-410-7507
________________________________________________________________________
You can use "yum -y update" in your crontab or enable nightly yum updates with "service yum start". To enable nightly yum updates on startup use "chkconfig --level 2345 yum on".
On Mon, 2004-06-28 at 11:42, jix@barbuchu.com wrote:
Hi
I just need to know if yum can update automatically allwithout manual intervention.
I would to have a cron job with a "yum update" like, who said "yes" when yum ask "Is this ok [y/N]:"
Thx for your response and really sorry for my poor english
jix
[]s!
Am Mo, den 28.06.2004 schrieb jix@barbuchu.com um 16:42:
I just need to know if yum can update automatically allwithout manual intervention.
I would to have a cron job with a "yum update" like, who said "yes" when yum ask "Is this ok [y/N]:"
jix
service yum start chkconfig yum on
That is all and yum will each night run an update job. See "man yum" if you want parameter explanations. Read the file "/etc/cron.daily/yum.cron" to see what it does.
Alexander
Thx to all of us \o/
jix
_____
De : fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com] De la part de Wayne Leutwyler Envoyé : lundi 28 juin 2004 16:45 À : For users of Fedora Core releases Objet : Re: yum and automatic updates
yum -y update
cron that up and it will do the job for you.
On Mon, 2004-06-28 at 10:42, jix@barbuchu.com wrote:
Hi
I just need to know if yum can update automatically allwithout manual intervention.
I would to have a cron job with a "yum update" like, who said "yes" when yum ask "Is this ok [y/N]:"
Thx for your response and really sorry for my poor english
jix
_____
Wayne mailto:wleutwyl@columbus.rr.com Leutwyler, RHCT Home Page http://leutwyler.mine.nu
Feel the Power of the Penguin http://www.linux.com !
As long as there is breath in my body, there will be a Penguin on my Desktop.
Home: 614-336-9668
Work: 614-410-7507
_____
On Mon, 2004-06-28 at 16:42 +0200, jix@barbuchu.com wrote:
Hi
I just need to know if yum can update automatically allwithout manual intervention.
yum -y update
Bonjour,
who could explain this dialog:
[root@machin root]# yum install ntp Gathering header information file(s) from server(s) Server: Fedora Core 1 - i386 - Base Server: Fedora Core 1 - i386 - Released Updates Finding updated packages Downloading needed headers Resolving dependencies . Dependencies resolved I will do the following: [install: ntp 4.1.2-5.i386] I will install/upgrade these to satisfy the dependencies: [deps: libcap 1.10-16.i386] [deps: sed 4.0.8-2.i386] Is this ok [y/N]: y Exiting on user command.
I get this in 50% of my attempts to install/update packages!!!
-- François Patte
Inde : Ecole française d'Extrême-Orient Deccan College Pune 411006 Tél : (00 91) (0) 20 26 69 39 04
France : Université René Descartes - Paris 5 UFR de mathématiques et informatique http://www.math-info.univ-paris5.fr/~patte
François Patte wrote:
Bonjour,
who could explain this dialog:
[root@machin root]# yum install ntp Gathering header information file(s) from server(s) Server: Fedora Core 1 - i386 - Base Server: Fedora Core 1 - i386 - Released Updates Finding updated packages Downloading needed headers Resolving dependencies . Dependencies resolved I will do the following: [install: ntp 4.1.2-5.i386] I will install/upgrade these to satisfy the dependencies: [deps: libcap 1.10-16.i386] [deps: sed 4.0.8-2.i386] Is this ok [y/N]: y Exiting on user command.
I get this in 50% of my attempts to install/update packages!!!
It must be a bug in yum because this happened to me a bunch of times as well. If you run the command again, it'll work (at least it would for me). Are the yum people aware of this?
-- J.A.K.E. [ jake1138 AT yahoo DOT com ]
It must be a bug in yum because this happened to me a bunch of times as well. If you run the command again, it'll work (at least it would for me). Are the yum people aware of this?
I filed the bug report a while ago but couldn't reproduce it.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=123818
reopen the bug and add any strace or any other information you have
Scott Sloan wrote:
It must be a bug in yum because this happened to me a bunch of times as well. If you run the command again, it'll work (at least it would for me). Are the yum people aware of this?
I filed the bug report a while ago but couldn't reproduce it.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=123818
reopen the bug and add any strace or any other information you have
You might also make sure you have adequate space on your yum spool filesystem to hold the RPMs. I seem to recall this error occurring on a full yum spool filesystem (by default, /var). A "yum clean" might fix it. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens@vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - IGNORE that man behind the keyboard! - - - The Wizard of OS - ----------------------------------------------------------------------
jix@barbuchu.com wrote:
Hi
I just need to know if yum can update automatically allwithout manual intervention.
I would to have a cron job with a "yum update" like, who said "yes" when yum ask "Is this ok [y/N]:"
Thx for your response and really sorry for my poor english
jix
Here is the approach I used to enable a nightly yum update:
1. Click on Redhat -> System Settings -> Server Settings -> Services 2. Give it your root pw 3. Scroll through the list for yum, putting a check mark in its place, and also clicking on Start. Save this.
HTH, Clint
Bonjour,
I want to update one fedora system and have this in my yum.conf (and some other servers):
[livna-stable] name=Livna.org Fedora Compatible Packages (stable) baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable http://rpm.livna.org/fedora/1/i386 gpgcheck=1
When yum wants to resolve dependencies, I get this message:
Resolving dependencies .Package mplayer-mencoder needs libxvidcore.so.2, this is not available.
Checking which package "libxvidcore.so.2" belongs to, I got: xvidcore-0.9.2-0.lvn.1.1
What can I see in: http://rpm.livna.org/fedora/1/i386/yum/stable/headers/header.info?:
0:xvidcore-0.9.2-0.lvn.1.1.i386=RPMS/xvidcore-0.9.2-0.lvn.1.1.i386.rpm
What shall I do now?
Thank you. -- François Patte
Inde : Ecole française d'Extrême-Orient Deccan College Pune 411006 Tél : (00 91) (0) 20 26 69 39 04
France : Université René Descartes - Paris 5 UFR de mathématiques et informatique http://www.math-info.univ-paris5.fr/~patte
Bonjour,
who could explain this dialog:
[root@machin root]# yum install ntp I will do the following: [install: ntp 4.1.2-5.i386] I will install/upgrade these to satisfy the dependencies: [deps: libcap 1.10-16.i386] [deps: sed 4.0.8-2.i386] Is this ok [y/N]: y Exiting on user command.
I get this in 50% of my attempts to install/update packages!!!
Let me guess. Realy your dialog looks like this: yum> Is this ok [y/N]: you> {one of your international characters} ^H {i mean 'backspace'} y ^J {i mean 'enter'}
I put my comments to {}. I'm right? If it's true then you have typical problem. In short words if you input one unicode symbol you need to press backspace twice cause each unicode symbol its two bytes. Sad but true.
François Patte wrote:
Bonjour,
I want to update one fedora system and have this in my yum.conf (and some other servers):
[livna-stable] name=Livna.org Fedora Compatible Packages (stable) baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable http://rpm.livna.org/fedora/1/i386 gpgcheck=1
When yum wants to resolve dependencies, I get this message:
Resolving dependencies .Package mplayer-mencoder needs libxvidcore.so.2, this is not available.
Checking which package "libxvidcore.so.2" belongs to, I got: xvidcore-0.9.2-0.lvn.1.1
What can I see in: http://rpm.livna.org/fedora/1/i386/yum/stable/headers/header.info?:
0:xvidcore-0.9.2-0.lvn.1.1.i386=RPMS/xvidcore-0.9.2-0.lvn.1.1.i386.rpm
What shall I do now?
Thank you.
François Patte
Inde : Ecole française d'Extrême-Orient Deccan College Pune 411006 Tél : (00 91) (0) 20 26 69 39 04
France : Université René Descartes - Paris 5 UFR de mathématiques et informatique http://www.math-info.univ-paris5.fr/~patte
Try yum <command> --exclude=libxvidcore
david
i configured yum according to the example file which can be found at: http://www.fedorafaq.org/samples/yum.conf maybe it will help you, i have had no problems updating anything
On Tue, 29 Jun 2004 16:36:31 +1000, david walcroft david_walcroft@yahoo.com.au wrote:
François Patte wrote:
Bonjour,
I want to update one fedora system and have this in my yum.conf (and some other servers):
[livna-stable] name=Livna.org Fedora Compatible Packages (stable) baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable http://rpm.livna.org/fedora/1/i386 gpgcheck=1
When yum wants to resolve dependencies, I get this message:
Resolving dependencies .Package mplayer-mencoder needs libxvidcore.so.2, this is not available.
Checking which package "libxvidcore.so.2" belongs to, I got: xvidcore-0.9.2-0.lvn.1.1
What can I see in: http://rpm.livna.org/fedora/1/i386/yum/stable/headers/header.info?:
0:xvidcore-0.9.2-0.lvn.1.1.i386=RPMS/xvidcore-0.9.2-0.lvn.1.1.i386.rpm
What shall I do now?
Thank you.
François Patte
Inde : Ecole française d'Extrême-Orient Deccan College Pune 411006 Tél : (00 91) (0) 20 26 69 39 04
France : Université René Descartes - Paris 5 UFR de mathématiques et informatique http://www.math-info.univ-paris5.fr/~patte
Try yum <command> --exclude=libxvidcore
david-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
On mar jun 29, 2004 at 05:38:29 -0400, SoftCell wrote:
i configured yum according to the example file which can be found at: http://www.fedorafaq.org/samples/yum.conf maybe it will help you, i have had no problems updating anything
I got a lot errors trying this file:
Gathering header information file(s) from server(s) Server: Fedora Core 1 - i386 - Base Server: Fedora.us Extras (Stable) retrygrab() failed for: http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.in... Executing failover method retrygrab() failed for: http://mirrors.kernel.org/fedora.us/fedora/fedora/1/i386/RPMS.stable/headers... Executing failover method retrygrab() failed for: http://fedora.quicknet.nl/fedora/fedora/1/i386/RPMS.stable/headers/header.in... Executing failover method retrygrab() failed for: http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora/1/i386/RPMS.stable/hea... Executing failover method retrygrab() failed for: http://fedora.mirror.sdv.fr/fedora/fedora/1/i386/RPMS.stable/headers/header.... Executing failover method failover: out of servers to try Error getting file http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.in... [Errno 4] IOError: HTTP Error 404: Not Found
??
On mar jun 29, 2004 at 10:13:36 +0400, Grigory Bakunov wrote:
Bonjour,
who could explain this dialog:
[root@machin root]# yum install ntp I will do the following: [install: ntp 4.1.2-5.i386] I will install/upgrade these to satisfy the dependencies: [deps: libcap 1.10-16.i386] [deps: sed 4.0.8-2.i386] Is this ok [y/N]: y Exiting on user command.
I get this in 50% of my attempts to install/update packages!!!
Let me guess. Realy your dialog looks like this: yum> Is this ok [y/N]: you> {one of your international characters} ^H {i mean 'backspace'} y ^J {i mean 'enter'}
I put my comments to {}. I'm right?
except ^H
If it's true then you have typical problem. In short words if you input one unicode symbol you need to press backspace twice cause each unicode symbol its two bytes. Sad but true.
don't understand this. I don't use utf-8 in the terminal I use to update.
On Tue, 29 Jun 2004 18:44:50 +0200, François Patte wrote:
On mar jun 29, 2004 at 05:38:29 -0400, SoftCell wrote:
i configured yum according to the example file which can be found at: http://www.fedorafaq.org/samples/yum.conf maybe it will help you, i have had no problems updating anything
I got a lot errors trying this file:
Gathering header information file(s) from server(s) Server: Fedora Core 1 - i386 - Base Server: Fedora.us Extras (Stable) retrygrab() failed for: http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.in... Executing failover method
http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.in... [Errno 4] IOError: HTTP Error 404: Not Found
??
The /etc/yum.conf is wrong. Verify the correct http://path with your favourite browser and realize that for FC1 (!) the "headers" directory is elsewhere:
baseurl=http://download.fedora.us/fedora/fedora/1/i386/yum/stable/
Just browse the repository if you have doubts or if you get a 404 error.
If it's true then you have typical problem. In short words if you input one unicode symbol you need to press backspace twice cause each unicode symbol its two bytes. Sad but true.
don't understand this. I don't use utf-8 in the terminal I use to update.
it's depends of current locale, not terminal type. try to execute command locale did you see 'UTF-8' words here?
Selon Grigory Bakunov thebobuk@gmail.com:
If it's true then you have typical problem. In short words if you input one unicode symbol you need to press backspace twice cause each unicode symbol its two bytes. Sad but true.
don't understand this. I don't use utf-8 in the terminal I use to update.
it's depends of current locale, not terminal type. try to execute command locale did you see 'UTF-8' words here?
I update a distant machine which has default LANG fr_FR@utf-8 but the terminal I use for this purpose reply: fr_FR@euro
-- François Patte
Inde : Ecole française d'Extrême-Orient Deccan College Pune 411006 Tél : (00 91) (0) 20 26 69 39 04
France : Université René Descartes - Paris 5 UFR de mathématiques et informatique http://www.math-info.univ-paris5.fr/~patte
http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.in... [Errno 4] IOError: HTTP Error 404: Not Found
??
The /etc/yum.conf is wrong. Verify the correct http://path with your favourite browser and realize that for FC1 (!) the "headers" directory is elsewhere:
Hey. It's not that the yum.conf is wrong -- there's actually a different yum.conf for FC1: http://www.fedorafaq.org/fc1/samples/yum.conf
The one up there currently is for FC2.
-Max
On Sun, 04 Jul 2004 00:51:17 -0700, Max K-A wrote:
http://download.fedora.us/fedora/fedora/1/i386/RPMS.stable/headers/header.in... [Errno 4] IOError: HTTP Error 404: Not Found
??
The /etc/yum.conf is wrong. Verify the correct http://path with your favourite browser and realize that for FC1 (!) the "headers" directory is elsewhere:
Hey. It's not that the yum.conf is wrong -- there's actually a different yum.conf for FC1: http://www.fedorafaq.org/fc1/samples/yum.conf
The one up there currently is for FC2.
The path at the top of the quote above _is wrong_. Fedora.us' Yum repository for FC1 Extras still uses a separate "yum" directory:
http://download.fedora.us/fedora/fedora/1/i386/yum/stable/
You cannot turn this into a generic entry with $releasever and get it to work on FC2, because the directory layout for FC2 extras was simplied and the yum directory was obsoleted:
Hey. It's not that the yum.conf is wrong -- there's actually a different yum.conf for FC1: http://www.fedorafaq.org/fc1/samples/yum.conf
The one up there currently is for FC2.
The path at the top of the quote above _is wrong_. Fedora.us' Yum repository for FC1 Extras still uses a separate "yum" directory:
Yes, I know. You see, there are two yum.conf files on the FAQ, because the fedora.us structure is different for FC1 and FC2:
FC2: http://www.fedorafaq.org/samples/yum.conf FC1: http://www.fedorafaq.org/fc1/samples/yum.conf
If you try to use the FC2 version when you're running FC1, then you'll have problems. In general, don't use the FC2 FAQ for FC1.
-Max