Your message dated Tue, 5 Apr 2016 15:21:20 +0100
with message-id <[email protected]>
and subject line Re: aptitude: does not select prefered alternative on
alternative replacement
has caused the Debian Bug report #671486,
regarding aptitude: does not select prefered alternative on alternative
replacement
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.)
--
671486: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671486
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.6.6-1
* Base situation:
$ apt-cache policy phonon
phonon:
Installed: 4:4.6.0really4.5.1-1
Candidate: 4:4.6.0.0-1
alternative "phonon-backend-vlc | phonon-backend" provided by
phonon-backend-xine
* problem:
# aptitude dist-upgrade
The following packages will be upgraded:
phonon{b}
...
The following packages have unmet dependencies:
phonon : Conflicts: phonon-backend-xine but 4:4.6.0really4.4.4-4 is installed.
The following actions will resolve these dependencies:
Remove the following packages:
...
4) kdebase-runtime
...
15) phonon
16) phonon-backend-xine
...
Leave the following dependencies unresolved:
19) kdelibs5-plugins recommends kde-runtime
Accept this solution? [Y/n/q/?] r 15
Rejecting the removal of phonon
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Remove the following packages:
1) phonon-backend-xine
Install the following packages:
2) phonon-backend-null [4:4.6.0.0-1 (testing)]
=> phonon-backend-null appears to be taken randomly, while there is a prefered
alternative listed
Also note the side problem of an alternative removing 18 packages and breaking
a Recommends
being prefered over selecting another alternative. Maybe worth split the bug
for this one ?
--
Yann Dirson - Bertin Technologies
--- End Message ---
--- Begin Message ---
tags 671486 - moreinfo
stop
2016-03-17 20:45 To Yann Dirson:
Control: tags -1 + moreinfo
Hi Yann,
2012-05-04 14:28 Yann Dirson:
Package: aptitude
Version: 0.6.6-1
* Base situation:
$ apt-cache policy phonon
phonon:
Installed: 4:4.6.0really4.5.1-1
Candidate: 4:4.6.0.0-1
alternative "phonon-backend-vlc | phonon-backend" provided by
phonon-backend-xine
[...]
=> phonon-backend-null appears to be taken randomly, while there is a prefered
alternative listed
IMO and according to policy [1], there's nothing special about the first
alternative.
[1] https://www.debian.org/doc/debian-policy/ch-relationships.html
I think that it's a special case for buildds or common practice that
people do to ensure installability when building and so on, but nothing
that the package managers have to abide to.
I think that aptitude doesn't pay attention at all about the relative
position, but even if it does initially, it tries to be smart about it
in cases of conflicts and install packages depending on the overall
solution.
E.g. if you have many of the -vlc or -xine dependencies installed it
might prefer one over the other, in the case of -null maybe it prefers
it simply because it has to install less packages.
(From a high level point of view, aptitude cannot make the cognitive
leap of thinking that if "-null" is "desirable" because it installs few
packages, maybe it is because in fact it provides less/no functionality
compared with the others).
So, all in all, I don't think that this is a bug, but a feature; and the
fact that other tools prefer the first solution is to overcome
limitations on their side.
Closing, for the reasons explained above.
--
Manuel A. Fernandez Montecelo <[email protected]>
--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel