directory conflicts between packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




All-

It seems the rpm 4.16.1.3 that's part of RHEL 9 behaves differently from
previous versions of RPM with regard to multiple packages that claim the
same directory.

This particularly impacts perl modules, where two unrelated perl modules
may both want to install files into a subdirectory.  For example,
perl-Test-A and perl-Test-B may not have any dependency relation between
them, but they may both deliver files into

	%{perl_sitelib}/Test

For years, under previous versions of RPM, the recommendation was that
both packages should claim a directory with %dir.  Based on my reading
of the Fedora perl packaging guidelines, that's *still* the
recommendation:

	https://docs.fedoraproject.org/en-US/packaging-guidelines/Perl/#_directory_ownership

At least on RHEL 9, though, with rpm 4.16.1.3, that's treated as an error:

	Error: Transaction test error:
  file /usr/local/lib64/perl5/5.32/auto/Test from install of perl-Test-Exception-0.43-1.x86_64 conflicts with file from package perl-Test-Pod-1.52-1.x86_64
  file /usr/local/share/perl5/5.32/Test from install of perl-Test-Exception-0.43-1.x86_64 conflicts with file from package perl-Test-Pod-1.52-1.x86_64

With that error in mind, what's the modern recommendation for packaging
directories that may be used by multiple unrelated packages?

Thanks,

Tim
--
Tim Mooney                                             Tim.Mooney@xxxxxxxx
Enterprise Computing & Infrastructure /
Division of Information Technology    /                701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux