Exists perhaps a written specificaton for suggest, raccomend other that was 
discussed many time - Almost from 7 years now - on rpm-maint, the old 
rpm-devel, also on lwn.net ( if my memory is good in origin was suggest = 
missing sense ok ). On debian the desiderated answer depends from depsolver in 
use: dselect, apt ecc. For example apt-get generally ask interactively 
something like : do you want to install this suggest package ? Difficult these 
days to have an agrrement for what is the correct answer for rpm. Am i wrong 
perhaps ?
-----Original Message-----
From: Per Øyvind Karlsen
Sent:  06/03/2011, 06:44 
To: rpm-devel@rpm5.org
Subject: different suggests behaviour


Working out some remaining issues in perl-URPM for dealing with upgrades
from stable releases I became aware of some different behaviour for
suggests giving headaches..

First of all, ie. 'rpm -q --requires foo' will return both "regular"
requires and
suggests, is this really correct behaviour?

For rpm 4.6 it will also treat the suggests as "regular" requires as well,  ie.
trying to install packages built with rpm 5.3 without satisfying suggests
will return in dependency error.

I'm not sure about what's considered as "correct" behaviour or not,
working around it in perl-URPM can be done..
IMHO 'rpm -q --requires' shouldn't return soft dependencies, and older
rpm versions shouldn't treat these as such either, ignorance of not
knowing better being fairly obvious.. ;)

--
Regards,
Per Øyvind
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to