[Aptitude-devel] Bug#570377: aptitude chooses to remove packages instead of upgrading
Andrei POPESCU
andreimpopescu at gmail.com
Sun Jun 8 22:43:55 UTC 2014
On Sb, 08 feb 14, 19:45:11, Chris Tillman wrote:
>
> OK, so my proposal is to set the default SolutionCost to "safety, removals"
> or else "safety, priority, removals", figure out what the performance
> problems are with these and resolve them before releasing. You suggested
> adjusting the default SolutionCost Daniel, rather than the default safety
> cost for removals, which to me is a much better way of stating that we like
> removals slightly less than we like install-default or keep. How about it?
Your proposal is definitely an improvement, however:
# LANG=C aptitude full-upgrade
The following packages will be upgraded:
libldb1
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 109 kB of archives. After unpacking 27.6 kB will be freed.
The following packages have unmet dependencies:
samba-libs : Depends: libldb1 (< 1:1.1.17~) but 1:1.1.17-1 is to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
1) gvfs-backends
2) kde-runtime
3) konsole
4) krusader
5) libsmbclient
6) lokalize
7) mplayer2
8) phonon-backend-vlc
9) samba-libs
10) smplayer
11) smplayer-l10n
12) vlc
13) vlc-nox
14) vlc-plugin-notify
15) vlc-plugin-vlsub
16) xbmc
17) xbmc-bin
Leave the following dependencies unresolved:
18) gnome-bluetooth recommends gvfs-backends
19) kdelibs5-plugins recommends kde-runtime
20) pacpl recommends mplayer
21) pcmanfm recommends gvfs-backends
22) tuxcmd-modules recommends gvfs-backends
23) youtube-dl recommends mplayer2 | mplayer
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libldb1 [1:1.1.16-1 (now, testing)]
Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
I tried the default, "safety,priority,removals", "safety,removals", but
only "removals" comes up with the correct solution:
# LANG=C aptitude full-upgrade
The following packages will be upgraded:
libldb1
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 109 kB of archives. After unpacking 27.6 kB will be freed.
The following packages have unmet dependencies:
samba-libs : Depends: libldb1 (< 1:1.1.17~) but 1:1.1.17-1 is to be installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libldb1 [1:1.1.16-1 (now, testing)]
Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Hope this helps,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20140609/8e326fd3/attachment.sig>
More information about the Aptitude-devel
mailing list