Linked by Thom Holwerda on Mon 4th Jun 2007 16:38 UTC, submitted by anonymous
Benchmarks "We have developed a new package-management tool, called Opium, that improves on current tools in two ways: Opium is complete, in that if there is a solution, Opium is guaranteed to find it, and Opium can optimize a user-provided objective function, which could for example state that smaller packages should be preferred over larger ones. We performed a comparative study of our tool against Debian's apt-get on 600 traces of real-world package installations. We show that Opium runs fast enough to be usable, and that its completeness and optimality guarantees provide concrete benefits to end users."
Thread beginning with comment 245234
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Solving the wrong problem
by chris_dk on Mon 4th Jun 2007 19:04 UTC in reply to "Solving the wrong problem"
chris_dk
Member since:
2005-07-12

I completely agree.

Package manager seem to get increasingly complex while they should strive for simplicity.

Zeroinstall has my support.

Reply Parent Bookmark Score: 1

christucker Member since:
2007-06-04

I would argue that OPIUM is much simpler than APT in the way it solves dependencies. :-) We make a trivial rewriting of the problem into a logical form, and then just throw it at an off-the-shelf solver to give us an answer. No mucking about with traversing graphs, choosing which path to take, back-tracking, or anything. Sometimes simplicity comes from an elegant new representation, not from a reduction in flexibility or power.

Reply Parent Bookmark Score: 2

Tom5 Member since:
2005-09-17

I would argue that OPIUM is much simpler than APT in the way it solves dependencies.


Simpler, but with the same problems.

As I understand it, your success criteria is that the new package is installed and a minimum of other packages are removed. So, if I ask OPIUM to install "abiword" and it removes "gimp" in the process then that is a successful (and optimal) installation as far as the paper is concerned.

To a user, that probably looks more like failure! The real optimal solution is to install abiword without uninstalling anything.

Reply Parent Bookmark Score: 2

leibowitz Member since:
2006-10-17

If there is a way to install abiword without uninstalling any package then OPIUM will do this.

If apt can do it, OPIUM is not a big win.

But in case of apt can't do it, OPIUM is a win-win.

Reply Parent Bookmark Score: 1