lkml.org 
[lkml]   [2003]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: How to identify contents of /lib/modules/*
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.068 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site