On 03/10/09 at 16:43 +0200, Bill Allombert wrote:
> On Sat, Oct 03, 2009 at 03:38:09PM +0200, Jérémy Lal wrote:
> > On 03/10/2009 13:52, Bill Allombert wrote:
> >> Package: redmine
> >> Version: 0.9.0~svn2902-1
> >> Severity: important
> >>
> >> Hello Jérémy,
> >>
> >> There is a circular dependency between redmine, redmine-mysql, 
> >> redmine-pgsql and redmine-sqlite:
> >>
> >> redmine    :Depends: redmine-sqlite (= 0.9.0~svn2902-1), redmine-mysql (= 
> >> 0.9.0~svn2902-1), redmine-pgsql (= 0.9.0~svn2902-1)
> >> redmine-mysql      :Depends: redmine
> >> redmine-pgsql      :Depends: redmine
> >> redmine-sqlite     :Depends: redmine
> >>
> >> Cheers,
> > Thanks for the bug report,
> > 1) does replacing Depends by Recommends is still considered a circular
> > dependency ?
> 
> No, Recommends do not create 'dependencies'.
> 
> > Installing redmine alone most of the time leads to an unuseful installation,
> > while installing e.g. redmine-sqlite alone won't install anything, just 
> > dependencies.
> > My bet would be removing the dependency in the e.g. redmine-sqlite, but
> > i'm quite stuck with the chicken-or-egg myself :)
> 
> Given that the redmine-db are only meta-packages, I would change
> redmine to only Recommends redmine-sqlite|redmine-mysql|redmine-pgsql
> (without version), and change the redmine-db to depend on the correct
> version of redmine. There is not much point forcing user to install a
> meta-package anyway.

No, that doesn't reflect the relationship between the packages
correctly.

redmine needs one of the 3 db packages to be installed. It wouldn't be
functional without one of them installed. Depends: is the correct
relationship.

redmine-[db] packages only provide the dependencies, but not providing a
working redmine installation when they are installed is misleading
for the user. (one would expect redmine to work when redmine-sqlite is
installed, for example).

Is it still true that circular dependencies cause problems during
upgrades? I mean, there are lots of circular dependencies in the
archive, and the only problem I've heard of is with piuparts, whose
dependencies analyzer isn't particularly well written.

Also, the solution to make redmine only recommends: redmine-db* is
clearly wrong, and should not be chosen. The most correct solution would
be to drop the dependency in redmine-db*, and make it crystal clear (in
the description) that those packages only provide the list of deps.
-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr             GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to