PLD Linux and Obsoletes

Patryk Zawadzki patrys at pld-linux.org
Wed Aug 1 06:38:56 PDT 2007


Hi,

My first post here so forgive me if that was already discussed.

In PLD Linux we provide some mutually exclusive packages. Like LPRng
versus cups.

They are marked by all providing and obsoleting some virtual name:

Name: foo
Provides: baz
Obsoletes: baz

Name: bar
Provides: baz
Obsoletes: baz

Smart treats all Obsoletes as final and in the above situation results
in cycling between foo and bar with each upgrade attempt. This is
certainly not the desired situation so I thought I'd ask here if there
were any plans to handle such situations (not very common in most
distros as they provide "the one and only app" for each task) by
ignoring Obsoletes that are matched by a virtual Provide (not matched
by a NameProvide).

First I thought I might be able to patch this myself but the code is
not very straightforward for a newcommer (not sure where to start).

Another issue I'm experiencing at the moment is that smart does not
handle "Requires: uname(release) >= 2.6.20" kind of system
dependencies introduced in recent releases of rpm. We also use those
and currently it's impossible to install such packages using smart.

Best regards,

-- 
Patryk Zawadzki
Generated Content



More information about the Smart mailing list