Sebastian Moeller wrote: > > Michal Jaegermann wrote: > > > Yes. It is. But you will have to do that in the right order > > as there some interdepencies and some actions may be a bit hairy. > > When you are running the "standard" procedure you do not > > have to worry about that as you run a minimal system from a ramdisk > > and doing updates on something else. > > Well there is a quick and DIRTY way. Put all the new RPMS (which you > want to upgrade) in one directory and do a rpm -Uhv --nodeps --force > *.rpm (I had to do it twice and I replaced rpm as the last thing), et > voilą you are running rh 5.2. No, not really. You only think so. :-) The above will be correct only towards processes you started after you performed the above. There are various long running processes on your machine which are quite hard to restart. If they are using shared libraries and you updated these then you have double images now of libraries in memory (old ones mapped for old processes and new ones for what you started now) and on a disk as well (a file really disappears if there is no more pending references to it - even if it is becoming unaccesible through a file system). So you are really runnig a mixture of an old and a new system. In particular 'init' (process number 1) is quite hard to restart without rebooting. There are some hacky ways around but if your 'init' was not designed for that you may have a difficult time. :-) A kernel version is a secondary issue. Kernels are actually rather independent from the rest and most stuff (not necessarily "all") will not care. Note also that if your upgrade changed major versions of libraries in the process (NOT the case between 5.1 and 5.2) then the procedure outlined above will make your system totally unusable at some point. Say you need 'cp' to proceed; if you installed new libraries first than "old cp" ceased to work, but if started with a replacement of 'cp' then it does not work yet as it needs new libraries and you are stuck. There are ways around that as well but the "quick and DIRTY" as above is not good enough. Holding of with replacing 'rpm' does not help as it calls many other things in the course of its work so even statically linked version of rpm is not good enough. Actually I would start with updating 'rpm' first as it is possible that "new rpms" use a format with new fields which are not acceptable to your previous 'rpm' utility; this really happened quite a few times in the past. Michal p.s. Inventing ways to deal with all these difficulties above can be a stimulating intelectual exercise :-) but be careful when experimenting on real systems. Chances that you hose them are substantial.