yum check-update localupdate this gave the output:
This topic is not intended at those who only upgrade a system by running the "official" upgrade procedure: booting from the new media boot-disk and having all packages updated at one time while the system is "offline" (not usable for other tasks). This isn't necessary a trivial or officially supported or sanctioned way to do things, but I have my reasons for doing things this way... When I say "utility" that can help me do this, I mean utility as being one of (or a combination of) a "program", "script", "collection of scripts". I want to upgrade a 'live' system, that was based on an older suse release (suse9.3 in this case) to newer packages -- mostly from 10.3 (or 10.2 for packages that are broken in 10.3). Theoretically, (or ideally), the utility would work with any RPM based distribution, but my main focus is on SuSE's dists right now (as has been case for ... since ~ suse 6.x or 7.x). So -- want to have a util that can inspect my current RPM's, and pick out the updates from the target dist (in this case 10.3), find the needed deps and install them. I want the command to be able to be run over some "set" of older RPM's at 1 time. I'm doing this logged in *remotely* (not at a console), so amusing ssh -- so an example of doing things partially -- would be to upgrade "open-ssh" and its requirements 1st, then install and get it working before continuing (ensuring that remote access will continue to work through the remainder of the upgrade). In my current situation, that's already done. But what gets to be hairy is, making sure mutually dependent RPM's are updated in 1 rpm command so all their reqs & obsoletes are handled in the same command so the system doesn't (ideally) need to transition to a "bad-state" where something is broken. Are there any tools to help me upgrade a package (with the new RPM's being *local* (either on same machine, or on a local subnet available via "whatever" (SMB, NFS, scp/ssh), that would solve (resolve) package dependencies, conflicts and obsoletes and generate or execute a single rpm command, "at a time", that would consistent within itself? I don't want it to upgrade *all* RPM's at one time -- just the necessary, dependent ones. There are two types of RPMs that need to be upgraded: 1) those RPMs that either a) have no prereqs, or b) already have all needed pre-reqs installed 2) those RPM's that need other RPM packages to be updated at the same time in order to solve dependencies Is there command-line utility (prog, script, set of scripts) that does this already? Is this a utility other "manual-updater" hacker-types would find useful or helpful? ------- Right now, I have to go through all of this process manually (which is a bit labor intensive), but I'd like to have a util (or set of utils) that could find needed pre-reqs so I could execute 1 RPM command at a time that would upgrade some interdependent "subset" of packages. So does such exist? Does anyone else go through manual upgrading because they maybe: 1) aren't on the same-update cycle frequency as new distribution-versions are released? and/or 2) Don't want to bring down the active system they are updating except for simple 'reboots' when needed (like to activate a new running kernel)? and/or 3) only want to upgrade *select* newer packages that "need to be updated" (for whatever reason, bugs, features, etc.). --- Maybe there is a utility, perhaps built on top of rpm, that already does most of this? A preliminary look at "yum" didn't seem to show it was what I wanted and its workings were a bit cryptic. I tried it, but my early attempts shed no light on how 'yum' might provide these features. I tried: primary.xml.gz 100% |=========================| 7.8 MB 00:26 opensuse : ################################################## 17136/17136 opensuse-updates 100% |=========================| 1.2 kB 00:00 primary.xml.gz 100% |=========================| 1.7 MB 00:08 opensuse-u: ################################################## 4584/4584 --- This didn't really tell me what it did or what it was trying to do. It didn't appear to do any upgrading of existing older packages, so I'm not sure what it did. I tried adding the '-v'erbose switch, and repeating the command, but that only generated more questions about what it was doing. Partial output: Installroot: / Ext Commands: localupdate Reading Local RPMDB Setting up Package Sacks Building updates object putting libzypp in complex update putting libevent in simple update putting ghostscript-x11 in complex update putting wv in simple update .... [ continues with "putting <pkg> in [simple|complexe] update"] (about 160 pkgs total, then: ) processing libzypp processing ghostscript-x11 .... [ Continues processing *only( 'complex' packages from above ] Matching packages for package list to user args ( Program exits w/status 0) So it doesn't seem to be what I want (that's ok, just wondered if it was going to try to do what I wanted, but it seems it's for a different purpose). Haven't tried any other tools at this point. Ideas? Anyone else interested in this subject? Is there a better place to find people who might be interested or know about such tools? Thanks much, Linda W. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org