Hello,

The correct way would be to edit the util-linux.spec file and rebuild the
package with the patched spec file.
Search for /sbin/fdisk in the %files section and either comment it out or
better surround with ifnarch like this:

%ifnarch s390 s390x
/sbin/fdisk
%endif


   Karsten

On Mon, Jul 29, 2002 at 03:10:19PM -0400, [EMAIL PROTECTED] wrote:
> Hopefully this forum is okay for this question...
>
> I was hoping to upgrade the util-linux package for advisory
> RHSA-2002:132-14 (http://rhn.redhat.com/errata/RHSA-2002-132.html)
>
> rebuilt util-linux from src.rpm, went to install
> # rpm -Uhv util-linux-2.11f-17.7.2.s390.rpm
> Preparing...                ###########################################
> [100%]
> file /sbin/fdisk from install of util-linux-2.11f-17.7.2 conflicts with
> file from package s390utils-20011109-6
>
> /sbin/fdisk is just a symlink to /sbin/fdasd, provided by s390utils
> (installed from a redhat built s390.rpm).
> Would removing the symlink, rpm -Uhv --force, and then re-replacing
> fdisk with the symlink be a bad idea?
> What's the rpm-friendly way?  (I'd rather use the tool correctly)
>
> Thanks for any guidance,
> ~ Daniel

--
 Karsten Hopp        | Mail: [EMAIL PROTECTED]
 Red Hat Deutschland | Tel: +49-711-96437-0
 Hauptstaetterstr.58 | Fax: +49-711-96437-111
 D-70178 Stuttgart   | http://www.redhat.de

Reply via email to