Bug#867226: aptitude seems dependency problems when there are none

2017-08-06 Thread Nikolaus Rath
On Aug 05 2017, "Manuel A. Fernandez Montecelo"  
wrote:
> Hi,
>
> 2017-07-04 23:24 Nikolaus Rath:
>>
>>However, according to aptitude, there is something seriously wrong:
>>
>>$ aptitude
>># Select Actions -> Cancel pending actions
>
> Note that the behaviour of this changed in the last few versions, 0.8
> series I think, and that it doesn't cancel actions saved in previous
> sessions.

Ah, that explains it. Thanks!

>>This is annoying, because I would like to use aptitude to perform
>>some actions - yet there is no way to do so without making lots
>>of other changes to my system.
>
> Looks to me that there are actions saved from previous sessions (e.g. an
> upgrade of some packages, or request to install some new ones), and then
> got stuck due to problems of interdependencies between packages
> (e.g. the backports not able to link with some of the libraries; or
> clang-3.5 from unstable not being compatible with libraries that need to
> be installed).
>
> If you still haven't found a solution by now, or in future situations,
> you might want to try "aptitude keep-all" in the command line, or ":" in
> the root of the trees in the UI, and then perform the actions that you
> intended.

keep-all fixed the issues, thanks!

> Other than that, I cannot see any indication that aptitude gets confused
> with dependency problems per se, so I am not sure what you mean with the
> title of the bug report, can you please clarify?

I was assuming that the interactive "Cancel pending" was equivalent to
the CLI "keep-all". Since aptitude was still complaining about broken
dependencies afterwards, I assumed that it must be very confused about
them.


Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

 »Time flies like an arrow, fruit flies like a Banana.«



Bug#867226: aptitude seems dependency problems when there are none

2017-08-05 Thread Manuel A. Fernandez Montecelo

Hi,

2017-07-04 23:24 Nikolaus Rath:


However, according to aptitude, there is something seriously wrong:

$ aptitude
# Select Actions -> Cancel pending actions


Note that the behaviour of this changed in the last few versions, 0.8
series I think, and that it doesn't cancel actions saved in previous
sessions.



This is annoying, because I would like to use aptitude to perform
some actions - yet there is no way to do so without making lots
of other changes to my system.


Looks to me that there are actions saved from previous sessions (e.g. an
upgrade of some packages, or request to install some new ones), and then
got stuck due to problems of interdependencies between packages
(e.g. the backports not able to link with some of the libraries; or
clang-3.5 from unstable not being compatible with libraries that need to
be installed).

If you still haven't found a solution by now, or in future situations,
you might want to try "aptitude keep-all" in the command line, or ":" in
the root of the trees in the UI, and then perform the actions that you
intended.

Other than that, I cannot see any indication that aptitude gets confused
with dependency problems per se, so I am not sure what you mean with the
title of the bug report, can you please clarify?


Cheers.
--
Manuel A. Fernandez Montecelo 



Bug#867226: aptitude seems dependency problems when there are none

2017-07-04 Thread Nikolaus Rath
Package: aptitude
Version: 0.8.7-1
Severity: normal

According to apt, there are no dependency problems on my system:

# apt install -f
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbasicusageenvironment0 libchromaprint0 libdvbpsi9 libfreerdp-cache1.1
  libfreerdp-client1.1 libfreerdp-codec1.1 libfreerdp-common1.1.0 
libfreerdp-core1.1
  libfreerdp-crypto1.1 libfreerdp-gdi1.1 libfreerdp-locale1.1 
libfreerdp-primitives1.1
  libfreerdp-rail1.1 libfreerdp-utils1.1 libgroupsock1 libjsoncpp0 
liblivemedia23
  libmusicbrainz5-1 libnm-glib-vpn1 libnm-gtk-common libnm-gtk0 libsctp1
  libspice-client-gtk-3.0-4 libstreams0 libusageenvironment1 libvncclient0 
libvncserver0
  libvte-common libvte9 libwebpdemux1 libwebpmux1 libwine-gecko-2.21 
libwinpr-crt0.1
  libwinpr-crypto0.1 libwinpr-dsparse0.1 libwinpr-environment0.1 
libwinpr-file0.1
  libwinpr-handle0.1 libwinpr-heap0.1 libwinpr-input0.1 libwinpr-interlocked0.1
  libwinpr-library0.1 libwinpr-path0.1 libwinpr-pool0.1 libwinpr-registry0.1
  libwinpr-rpc0.1 libwinpr-sspi0.1 libwinpr-synch0.1 libwinpr-sysinfo0.1 
libwinpr-thread0.1
  libwinpr-utils0.1 libxcb-composite0 nautilus-data python-colorama 
python-distlib
  python-html5lib python-webencodings vlc-nox vorbis-tools
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

However, according to aptitude, there is something seriously wrong:

$ aptitude
# Select Actions -> Cancel pending actions
# Select Actions -> Quit

$ aptitude install

# aptitude install
The following NEW packages will be installed:
  alsa-utils android-tools-adb{b} ant ant-optional aspectj binfmt-support 
btrfs-tools 
  bzip2-doc bzr bzr-builddeb{b} cups-pk-helper cvs cython dbus-java-bin 
default-jdk{b} 
  dia dia-common dia-libs dia-shapes dict distro-info eclipse-cdt 
eclipse-cdt-jni 
  eclipse-jdt eclipse-pde eclipse-platform{b} eclipse-platform-data{b} 
eclipse-rcp{b} 
  fastjar finger gawk gdebi-core gimmix{b} gir1.2-notify-0.7 
gir1.2-packagekitglib-1.0 
  gnome-terminal{b} growisofs gtk2-engines hdfview{b} hgsubversion iceweasel 
jarwrapper 
  java-wrappers junit junit4 ktimetracker libapache-pom-java libapr1 
libaprutil1 
  libasm3-java libasm4-java libaspectj-java libb-hooks-op-check-perl 
  libbareword-filehandles-perl libbcprov-java libbonoboui2-0{b} 
libbonoboui2-common 
  libbz2-dev libcapture-tiny-perl libcglib3-java libclass-method-modifiers-perl 
  libclass-methodmaker-perl libclass-xsaccessor-perl libcommons-beanutils-java 
  libcommons-cli-java libcommons-codec-java libcommons-collections3-java 
  libcommons-compress-java libcommons-dbcp-java libcommons-digester-java 
  libcommons-httpclient-java libcommons-lang-java libcommons-lang3-java 
  libcommons-logging-java libcommons-parent-java libcommons-pool-java 
libdata-perl-perl 
  libdb-java libdb-je-java libdb5.3-java libdb5.3-java-jni libdbus-java 
  libdevel-caller-perl libdevel-globaldestruction-perl libdevel-lexalias-perl 
  libdnsjava-java libeasymock-java{b} libecj-java libequinox-osgi-java 
  libfelix-bundlerepository-java libfelix-framework-java 
libfelix-gogo-command-java 
  libfelix-gogo-runtime-java libfelix-gogo-shell-java libfelix-main-java 
  libfelix-osgi-obr-java libfelix-shell-java libfelix-utils-java 
libfile-libmagic-perl 
  libgd-perl libgeronimo-jpa-2.0-spec-java libgeronimo-osgi-support-java 
  libglib2.0-bin{b} libgnomeui-0{b} libgnomeui-common libgnupg-interface-perl 
  libgpod-common{b} libgssapi3-heimdal libgtksourceview2.0-0 
libgtksourceview2.0-common 
  libhamcrest-java libhdf4-0 libheimntlm0-heimdal libhttpclient-java 
libhttpcore-java 
  libhttpmime-java libice-dev libicu4j-4.4-java libicu4j-java 
libimport-into-perl 
  libindirect-perl libjcalendar-java libjgoodies-common-java 
libjgoodies-forms-java 
  libjgraph-java libjhdf4-java libjhdf4-jni{b} libjhdf5-java libjhdf5-jni{b} 
  libjline-java libjmdns-java libjna-java libjna-jni libjs-codemirror 
  libjs-jquery-metadata libjs-jquery-tablesorter libjs-twitter-bootstrap 
libjsch-java 
  libjson-simple-java libjtidy-java libjzlib-java libkcalcore4{b} 
libkdc2-heimdal 
  libkxml2-java liblaf-widget-java liblexical-sealrequirehints-perl 
liblog4j1.2-java 
  liblucene2-java libmaa3 libmac-widgets-java libmatthew-debug-java 
  libmodule-runtime-perl libmoo-perl libmoox-handlesvia-perl libmoox-late-perl 
libmpd1 
  libmultidimensional-perl libnet-idn-encode-perl libnxml0 libobjenesis-java 
  libosgi-compendium-java libosgi-core-java{b} libosgi-foundation-ee-java 
  libpackagekit-glib2-18 libpadwalker-perl libparams-classify-perl 
libpoppler-qt5-1 
  libpthread-stubs0-dev libqt5sql5-sqlite librecode0 libregexp-java 
  libreoffice-help-en-us librole-tiny-perl libserf-1-1 libservlet3.0-java 
libsm-dev 
  libstrictures-perl libsub-exporter-progressive-perl libsvn-perl libsvn1 
  libswt-cairo-gtk-3-jni libswt-glx-gtk-3-jni