Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 21:14:38 -0200
From:      "Henry Lenzi" <henry.lenzi@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   pkg_add does not backtrack, does it?
Message-ID:  <8b4c81f0702061514r5a753e48yea0ce9b937236fc3@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi * --

 I haven't found the pkg_add code (it's in Ruby, is it?). But from the
behaviour of pkg_add -r, it's safe to say that it doesn't backtrack to
resolve dependencies, does it?

 Like, for instance (a real example), during gnome2 installation on 6.2:

warning: 'gstreamer-plugins-gconf-0.10.4_3,2' requires
'gstreamer-plugins-0.10.10,2', but 'gstreamer-plugins-0.10.9,1' is
installed

 pkg_add goes right ahead. It does not com back to deinstalling
'gstreamer-plugins-0.10.9,1' and all its dependencies and _then_ goes
back to that point.

 Isn't this a classic AI backtracking problem? (ok, complete noob opinion here).

 TIA,

 Henry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b4c81f0702061514r5a753e48yea0ce9b937236fc3>