[Aptitude-devel] Bug#678832: aptitude full-upgrade installs unnecessary packages
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Mon Dec 7 13:30:11 UTC 2015
Control: tags -1 + moreinfo
Control: severity -1 minor
Hi Christoph,
2012-06-24 16:15 Christoph Groth:
>Package: aptitude
>Version: 0.6.8-1
>Severity: normal
>
>Very recently, the following problem occurred on my box which is running Debian
>testing:
>
>aptitude full-upgrade wanted to install texlive-fonts-extra (and many MBs of
>packages that texlive-fonts-extra depends upon), though this was not necessary.
>
>I believe that this happened because the new version of texpower in the package
>repository depended on texlive-fonts-extra. However, the currently installed
>version did not and texpower was going to be removed.
>
>To work around this problem, one can remove texpower manually before the
>dist-upgrade.
>
>The thread
>http://thread.gmane.org/gmane.linux.debian.user/438192/focus=438240
>deals with this bug.
>
>Please find below the output of "apt-cache show texpower" and "aptitude -D
>full-upgrade" at the time when the problem occurred.
>
># apt-cache show texpower
>Package: texpower
>Source: texlive-extra
>Version: 2012.20120611-1
>Installed-Size: 122
>Maintainer: Debian TeX Maintainers <debian-tex-maint at lists.debian.org>
>Architecture: all
>Depends: texlive-latex-extra (>= 2011), texlive-fonts-extra (>= 2011), dpkg (>= 1.14.18), tex-common (>= 3)
>Description-en: TeX Live: transitional dummy package
> This is a transitional package for texpower to ensure proper
> upgrade to texlive-latex-extra. It can be safely removed after the
> installation is complete.
>Homepage: http://www.tug.org/texlive/
>Description-md5: b863056b4a7b5e56fe8fa0584f982b26
>Tag: office::presentation, role::plugin, use::editing, use::typesetting,
> use::viewing, works-with-format::pdf, works-with-format::tex,
> works-with::text
>Section: oldlibs
>Priority: extra
>Filename: pool/main/t/texlive-extra/texpower_2012.20120611-1_all.deb
>Size: 50182
>MD5sum: 32da967f51ce328aace720b60a0346e1
>SHA1: d0d9f2f07e803707f5786d74d35666e8b833c299
>SHA256: fc5a2bf449d5fbd46e7b9dec68150057f83b955e733c815ccf589d11133f23f4
>
>Package: texpower
>Source: texlive-extra
>Version: 2012.20120516-1
>Installed-Size: 122
>Maintainer: Debian TeX Maintainers <debian-tex-maint at lists.debian.org>
>Architecture: all
>Depends: texlive-latex-extra (>= 2011), texlive-fonts-extra (>= 2011), dpkg (>= 1.14.18), tex-common (>= 3)
>Description-en: TeX Live: transitional dummy package
> This is a transitional package for texpower to ensure proper
> upgrade to texlive-latex-extra. It can be safely removed after the
> installation is complete.
>Homepage: http://www.tug.org/texlive/
>Description-md5: b863056b4a7b5e56fe8fa0584f982b26
>Tag: office::presentation, role::plugin, use::editing, use::typesetting,
> use::viewing, works-with-format::pdf, works-with-format::tex,
> works-with::text
>Section: tex
>Priority: optional
>Filename: pool/main/t/texlive-extra/texpower_2012.20120516-1_all.deb
>Size: 50062
>MD5sum: 3fbd47f2ae3daf32678c88c86715e24f
>SHA1: 405a03360c98194e3899ffa9217a580d86c14abf
>SHA256: 95d4ab72f7223e4003c0e4fc538eab2db1bc4f663eb6d02daad5f8e3e91bd1fc
>
>Package: texpower
>Status: install ok installed
>Priority: optional
>Section: tex
>Installed-Size: 387
>Maintainer: Rene Engelhard <rene at debian.org>
>Architecture: all
>Version: 0.2-7.1
>Replaces: dvips-landscapeplus, latex-automata, tpmultiinc
>Provides: dvips-landscapeplus, latex-automata, tpmultiinc
>Depends: texlive-latex-recommended, texlive-fonts-recommended, dpkg (>= 1.14.18), tex-common (>= 2.00)
>Recommends: xpdf | pdf-viewer, texpower-manual
>Suggests: texpower-examples
>Conflicts: dvips-landscapeplus, latex-automata, tpmultiinc
>Conffiles:
> /etc/texmf/tex/latex/texpower/tpoptions.cfg 2cccd1df038528659eaeb6b905cfb085
> /etc/texmf/tex/latex/texpower/tpcolors.cfg e3254d02d2f07ca8ba9eaa8c9436d358
> /etc/texmf/tex/latex/texpower/tpsettings.cfg fd92794901dc34d05ddb40ebdeb5879f
> /etc/texmf/dvips/config.landscapeplus 87f912f00a7025fad36077beffbf23d7
>Description: Macros for creating professional presentations with LaTeX
> TeXPower is a bundle of style and class files for creating dynamic
> online presentations with LaTeX.
> .
> It is the most complete macro package in this way and therefore in its
> features quite unique.
> .
> This package also contains some additional packages:
> - latex-automata: Create "automata" for computer science (currently
> DFA and Mealy)
> - tpmultiinc: macros to create "incremental images" in presentations
> - dvips-landscapeplus: better paper sizes for a4 and letter (landscape)
>
># aptitude -D full-upgrade
>The following NEW packages will be installed:
> fonts-comfortaa{a} (D: texlive-fonts-extra)
> fonts-gfs-artemisia{a} (D: texlive-fonts-extra)
> fonts-gfs-complutum{a} (D: texlive-fonts-extra)
> fonts-gfs-didot{a} (D: texlive-fonts-extra)
> fonts-gfs-neohellenic{a} (D: texlive-fonts-extra)
> fonts-gfs-olga{a} (D: texlive-fonts-extra)
> fonts-gfs-solomos{a} (D: texlive-fonts-extra)
> fonts-inconsolata{a} (D: texlive-fonts-extra)
> fonts-junicode{a} (D: texlive-fonts-extra)
> fonts-linuxlibertine{a} (D: texlive-fonts-extra, S: python-docutils)
> fonts-oflb-asana-math{a} (D: texlive-fonts-extra)
> fonts-sil-gentium{a} (D: texlive-fonts-extra, R: fonts-sil-gentium-basic)
> fonts-sil-gentium-basic{a} (D: texlive-fonts-extra)
> ipython-notebook-common{a} (D: ipython-notebook)
> libgegl-0.2-0{a} (D: gimp) libnspr4 libnss3
> otf-freefont{a} (D: texlive-fonts-extra) texlive-fonts-extra
> texlive-fonts-extra-doc{a} (R: texlive-fonts-extra)
> texlive-xetex{a} (R: fonts-oflb-asana-math)
> valgrind-dbg{a} (R: valgrind)
>The following packages will be REMOVED:
> libgegl-0.1-0{u} (D: gimp)
> texpower{u} (R: texlive-latex-extra, R: texpower-manual)
> texpower-manual{u} (R: texpower)
>The following packages will be upgraded:
> alsa-utils audacious audacious-plugins audacious-plugins-data
> autopoint browser-plugin-gnash bsdmainutils bsdutils
> debian-archive-keyring dict dictionaries-common dmidecode gdb-doc
> gettext gettext-base gimp gimp-data glib-networking
> glib-networking-common glib-networking-services gnash gnash-common
> gnome-themes-standard gsettings-desktop-schemas gvfs gvfs-backends
> gvfs-common gvfs-daemons gvfs-libs ipython ipython-doc
> ipython-notebook ipython-qtconsole klibc-utils kmod libaprutil1
> libasound2 libasound2-dev libasound2-plugins libasprintf0c2
> libaudclient2 libaudcore1 libavcodec53 libavformat53 libavutil51
> libblkid1 libdirectfb-1.2-9 libdnet libevent-2.0-5 libfftw3-3
> libgettextpo0 libgimp2.0 libglib2.0-0 libglib2.0-bin
> libglib2.0-data libglib2.0-dev libklibc libkmod2 libkpathsea6
> liblcms1 libmount1 libmysqlclient16 libnautilus-extension1a
> libnewt0.52 libnspr4-0d libnss3-1d libopenmpi-dev libopenmpi1.3
> libperl5.14 libpostproc52 libproxy0 libptexenc1 libpulse0
> libsmbclient libswscale2 libtdb1 libuuid1 libwbclient0 libxapian22
> libxi-dev libxi6 libxml-libxml-perl libxml2 libxml2-utils libyelp0
> linux-headers-3.2.0-2-amd64 linux-headers-3.2.0-2-common
> linux-image-3.2.0-2-amd64 linux-libc-dev logrotate lsb-base
> lsb-release module-init-tools mount music123 myspell-pl
> mysql-common openmpi-bin openmpi-checkpoint openmpi-common perl
> perl-base perl-doc perl-modules python-gi python-gobject
> python-pyexiv2 python-pyexiv2-doc python-pyparsing python-zmq sudo
> texlive texlive-base texlive-binaries texlive-common
> texlive-doc-base texlive-extra-utils texlive-font-utils
> texlive-fonts-recommended texlive-fonts-recommended-doc
> texlive-generic-recommended texlive-lang-dutch texlive-lang-french
> texlive-lang-german texlive-latex-base texlive-latex-base-doc
> texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
> texlive-latex-recommended-doc texlive-luatex texlive-metapost
> texlive-metapost-doc texlive-pictures texlive-pictures-doc
> texlive-pstricks texlive-pstricks-doc texlive-publishers
> texlive-publishers-doc texlive-science texlive-science-doc
> traceroute update-inetd util-linux valgrind whiptail xfce4-notifyd
> xfce4-volumed xinput xserver-common xserver-xephyr
> xserver-xorg-core xserver-xorg-input-synaptics yelp-xsl
>The following packages are RECOMMENDED but will NOT be installed:
> gnome-keyring (R: gvfs-backends, S: libgnome-keyring0)
> uuid-runtime (R: libuuid1)
>154 packages upgraded, 22 newly installed, 3 to remove and 0 not upgraded.
>Need to get 1,130 MB of archives. After unpacking 781 MB will be used.
>Do you want to continue? [Y/n/?] ^C
In the text above, texlive-fonts-extra is marked as new install and not
automatic (lacks {a} as the others have).
It might have been scheduled to be installed in a previous session,
perhaps as part of a previous "resolution" of conflicts: e.g. aptitude
wanting to upgrade texpower, you refusing and marking some packages as
to be removed, etc.
It's not even necessary that you took the conscious decision to choose a
solution involving to install texlive-fonts-extra -- sometimes aptitude
messes up the automatically installed flag (there are many open bugs
about that), so maybe it went from "automatically install
texlive-fonts-extra" to "install texlive-fonts-extra", and thus it
produces the results above.
In any case, in the screen above texlive-fonts-extra is not marked to be
an automatic install, so it is expected that aptitude full-upgrade
intends to install it and all its dependencies. Having stopped there,
done "aptitude purge texlive-fonts-extra" before asking for full-upgrade
would probably have unmarked it as a new installation as well and
produced the same result than removing texpower. (Or equivalently,
firing up the interactive resolver and asking texlive-fonts-extra to
remain uninstalled).
Maybe it's indeed a bug in the resolver, but it's quite difficult to
test that scenario right now. Have you seen the behaviour lately with
this or other packages?
Cheers.
--
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Aptitude-devel
mailing list