Mailinglist Archive: opensuse-bugs (8107 mails)

< Previous Next >
[Bug 243550] New: RPM: Missing support for %__find_prereq
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 8 Feb 2007 07:20:52 -0700 (MST)
  • Message-id: <bug-243550-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=243550

Summary: RPM: Missing support for %__find_prereq
Product: openSUSE 10.3
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: sbrabec@xxxxxxxxxx
QAContact: qa@xxxxxxx


Suppose you have a package gconf2. It runs just-installed gconftool-2 in its
%post.

But there is no guarantee, that zypp will install or update dependent libraries
for gconftool-2 before gconf2 itself and it can cause random installation
failures of %post.

To fix this problem, one has to add "PreReq" (or "Requires(post)"). But it's
not easy to colect them.

Documentation speaks about %__find_prereq, but it is not to be implemented,
however in seems to need only one line change.

It would be nice to implement it (or the new style %%_find_requires_post).

Its work-around is ugly and fragile: Explicitly listing of all needed libraries
in PreReq.

Technical note: The code coes not offer support for Requires(pretrans) and
Requires(posttrans), so it cannot be used as expected. Related: bug 235361

Partially related gconf2 upgrade problem: bug 243032


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >