[5955] in RedHat Linux List
Re: Install and update 4.0
daemon@ATHENA.MIT.EDU (Peter Moulder)
Mon Nov 25 03:12:20 1996
To: redhat-list@redhat.com
From: Peter Moulder <reiter@netspace.net.au>
Date: 21 Nov 1996 09:20:57 +1100
In-Reply-To: Peter Moulder's message of Sun, 17 Nov 1996 13:13:33 +1100
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Peter Moulder <reiter@netspace.net.au> writes:
> for i in *; do if rpm -q `rpm -qp $i`; then rpm -U $i; fi; done
Make that ... if rpm -q `rpm -qp --queryformat '%{NAME}\n' "$i"`; then ...
(Still untested, btw.)
However, this won't work where capabilities have been transferred from
one package to another (e.g. I believe tset-jv has been entirely
supplanted by the ncurses package).
> Redirect stderr and/or stdout if you like, but I'd prefer the chance
> to see what packages it did and didn't install.
pjm.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null