Debian Bug report logs - #752186
apt: Conflicting dist-upgrade solution

version graph

Package: apt; Maintainer for apt is APT Development Team <[email protected]>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: "Nelson A. de Oliveira" <[email protected]>

Date: Fri, 20 Jun 2014 18:33:01 UTC

Severity: normal

Found in version apt/1.0.5

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], APT Development Team <[email protected]>:
Bug#752186; Package apt. (Fri, 20 Jun 2014 18:33:06 GMT) (full text, mbox, link).


Acknowledgement sent to "Nelson A. de Oliveira" <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], APT Development Team <[email protected]>. (Fri, 20 Jun 2014 18:33:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: "Nelson A. de Oliveira" <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: apt: Conflicting dist-upgrade solution
Date: Fri, 20 Jun 2014 15:30:31 -0300
Package: apt
Version: 1.0.5
Severity: normal

Hi!

I am seeing some conflicting result from "apt-get dist-upgrade" lately:

=====
# LC_ALL=C 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:
  libcryptsetup4 systemd
Use 'apt-get autoremove' to remove them.
Done
The following NEW packages will be installed:
  libcryptsetup4 libsystemd-daemon0 systemd
The following packages have been kept back:
  policykit-1 udisks2
The following packages will be upgraded:
  acpi-fakekey acpi-support acpi-support-base dictionaries-common fuse
  gdbserver libfuse2 sisu vim vim-common vim-runtime
11 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 9589 kB of archives.
After this operation, 5693 kB of additional disk space will be used.
Do you want to continue? [Y/n]
=====

See that it says that systemd is no longer needed (and suggests to use
apt-get autoremove) and at the same time it says that systemd will be
installed.

Note that I don't have systemd installed:

=====
$ LC_ALL=C apt-cache policy systemd
systemd:
  Installed: (none)
  Candidate: 204-10
  Version table:
     208-1 0
        100 http://http.debian.net/debian/ experimental/main amd64 Packages
     204-10 0
        500 http://http.debian.net/debian/ unstable/main amd64 Packages
=====

If it isn't installed it shouldn't say that it's no longer required.
I also can't see a dependency here that needs systemd installed.

Another strange thing:

=====
# apt-get clean                


# LC_ALL=C 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:
  libcryptsetup4 systemd
Use 'apt-get autoremove' to remove them.
Done
The following NEW packages will be installed:
  libcryptsetup4 libsystemd-daemon0 systemd
The following packages have been kept back:
  policykit-1 udisks2
The following packages will be upgraded:
  acpi-fakekey acpi-support acpi-support-base dictionaries-common fuse gdbserver libfuse2 sisu vim vim-common vim-runtime
11 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 9589 kB of archives.
After this operation, 5693 kB of additional disk space will be used.
Do you want to continue? [Y/n] ^C


# LC_ALL=C apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  libsystemd-daemon0
The following packages have been kept back:
  policykit-1 udisks2
The following packages will be upgraded:
  acpi-fakekey acpi-support acpi-support-base dictionaries-common fuse gdbserver libfuse2 sisu vim vim-common vim-runtime
11 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 8353 kB of archives.
After this operation, 377 kB of additional disk space will be used.
Do you want to continue? [Y/n]
=====

Note that I did a clean, dist-upgrade, Ctrl+C and another dist-upgrade
run. It didn't say anything about systemd this time.

It's fully reproducible this strange result with systemd.

Thank you!

Best regards,
Nelson

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
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\.14-1-amd64$";
APT::NeverAutoRemove:: "^linux-headers-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^.*-modules-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-3\.14-1-amd64$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-3\.14-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::Architectures "";
APT::Architectures:: "amd64";
APT::Architectures:: "i386";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "1";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "2";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-9n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "3";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-9";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "4";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Bin::lzma "/usr/bin/xz";
Dir::Media "";
Dir::Media::MountPath "/media/cdrom";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Dir::Ignore-Files-Silently:: "\.distUpgrade$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom";
Acquire::Retries "3";
Acquire::http "";
Acquire::http::Pipeline-Depth "4";
Acquire::http::Timeout "60";
Acquire::http::No-Cache "true";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
Acquire::CompressionTypes "";
Acquire::CompressionTypes::Order "";
Acquire::CompressionTypes::Order:: "lzma";
Acquire::CompressionTypes::Order:: "bz2";
Acquire::CompressionTypes::Order:: "gz";
Acquire::Queue-Mode "host";
Dpkg "";
Dpkg::Progress-Fancy "true";
Dpkg::Pre-Install-Pkgs "";
Dpkg::Pre-Install-Pkgs:: "adequate --help >/dev/null 2>&1 || exit 0; exec adequate --user nobody --apt-preinst";
Dpkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
Dpkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
Dpkg::Post-Invoke "";
Dpkg::Post-Invoke:: "adequate --help >/dev/null 2>&1 || exit 0; exec adequate --debconf --user nobody --pending";
Dpkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | egrep -c '(remove|purge)') != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
Dpkg::Tools "";
Dpkg::Tools::Options "";
Dpkg::Tools::Options::adequate "";
Dpkg::Tools::Options::adequate::Version "2";
Dpkg::Tools::Options::/usr/bin/apt-listchanges "";
Dpkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
Adequate "";
Adequate::Enabled "false";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

deb http://http.debian.net/debian unstable main contrib non-free
#deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
deb http://http.debian.net/debian experimental main contrib non-free
#deb http://ftp.us.debian.org/debian/ experimental main contrib non-free

deb-src http://http.debian.net/debian unstable main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ unstable main contrib non-free
deb-src http://http.debian.net/debian experimental main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ experimental main contrib non-free

deb http://www.deb-multimedia.org sid main non-free
deb http://www.deb-multimedia.org experimental main

deb http://mozilla.debian.net/ experimental iceweasel-aurora

#deb http://people.debian.org/~rene/libreoffice/4.0.0/ ./

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2012.4
ii  gnupg                   1.4.16-1.1
ii  libapt-pkg4.12          1.0.5
ii  libc6                   2.19-3
ii  libgcc1                 1:4.9.0-7
ii  libstdc++6              4.9.0-7

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.11-1
ii  dpkg-dev    1.17.10
ii  python-apt  0.9.3.7

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Mon Nov 11 13:47:04 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.