Your message dated Wed, 12 Dec 2012 10:04:06 +0800
with message-id 
<CAN3veReO_Cg-mPWV=mrxq9awyjrgecthfqpof0iyamad9on...@mail.gmail.com>
and subject line Re: [Aptitude-devel] Bug#695725: Bug#695725: why says 
Recommends when in fact Depends
has caused the Debian Bug report #695725,
regarding why says Recommends when in fact Depends
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
695725: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695725
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.6.8.2-1
Severity: wishlist

# aptitude why libxapian22
i   python-xapian Depends libxapian22 (>= 1.2.12)
# aptitude why python-xapian
i   aptitude         Recommends apt-xapian-index <-- NOT THE TRUTH
p   apt-xapian-index Depends    python-xapian (>= 1.0.2)
# aptitude purge libxapian22 python-xapian
The following packages will be REMOVED:
  libxapian22{p}  python-xapian{p}
0 packages upgraded, 0 newly installed, 2 to remove and 8 not upgraded.
Need to get 0 B of archives. After unpacking 6,530 kB will be freed.
The following packages have unmet dependencies:
 libept1.4.12 : Depends: libxapian22 but it is not going to be installed.
 aptitude : Depends: libxapian22 but it is not going to be installed.

--- End Message ---
--- Begin Message ---
TL;DR: libxapian22 and apt-xapian-index are two distinct packages.
The first does not depend on the later.  Aptitude works fine without
apt-xapian-index installed.

On 12 December 2012 08:16,  <[email protected]> wrote:
>>>>>> "AB" == Axel Beckert <[email protected]> writes:
>
> AB> So the bug is about the fact that "aptitude why" just shows one
> AB> possible path and not all of them? Or at least not the most
> AB> obvious from your point of view?

That command is documented to show the most relevant dependency chain
according to some criteria.  If multiple chains are equally relevant,
an arbitrary one is chosen.  Setting verbose will display all chains,
sorted by relevance.  The head of such a list is the most useful end.

>
> Well all I know is the bottom line is
>>> aptitude : Depends: libxapian22 but it is not going to be installed.

libxapian22 is not apt-xapian-index.  By itself, the library does not
generate any indices and is a rather lightweight package to have
installed.  Aptitude is linked against the library to support the
/optional/ apt-xapian-index, should that also be installed.

apt-xapian-index is the package that generates the space–time
consuming indices (for the APT database).  Aptitude works fine without
it installed, hence: recommends.  libxapian22 has no dependency on
apt-xapian-index.

>
> So "bait and switch"! "sucker punch" "say one thing and then do another" etc. 
> etc.
>
> The user feels he fully researched the path with "why" only to find out
> "ha ha, gotcha".

In this case it is (sucker-punch self).  The user's feeling is
incorrect: “aptitude why libxapian22” does not constitute fully
researching why the library package is installed, as it only shows a
single chain of dependencies.  See my earlier comment, or, preferably,
the man page:

> The command why finds /a/ dependency chain that installs the package
> named on the command line

“… a dependency chain”, a-as-in-singular.

>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588089#76
> OK, but they really should fix that little thing so one can finally
> uninstall that Xapian stuff if one does not want to use it... but I
> suppose that would take a whole aptitude-no-xapian at this point.

Those issues are fixed.

Regards

--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to