From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 814F62EFA2 for ; Tue, 9 Jan 2001 12:55:28 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f09HtSh14459 for axp-list@listman.redhat.com; Tue, 9 Jan 2001 12:55:28 -0500 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f09HtRD14455 for ; Tue, 9 Jan 2001 12:55:27 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id KAA03032 for axp-list@redhat.com; Tue, 9 Jan 2001 10:55:24 -0700 Date: Tue, 9 Jan 2001 10:55:24 -0700 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: Upgrade RPM? Message-ID: <20010109105524.D2894@ellpspace.math.ualberta.ca> References: <20010108202425.B20342@devserv.devel.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: ; from SteveCraft on Tue, Jan 09, 2001 at 12:19:09PM -0500 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Tue, Jan 09, 2001 at 12:19:09PM -0500, SteveCraft wrote: > > I went to a rawhide distro site, and grabbed > > rpm-4.0-4.4.alpha.rpm > rpm-build-4.0-4.4.alpha.rpm > rpm-devel-4.0-4.4.alpha.rpm > rpm-python-4.0-4.4.alpha.rpm > rpm2html-1.5-2.alpha.rpm > rpmfind-1.6-2.alpha.rpm > rpmlint-0.25-1.noarch.rpm > > but when I did a rpm -U rpm-4.0-4.4.alpha.rpm My RH 6.2 install said DON'T DO THAT unless you are updating a _number_ of other things at the same time and you _really_ know what you are doing. You have here a potential to screw up your rpm database badly enough so it will be recoverable only from a backup. > only packages with major numbers <= 3 are supported by this version of RPM To handle also version 4 packages update to the latest version of rpm from updates to 6.2 and _leave it there_! Just make sure that you run 'rpm --rebuilddb' right away after you run an update. It is supposed to that in '%post' action but just in case; it will do no harm. BTW - there is also 'up2date' in updates to 6.2 and a version of rpm able to handle version 4 packages in updates to 5.x. > .. so how do I update my RPM? See above. RPM is trying hard to prevent you from shooting yourself in a foot but you can still do it if you really want to. > There are more than a few treats I want to > try out.. Keep in mind that some stuff binary stuff may have dependencies on libraries which you do not have. Quite often 'rpm --rebuild ...' is good enough. Michal