Re: How to identify contents of /lib/modules/*

Henning P. Schmiedehausen (hps@intermeta.de)
Wed, 16 Apr 2003 20:54:40 +0000 (UTC)


Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

>Only --force allows the same file to be owned by two packages. Otherwise

No. Look at this:

% rpm -qf /usr/lib/libamanda-2.4.4.so
amanda-client-2.4.4-2t
amanda-server-2.4.4-2t

% rpm -ql amanda-client | grep libamanda
/usr/lib/libamanda-2.4.4.so
/usr/lib/libamanda.so
% rpm -ql amanda-server | grep libamanda
/usr/lib/libamanda-2.4.4.so
/usr/lib/libamanda.so

rpm allows this if both rpms supply an identical file. Which they do
(they're cut from the same SRPM). It's not nice but it definitely
works without --force. I never use --force on rpm.

This is on RedHat 7.3 with rpm-4.0.4-7x.18

Regards
Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services freelance consultant -- Jakarta Turbine Development -- hero for hire - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/