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

Re: RPM upgrade script



On Thu, 22 Jan 1998, Amos Shapira wrote:

> |If you have theCPU time to spare...: This version is for x86, but
> |that is not exactly hard to fix:
> |
> |rpm -q -a | sed 's#-[^-]*-[0-9]*$##' | sort | xargs -i## find . \
> |-regex './##-[^-]*-[0-9]*.i386.rpm$' -print0 | xargs -0 rpm -v -U
> |
> |It is not optimized at all. It has a few problems including trying to
> |upgrade to older packages. But hey, it works for me...
> |
> |
> |Benny
> 
> Just to show how trivial this is for a Debian system - you just go to
> "dselect", select "update", "install" (and "remove" if some package
> becomes obsolete).  And "quit".
> 

To add to distributions flame wars:
http://www.freebsd.org

The only *right* way to do an upgrade is FreeBSD way to do it :{)

You need to sync with FreeBSD CVS sourve tree over internet ( you can also
check out FreeBSD as it was for any date you want - not only the latest
one  or releases ) And then you rebuild the *whole* OS and not only kernel
with one make.

<UNIX_WAY>
This is the Unix way to do things!
/usr/src# make update; make world

With Red Hat we got sys admins that can not add user/change interface's IP
without X Window and RH control-panel.
</UNIX_WAY>

>From other hand gurus do not need to remember 'which libc goes with which
kernel" and  "why can not I find standart header files"

I saw lot Linuces  with broken c compiler and sendmail dated before I
was born. System are not consistent because you can not update the whole
system - you can only update RPM packages.

Unix user needs to know how to use make and does not need to know
what depend on what binutils on libc or the other way around.

A lot of systems migrated from Linux to FreeBSD! 
Not one the other way around.
Follow the light children!

P.S. 
I read in bugtraq they found security hole in telnetd. 
To which packet does it belong? hmm...Netkit-libc5-ver0343-p343.(deb|rpm)? 
What will be broken when I'll update it?

> --Amos
> 
> --Amos Shapira                    | "Of course Australia was marked for
> 133 Shlomo Ben-Yosef st.          |  glory, for its people had been chosen
> Jerusalem 93 805                  |  by the finest judges in England."
> ISRAEL        amos@gezernet.co.il |                     -- Anonymous
> 

  Alexander Indenbaum
  baum@actcom.co.il