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

Bug#498881: marked as done (apt-get changes extended_states even during simulated operations)



Your message dated Mon, 1 Feb 2010 23:46:14 +0100
with message-id <c64043e61002011446y206a9584o36ef7b9a15c0d8@mail.gmail.com>
and subject line Close: apt-get changes extended_states even during simulated  operations
has caused the Debian Bug report #498881,
regarding apt-get changes extended_states even during simulated operations
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.)


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

Calling apt-get --simulate install [...] changes the file
/var/lib/apt/extended_states . I tried this on several machines (amd64,
i386), in "normal" conditions and inside chroots.

This can be bad if someone install package A, which causes package B to
be autoinstalled and then simulates installing package B. In this case,
extended_states shows package B to not have been autoinstalled, which
would result in package B not being affected by an autoremove command.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
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::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

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


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

deb http://ftp.debian.org/debian lenny main

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the
Debian a
ii  libc6                    2.7-13          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.1-9       GCC support library
ii  libstdc++6               4.3.1-9         The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                       <none>     (no description available)
ii  aptitude                      0.4.11.8-1 terminal-based package manager
pn  bzip2                         <none>     (no description available)
pn  dpkg-dev                      <none>     (no description available)
ii  lzma                          4.43-14    Compression method of 7z
format in

-- no debconf information

-- 
Olaf Mandel   <olaf@mandel.name>   <http://www.olaf.mandel.name/>
PGP key:      1024D/33398848 2002-09-19
Fingerprint:  0E33 BEA6 1A71 9C5E 62BD  FC0E 99A7 D2C6 3339 8848

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Version: 0.7.22

The problem should be fixed with with apt 0.7.22
as it no longer writes to the state-file in simulation mode.
A few quicktests also suggests that it no longer happens.

The changelog says:

apt (0.7.22) unstable; urgency=low
[…]
[ David Kalnischkies ]
[…]
* do not write state file in simulate mode (closes: #433007)
[…]
 -- Michael Vogt <mvo@debian.org>  Wed, 29 Jul 2009 19:16:22 +0200

I am therefore closing this bug now as fixed,
but please feel free to reopen it if it still occurs.


Best regards / Mit freundlichen Grüßen,

David "DonKult" Kalnischkies


--- End Message ---

Reply to: