Jerry Houston wrote:
On Monday 10 November 2008 21:16:04 David C. Rankin wrote:
Sorry, I forgot the detail of "software management" updates. If you want
to update all packages on your system to the latest version contained on
the repositories you have added, then for 11.0:
yast -> software management -> Package -> All Packages -> update if newer
version available
I didn't ask the original question, but I just wanted to add my thanks to you
for mentioning this. I should have realized that this method is available,
but didn't. Or if I did, I'd forgotten it.
I've done a lot of updating by going down lists showing installed/available
versions, and clicking packages individually.
Glad it was helpful. I may have my nits about KDE4, etc.., but package
management with both yast and zypper is a shining star on the openSuSE cap. You
can accomplish the same things with with zypper that you can with yast. Zypper
adds a few niceties that you can't get to in yast as well. It is worth the time
to do "zypper help" and then "zypper help [command]". You can pick up some
nuggets like:
11:55 nemesis~> zypper help ar
addrepo (ar) [options] <URI> <alias>
addrepo (ar) [options]
<snip>
-r, --repo Read the URI and alias from a file (even remote).
<snip>
-k, --keep-packages Enable RPM files caching.
12:10 nemesis~> zypper help lr
repos (lr) [options]
<snip>
-e, --export Export all defined repositories as a single local
.repo file.
-u, --uri Show also base URI of repositories.
** use zypper lr -e with zypper ar -r above for cloning installs, etc and avoid
having to add all the repositories ever again.
Then also, for a new install in yast, just import your user-packages.xml rpm
list (yast -> file -> import) from your prior install (yast -> file -> export)
and click "Accept" and yast will reinstall all packages in the user-packages.xml
Last tip, in both yast and zypper, you can update packages from just one
repository if you don't want to update your entire system. Say like just the
samba packages from
http://us1.samba.org/samba/ftp/Binary_Packages/SuSE/3.0/11.0/. In yast, just
choose the repository filter and then choose "All packages in list" "Update if
newer version is available", or with zypper if you have the alias as "samba"
for the samba repository, it's simply:
zypper up -t package -r samba
Heck, it even works in a cron script...
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org