Re: [expert] Re: urpmi..great tool...just need to finalize a few question
On Wednesday 19 November 2003 03:36 pm, Björn Lundin wrote: > Jason Williams wrote: > > > > > Does urpmi have the ability to pull security patches down and > > automatically install? > You just have to define an update source. All the update mirrors have the same ../base/hdlist.cz format as the dist tree, so you can add it with urpmi.addmedia updates --update ftp://path to source with ../base/hdlist.cz The --update switch tells urpmi that this is the update source and then you can apply security updates with urpmi.update -a && urpmi --auto-select --update This updates the local hdlists and then autoselects packages for installation based on what you have installed only from the update repository. Have fun. -- /g "Outside of a dog, a man's best friend is a book, inside a dog it's too dark to read" -Groucho Marx Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Re: urpmi..great tool...just need to finalize a few question
At 09:36 PM 11/19/2003 +0100, you wrote: This might help you. [EMAIL PROTECTED] test]$ cat /etc/cron.weekly/update_mdk #!/bin/bash #Keeps the system updated urpmi.update -a --wget && urpmi --wget --auto --auto-select --no-verify-rpm [EMAIL PROTECTED] test]$ you might want to change that to just get the updates, this first get new list from all of the defined urpmi-sources (urpmi.update -a), then updates all the installed packages (--auto-select), with no confirmation (--auto), regardless of not signed rpms (--no-verify-rpm), both operations using wget instead of curl. Since it's in cron.weekly, well once a week... This is on my destop, a produktion server proberbly needs restart of updated programs. /Björn Thanks Bjorn. I appreciate it. I was testing a few commands. After adding my media, I tried to update all the media with this: $ urpmi.update -a retrieving source hdlist (or synthesis) of "updates"... ...retrieving done examining synthesis file [/var/lib/urpmi/synthesis.hdlist.updates.cz] computing md5sum of existing source hdlist (or synthesis) examining MD5SUM file retrieving source hdlist (or synthesis) of "main"... computing md5sum of retrieved source hdlist (or synthesis) ...retrieving failed: md5sum mismatch retrieve of source hdlist (or synthesis) failed no hdlist file found for medium "main" examining synthesis file [/var/lib/urpmi/synthesis.hdlist.main.cz] retrieving source hdlist (or synthesis) of "contrib"... ...retrieving done examining synthesis file [/var/lib/urpmi/synthesis.hdlist.contrib.cz] Ok..updates seemed to have worked as did contrib, but main failed. Any particular reason why this may have happened? It seems that when "main" fails, I cant get a full listing of regular packages, like samba (2.2.8a). Is the best way to fix this to remove the media, and add a different media? I appreciate it. Jason Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: urpmi..great tool...just need to finalize a few question
Jason Williams wrote: > Does urpmi have the ability to pull security patches down and > automatically install? > This might help you. [EMAIL PROTECTED] test]$ cat /etc/cron.weekly/update_mdk #!/bin/bash #Keeps the system updated urpmi.update -a --wget && urpmi --wget --auto --auto-select --no-verify-rpm [EMAIL PROTECTED] test]$ you might want to change that to just get the updates, this first get new list from all of the defined urpmi-sources (urpmi.update -a), then updates all the installed packages (--auto-select), with no confirmation (--auto), regardless of not signed rpms (--no-verify-rpm), both operations using wget instead of curl. Since it's in cron.weekly, well once a week... This is on my destop, a produktion server proberbly needs restart of updated programs. /Björn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com