Package: aptitude
Version: 0.4.1-1.1
Severity: wishlist

Hi,

I'm using pkgsync, which uses aptitude as the underlying mechanism, with
mile-long command lines that look something like this:

  aptitude dist-upgrade foo+ bar+ baz- 'quux&M'

(99% are + and &M lines, FWIW.)

Sometimes, however, this goes awry, as the conflict resolution mechanism
decides to, say, not pull in GNOME because this makes it has to
downgrade some other package to the version in testing etc..

Normally, I'd solve this by something along the lines of

  aptitude -o Aptitude::cmdline::Request-Strictness=10000 install gnome

(I really do believe the strictness should be set that high by default,
BTW, but that's for another bug report :-) )

but when there's a couple thousand arguments at the command line, this
naturally won't help. So, having something that lets me prioritize the
individual choices on the command line would be great; something along
the lines of

  aptitude dist-upgrade gnome+//10000 bar+ baz-//500 'quux&M'

to give a penalty of 10000 to whatever solution doesn't manage to get
GNOME in, 500 to whatever solution doesn't get baz out, etc.. I'm afraid
I don't know the aptitude code particularily well, but given that the
request strictness is in there already, I hope this isn't something
that's impossible to bolt in :-)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16trofastxen
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.44.2   Advanced front-end for dpkg
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libncursesw5                  5.5-2      Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a            2.0.16-3   type-safe Signal Framework for C++
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.1-1.1  English manual for aptitude, a ter

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to