[Aptitude-devel] Bug#807076: I accept the final solution, but then it doesn't install anything

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sun Dec 6 00:39:55 UTC 2015


Hi,

2015-12-05 00:25 積丹尼 Dan Jacobson:
>Package: aptitude
>Version: 0.7.4-2
>File: /usr/bin/aptitude-curses
>
>I accept the final solution, but then it doesn't install anything.
>
># aptitude full-upgrade
>The following NEW packages will be installed:
>  libhdb9-heimdal{a} (D: samba)  python-crypto{a} (D: python-samba)
>  python-dnspython{a} (D: samba)  python-ldb{a} (D: python-samba)
>  python-ntdb{a} (D: python-samba, D: samba)
>  python-samba{a} (D: samba, D: samba-common-bin)
>  python-tdb{a} (D: python-samba)
>  samba{a} (D: python-samba, D: samba-common-bin, D: samba-libs)
>  samba-common{a} (D: samba, D: samba-common-bin)
>  samba-common-bin{a} (D: samba, R: samba-common)
>  samba-dsdb-modules{a} (D: samba)  tdb-tools{a} (D: samba)
>The following packages will be upgraded:
>  libsmbclient  samba-libs{b} (D: libldb1)  xserver-xorg-core
>The following packages are RECOMMENDED but will NOT be installed:
>  attr (R: samba)  samba-vfs-modules (R: samba)
>The following packages are SUGGESTED but will NOT be installed:
>  bind9 (S: samba)  bind9utils (S: samba)  ctdb (S: samba)
>  heimdal-clients (S: samba-common-bin)  ldb-tools (S: samba)
>  python-crypto-dbg (S: python-crypto)
>  python-crypto-doc (S: python-crypto)  smbldap-tools (S: samba)
>  winbind (S: samba)
>3 packages upgraded, 12 newly installed, 0 to remove and 3 not upgraded.
>Need to get 12.7 MB/12.9 MB of archives. After unpacking 29.6 MB will be used.
>The following packages have unmet dependencies:
> samba-libs : Depends: libldb1 (< 2:1.1.22~) but 2:1.1.23-1 is installed.
> xserver-xorg-video-vesa : Depends: xorg-video-abi-19 which is a virtual package, provided by:
>                                     - xserver-xorg-core, but 2:1.18.0-1 is to be installed.
> xserver-xorg-video-fbdev : Depends: xorg-video-abi-19 which is a virtual package, provided by:
>                                      - xserver-xorg-core, but 2:1.18.0-1 is to be installed.
> xserver-xorg-input-synaptics : Depends: xorg-input-abi-21 which is a virtual package, provided by:
>                                          - xserver-xorg-core, but 2:1.18.0-1 is to be installed.
> xserver-xorg-input-mouse : Depends: xorg-input-abi-21 which is a virtual package, provided by:
>                                      - xserver-xorg-core, but 2:1.18.0-1 is to be installed.
> xserver-xorg-video-intel : Depends: xorg-video-abi-19 which is a virtual package, provided by:
>                                      - xserver-xorg-core, but 2:1.18.0-1 is to be installed.
> xserver-xorg-input-evdev : Depends: xorg-input-abi-21 which is a virtual package, provided by:
>                                      - xserver-xorg-core, but 2:1.18.0-1 is to be installed.
> xserver-xorg-input-kbd : Depends: xorg-input-abi-21 which is a virtual package, provided by:
>                                    - xserver-xorg-core, but 2:1.18.0-1 is to be installed.
>The following actions will resolve these dependencies:
>[...]
>The following actions will resolve these dependencies:
>
>     Install the following packages:
>1)     python-samba [2:4.1.21+dfsg-2+b2 (unstable)]
>
>     Keep the following packages at their current version:
>2)     libsmbclient [2:4.1.21+dfsg-2+b2 (now, unstable)]
>3)     samba [Not Installed]
>4)     samba-common-bin [Not Installed]
>5)     samba-dsdb-modules [Not Installed]
>6)     samba-libs [2:4.1.21+dfsg-2+b2 (now, unstable)]
>7)     xserver-xorg-core [2:1.17.3-2 (now, unstable)]
>
>
>
>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 6 not upgraded.
>Need to get 0 B of archives. After unpacking 0 B will be used.
>
>Current status: 0 (+0) broken, 6 (+0) upgradable, 49948 (+0) new.

I suppose that this is because:

  python-samba{a} (D: samba, D: samba-common-bin)

and since it's not going to install samba nor samba-common-bin in the
end, and python-samba is only automatically installed and has no
dependencies, it decides to not install python-samba either.  It does a
suboptimal job at communicating this, though.


More in general, I suppose that for the full-upgrade to work, libldb1
would have to be downgraded (if possible at all with the current state
of the repositories.  Maybe if you continued asking for solutions it
would reach that one eventually?

  samba-libs : Depends: libldb1 (< 2:1.1.22~) but 2:1.1.23-1 is installed.

I guess that the situation is similar with the xorg stuff, they are
trying to be installed with incompatible versions.

xserver-xorg-core from experimental provides the virtual packages
xorg-input-abi-20 and -22, but not -19/-21 which is what packages like
xserver-xorg-input-mouse need (-21 in this case).  I am not sure why
there are no versions of the packages in experimental depending on that
version, perhaps the maintainers intend to upload them in the near
future, or perhaps xserver-xorg-core was uploaded as an experiment for
other purposes.

Since you have default release experimental (according to the
attachment), or pinned to that effect, it tries to do the upgrade to
xorg packages in experimental (-core at least), even when they are will
break the system.  If the default release it's unstable, as I tested, it
doesn't try to upgrade to the versions in experimental but only to the
ones in unstable, so the upgrade of xorg stuff works as intended.

So, in summary about this latest part, it seems that it cannot do the
"full upgrade" of all packages because of incompatibility of versions in
the different suites that are into the mix.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list