Bug#756509: apt: "apt upgrade" suggests to remove packages not installed with apt-get autoremove

2014-07-30 Thread James McCoy
On Wed, Jul 30, 2014 at 03:12:33PM +0200, Ansgar Burchardt wrote:
> running "apt upgrade" suggests to remove libcdt5, libcgraph6, and
> libgvpr2. At the same time it also wants to install them, even though
> graphviz is held back:

Sounds like it may be another instance of #726174.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#756509: apt: "apt upgrade" suggests to remove packages not installed with apt-get autoremove

2014-07-30 Thread Ansgar Burchardt
Package: apt
Version: 1.0.6
Severity: minor

Hi,

running "apt upgrade" suggests to remove libcdt5, libcgraph6, and
libgvpr2. At the same time it also wants to install them, even though
graphviz is held back:

+---
| ~ # apt upgrade  
| Reading package lists... Done
| Building dependency tree   
| Reading state information... Done
| Calculating upgrade... The following packages were automatically installed 
and are no longer required:
|   libcdt5 libcgraph6 libgvpr2
| Use 'apt-get autoremove' to remove them.
| Done
| The following NEW packages will be installed:
|   libcdt5 libcgraph6 libgvpr2
| The following packages have been kept back:
|   graphviz
| 0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
| Need to get 0 B/359 kB of archives.
| After this operation, 911 kB of additional disk space will be used.
| Do you want to continue? [Y/n] n
+---

Just to be sure, the packages are currently not installed:

+---
| ~ # dpkg -l libcdt5 libcgraph6 libgvpr2  
| dpkg-query: no packages found matching libcdt5
| dpkg-query: no packages found matching libcgraph6
| dpkg-query: no packages found matching libgvpr2
+---

apt-get dist-upgrade will upgrade graphviz:

+---
| ~ # apt-get dist-upgrade
| Reading package lists... Done
| Building dependency tree   
| Reading state information... Done
| Calculating upgrade... The following packages were automatically installed 
and are no longer required:
|   libcdt4 libcgraph5 libgraph4 libgvpr1
| Use 'apt-get autoremove' to remove them.
| Done
| The following packages will be REMOVED:
|   libgvc5
| The following NEW packages will be installed:
|   libcdt5 libcgraph6 libgvc6 libgvpr2
| The following packages will be upgraded:
|   graphviz
| 1 upgraded, 4 newly installed, 1 to remove and 0 not upgraded.
| Need to get 1415 kB/1774 kB of archives.
| After this operation, 10.4 MB of additional disk space will be used.
| Do you want to continue? [Y/n]
| [...]
| Unpacking graphviz (2.38.0-4) over (2.26.3-17.1) ...
+---

Afterwards apt-get autoremove removed libcdt4, libcgraph5, libgraph4,
libgvpr1. "apt upgrade" then stopped its strange behavior.

Ansgar

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "0";
APT::Install-Suggests "0";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^linux-image-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^linux-headers-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^linux-headers-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^.*-modules-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^.*-modules-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^linux-tools-3\.13-1-amd64$";
APT::NeverAutoRemove:: "^linux-tools-3\.14-1-amd64$";
APT::VersionedKernelPackages "";
APT::VersionedKernelPackages:: "linux-image";
APT::VersionedKernelPackages:: "linux-headers";
APT::VersionedKernelPackages:: "linux-image-extra";
APT::VersionedKernelPackages:: "linux-signed-image";
APT::VersionedKernelPackages:: "kfreebsd-image";
APT::VersionedKernelPackages:: "kfreebsd-headers";
APT::VersionedKernelPackages:: "gnumach-image";
APT::VersionedKernelPackages:: ".*-modules";
APT::VersionedKernelPackages:: ".*-kernel";
APT::VersionedKernelPackages:: "linux-backports-modules-.*";
APT::VersionedKernelPackages:: "linux-tools";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Update "";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:: "/usr/bin/test -e 
/usr/share/dbus-1/system-services/org.freedesktop