[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689331: marked as done (apt generates an empty edsp requests if package is already installed)



Your message dated Tue, 16 Oct 2012 16:32:34 +0000
with message-id <E1TOA4I-0006HU-7k@franck.debian.org>
and subject line Bug#689331: fixed in apt 0.9.7.6
has caused the Debian Bug report #689331,
regarding apt generates an empty edsp requests if package is already installed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
689331: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689331
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.9.7.5
Severity: normal

Dear Maintainer,

invoking "apt-get install --solver dump bash" generates an edsp request
with an empty install request if the version of bash is already
installed but a not empty request if the version of bash is installed
with an older version. (bash is an example here ...)

This has two unwanted consequences : passing to an external solver an
empty request will effectively 'fix' the package installation - if
broken - leading to the possible situation where the new installation
will not contain the requested package. A different installation might
exists, but the solver does not have enough information to choose it. 

The second scenario is if apt-get is invoked with --reinstall .
Generating an empty request will generate a solution that ignores the
package to be reinstalled ...

I suggest to always add the request even if the package is already
installed at it newest version giving the solver all the information to
provide back a solution to apt.

pietro

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::NeverAutoRemove:: "^gnumach$";
APT::NeverAutoRemove:: "^gnumach-image.*";
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";
APT::Compressor::::Name "";
APT::Compressor::::Extension ".";
APT::Compressor::::Binary "";
APT::Compressor::::Cost "100";
APT::Compressor::::CompressArg "";
APT::Compressor::::CompressArg:: "-9";
APT::Compressor::::UncompressArg "";
APT::Compressor::::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::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$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt || exit 10";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
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";
CommandLine "";
CommandLine::AsString "apt-config dump";

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


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

# 

deb http://debian.mirror.inra.fr/debian/ sid main non-free contrib
deb http://debian.mirror.inra.fr/debian/ squeeze non-free contrib
deb http://debian.mirror.inra.fr/debian/ experimental main non-free contrib
deb http://debian.mirror.inra.fr/debian/ testing main non-free contrib
deb-src http://debian.mirror.inra.fr/debian/ sid main non-free contrib

deb http://downloads.skewed.de/apt/sid sid main

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

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.12-4+b1
ii  libapt-pkg4.12          0.9.7.5
ii  libc6                   2.13-35
ii  libgcc1                 1:4.7.2-2
ii  libstdc++6              4.7.2-2

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.8.1-2
ii  dpkg-dev    1.16.8
ii  python-apt  0.8.7
ii  xz-utils    5.1.1alpha+20120614-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.9.7.6

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 689331@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 16 Oct 2012 18:08:53 +0200
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.9.7.6
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package managment related utility programs
 libapt-inst1.5 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg4.12 - package managment runtime library
Closes: 688863 689323 689331
Changes: 
 apt (0.9.7.6) unstable; urgency=low
 .
   [ Program translation updates ]
   * Ukrainian (A. Bondarenko)
 .
   [ David Kalnischkies ]
   * apt-pkg/pkgcachegen.cc:
     - ensure that dependencies for packages:none are always generated
     - add 2 missing remap registrations causing a segfault in case
       we use the not remapped iterators after a move of the mmap again
     - write the native architecture as unique string into the cache header
       as it is used for arch:all packages as a map to arch:native.
       Otherwise arch comparisons later will see differences (Closes: #689323)
   * apt-pkg/pkgcache.cc:
     - ignore negative dependencies applying in the same group for M-A:same
       packages on the real package name as self-conflicts (Closes: #688863)
   * cmdline/apt-cache.cc:
     - print versioned dependency relations in (r)depends if the option
       APT::Cache::ShowVersion is true (default: false) as discussed in
       #218995 to help debian-cd fixing #687949. Thanks to Sam Lidder
       for initial patch and Steve McIntyre for nagging and testing!
   * apt-pkg/edsp.cc:
     - include reinstall requests and already installed (= protected) packages
       in the install-request for external resolvers (Closes: #689331)
   * apt-pkg/policy.cc:
     - match pins with(out) an architecture as we do on the commandline
       (partly fixing #687255, b= support has to wait for jessie)
   * apt-pkg/contrib/netrc.cc:
     - remove the 64 char limit for login/password in internal usage
     - remove 256 char line limit by using getline() (POSIX.1-2008)
 .
   [ Colin Watson ]
   * apt-pkg/pkgcachegen.cc:
     - Fix crash if the cache is remapped while writing a Provides version
       (LP: #1066445).
Checksums-Sha1: 
 66615a2830c01bd0d477bcee2d8d488347c0d1b5 1689 apt_0.9.7.6.dsc
 8e87fa703914ed6f5e1d2eef39f6f02e63485663 3390939 apt_0.9.7.6.tar.gz
 c1e0d0fcca370c18823470ac232e823c4b542807 261552 apt-doc_0.9.7.6_all.deb
 a3adf876972ac2cad2f4481be76f397ddf0e419c 960668 libapt-pkg-doc_0.9.7.6_all.deb
 5185910e4e939006106ed6ce5df721f03e888d97 889976 libapt-pkg4.12_0.9.7.6_amd64.deb
 72f0bd16b1e46ec42d5981449c06df119a75ae41 165330 libapt-inst1.5_0.9.7.6_amd64.deb
 608b467f698617c1b0ee5c29e8c1afa5f0874c86 1240664 apt_0.9.7.6_amd64.deb
 97b451c53f724992aa22f1fc1344ed508cfca5c8 185898 libapt-pkg-dev_0.9.7.6_amd64.deb
 8f5e3e038f0dee9bd3a1d0b7ab2a8cdbb05c422e 374770 apt-utils_0.9.7.6_amd64.deb
 fce26ea6acb466f8efe93b6e22dd6821997d89d6 107648 apt-transport-https_0.9.7.6_amd64.deb
Checksums-Sha256: 
 cc1b6ec72df0671c08f5ed60b9afeeef9b2d8e89dd74ccf3a07124bda9361da6 1689 apt_0.9.7.6.dsc
 655ea34aa5dec633aa53abdc31d84fe1862797d5db21f43451975af7c4d5bbde 3390939 apt_0.9.7.6.tar.gz
 881710b37445a5d17b7b28154003fdb972147d7984b930aa86dff1f5b069d26a 261552 apt-doc_0.9.7.6_all.deb
 bb69be960c15d158b1c13ada69f02c8663b3348badedd0360e48fd9c1dd681d9 960668 libapt-pkg-doc_0.9.7.6_all.deb
 2278fb8302662794dcbacf9e613fb1833597106094adad86fd4759ae5c44abd3 889976 libapt-pkg4.12_0.9.7.6_amd64.deb
 14355661b3efe89b84097ca51b64dda0b43e8177daf0ebc447762f77beaf5144 165330 libapt-inst1.5_0.9.7.6_amd64.deb
 8610b3062652d062b3ad8c307f617417a37ca8e43dab4d6b350d3e408957ef7c 1240664 apt_0.9.7.6_amd64.deb
 bdc2518d1beff63311d04cb2ab7235c8af8124df2025824dd5b286c209681107 185898 libapt-pkg-dev_0.9.7.6_amd64.deb
 f72cf02eec1a2b71b1402d0d888b96b2660c033e16a2b65dccaf6fe76afc2118 374770 apt-utils_0.9.7.6_amd64.deb
 3404d199dee13f2ba4ed0766542da35b60abea9fd5c7f91a5f29c5758b9eddbe 107648 apt-transport-https_0.9.7.6_amd64.deb
Files: 
 0acd27ad73b8a007ef5c8cdbeb09b1c8 1689 admin important apt_0.9.7.6.dsc
 3cba8b6757c33b7f8f2f8d2eb5705a25 3390939 admin important apt_0.9.7.6.tar.gz
 100f5326e7c2c6fc6ace0e833a0c8912 261552 doc optional apt-doc_0.9.7.6_all.deb
 0dc84b3bfba7ba1950644c9f80291ec6 960668 doc optional libapt-pkg-doc_0.9.7.6_all.deb
 c7a8132d459f5c3f5b359154392418da 889976 libs important libapt-pkg4.12_0.9.7.6_amd64.deb
 8c989866778b5cea6708027d119e4759 165330 libs important libapt-inst1.5_0.9.7.6_amd64.deb
 98e213eb018766d0dbba46f5af785ebc 1240664 admin important apt_0.9.7.6_amd64.deb
 1ae127ed0dd7d234209c7fc858e5d8e3 185898 libdevel optional libapt-pkg-dev_0.9.7.6_amd64.deb
 09ff5c348317fe0e054daae91c7cb7e1 374770 admin important apt-utils_0.9.7.6_amd64.deb
 a80375fc87c563e9803616b46e8d2f83 107648 admin optional apt-transport-https_0.9.7.6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlB9iw0ACgkQliSD4VZixzSsuwCfX2HwELNWvYfuZN07KpHlvvNH
NBcAn3hMlMXwgulnBw8TsWpPBpQATbMT
=FHEd
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: