Mandriva

Return to the main archive index.

Custom Search

Mandrake Linux Archives: cooker@mandrivalinux.org

Mandrake Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]


athleston@yahoo.com wrote:
Every day or so I type into a console these three commands for bringing my Cooker install updated:

    ]# su
    ]# urpmi.update -a
    ]# urpmi --allow-force --auto-select

But now I want to automate these repetitive steps -- ideally run a script which runs all three commands with a single click. Can I get some suggestions? I _know_ its being figured out already :)

I wrote a shell script once but that didn't work, any donations are welcome...

"urpmi --auto-update --auto" should update everything automatically.


I'm not sure if using --allow-force is such a good idea, as with cooker, it can mess your system a lot, when some dependencies are not met.

Instead of su, use sudo + a proper line in /etc/sudoers, as someone stated already.


-- Tomasz Chmielewski

Software deployment with Samba
http://wpkg.org




Date Index | Thread Index