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

Bug#641990: marked as done (Clean never option does not work)



Your message dated Sun, 18 Sep 2011 17:07:33 +0200
with message-id <CAAZ6_fBLGemn1Ai2sWkv2SgPwOtwSD7OjTAzqAp9v1Kh-ocziw@mail.gmail.com>
and subject line Re: Bug#641990: Clean never option does not work
has caused the Debian Bug report #641990,
regarding Clean never option does not work
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.)


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

When apt has finished installing a package, it asks a question as follows:

Do you wish to delete previously downloaded .deb files?

Accidentally answering Yes will cause all .deb files to be deleted, even if
they are being shared across the network.

The following configuration option in /etc/apt/apt.conf is supposed to
suppress this question, preventing accidental deletion of the .deb files.
However, this option is ineffective, and the question still appears:

APT::DSelect::Clean "never";

The question should not be asked if Clean "never" is configured as above.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
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.*";
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::Default-Release "squeeze";
APT::Cache-Limit "33554432";
APT::DSelect "";
APT::DSelect::Clean "never";
APT::Architectures "";
APT::Architectures:: "i386";
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::Media "";
Dir::Media::MountPath "/media/apt";
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]+$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::Languages "";
Acquire::Languages:: "none";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
 "Acquire::FTP::Passive";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- /etc/apt/preferences --

Package: *
Pin: release a=stable
Pin-Priority: 999

Package: *
Pin: release a=testing
Pin-Priority: 60

Package: *
Pin: release a=unstable
Pin-Priority: 50


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

#
# This is the apt source file
#

#deb file:///cdrom/ squeeze main

deb ftp://ftp.debian.org/debian/ squeeze main contrib non-free

# deb-src ftp://ftp.debian.org/debian/ squeeze main contrib non-free

# deb http://security.debian.org/ squeeze/updates main
# deb-src http://security.debian.org/ squeeze/updates main

deb ftp://ftp.debian.org/debian/ unstable main contrib non-free

deb-src ftp://ftp.debian.org/debian/ unstable main contrib non-free

# deb http://www.backports.org/debian squeeze-backports main contrib non-free

# deb http://unofficial.debian-maintainers.org/ squeeze/backports main contrib non-free restricted
# deb-src http://unofficial.debian-maintainers.org/ squeeze/backports main contrib non-free restricted

deb ftp://ftp.debian.org/debian/ experimental main contrib non-free


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i386)

Kernel: Linux 3.0.0-1-486
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2010.08.28       GnuPG archive keys of the Debian a
ii  gnupg                   1.4.10-4         GNU privacy guard - a free PGP rep
ii  libapt-pkg4.12          0.8.16~exp6      APT's package managment runtime li
ii  libc6                   2.13-18          Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.6.0-14       GCC support library
ii  libstdc++6              4.6.0-3          The GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                       <none>     (no description available)
pn  aptitude | synaptic | wajig   <none>     (no description available)
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
pn  dpkg-dev                      <none>     (no description available)
ii  lzma                          4.43-14    Compression method of 7z format in
pn  python-apt                    <none>     (no description available)

-- debconf-show failed



--- End Message ---
--- Begin Message ---
On Sun, Sep 18, 2011 at 14:21, Mark Hobley <markhobley@yahoo.co.uk> wrote:
> The following configuration option in /etc/apt/apt.conf is supposed to
> suppress this question, preventing accidental deletion of the .deb files.
> However, this option is ineffective, and the question still appears:
>
> APT::DSelect::Clean "never";
>
> The question should not be asked if Clean "never" is configured as above.


It would work if you would use
DSelect::Clean "never";
as configuration option instead as it is documented.
APT::DSelect::Clean is not a valid option…

I am therefore closing this bug as documentation misread.


Best regards

David Kalnischkies


--- End Message ---

Reply to: