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

Bug#640122: marked as done (apt-get ignores apt.conf option "Acquire::Max-ValidTime" on amd64)



Your message dated Mon, 12 Sep 2011 16:32:17 +0000
with message-id <E1R39Qf-0004zi-DV@franck.debian.org>
and subject line Bug#640122: fixed in apt 0.8.15.7
has caused the Debian Bug report #640122,
regarding apt-get ignores apt.conf option "Acquire::Max-ValidTime" on amd64
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.)


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


We're using an internal mirror which is updated at a defined interval for consistency.
The 'Release' files from security.debian.org set a quite short timeout in their Vaild-Until:
header (10 days). If we're trying to update an internal system from this mirror a few days
later (apt-get update), it complains about the 'Release' file being expired and ignores it
by default.

So we've set the apt.conf option "Acquire::Max-ValidTime" to "1209600" (see apt-config output
below). While this works on i686 systems, it is ignored on amd64 systems, even though
apt-config shows it. We've worked around this bug for now  by also setting
"Acquire::Check-Valid-Until" to "false" on our amd64 systems (this option is not ignored),
but this isn't a real solution.

I already tried setting it as APT::Acquire::Max-ValidTime "1209600" - but that version
is ignored on both i686 and amd64.

-- 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::Acquire "";
APT::Acquire::Translation "environment";
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::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";
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::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]+$";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
Acquire "";
Acquire::Check-Valid-Until "false";
Acquire::Max-ValidTime "1209600";
CommandLine "";
CommandLine::AsString "apt-config dump";

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


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

deb http://debian-squeeze.vmsd.de/debian/ squeeze main contrib non-free
deb-src http://debian-squeeze.vmsd.de/debian/ squeeze main contrib non-free

deb http://debian-squeeze.vmsd.de/debian-security/ squeeze/updates main contrib non-free
deb-src http://debian-squeeze.vmsd.de/debian-security/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://debian-squeeze.vmsd.de/debian/ squeeze-updates main contrib non-free
deb-src http://debian-squeeze.vmsd.de/debian/ squeeze-updates main contrib non-free

-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
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  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.5-8        GCC support library
ii  libstdc++6              4.4.5-8          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)
ii  aptitude              0.6.3-3.2          terminal-based package manager (te
ii  bzip2                 1.0.5-6            high-quality block-sorting file co
ii  dpkg-dev              1.15.8.11          Debian package development tools
pn  lzma                  <none>             (no description available)
ii  python-apt            0.7.100.1+squeeze1 Python interface to libapt-pkg

-- no debconf information

Diese elektronische Nachricht ist vertraulich. Die Information ist 
nur fuer den Adressaten bestimmt. Falls Sie nicht der Adressat 
sind, informieren Sie bitte sofort den Absender und vernichten 
Sie diese E-Mail sowie alle Kopien und angeschlossenen 
Anlagen. Bitte beachten Sie, dass es in diesem Fall verboten und 
gesetzeswidrig ist, diese Nachricht zu kopieren, weiterzuleiten 
oder zu benutzen. Es wurden alle moeglichen Massnahmen 
getroffen um eine Virusfreiheit der beigefuegten Dateien zu 
gewaehrleisten. Wir uebernehmen jedoch keine Verantwortung
fuer Schaeden, die aufgrund von Software-Viren entstehen und 
empfehlen Ihnen vor Benutzung der Dateien eine Ueberpruefung 
auf Viren durchzufuehren.

This electronic message contains information that is confidential. 
The information is intended for the use of the addressee only. If 
you are not the addressee please inform the sender immediately 
and delete this e-mail, its attachments and any copies. Please 
note that any disclosure, copy, distribution or use of the contents 
of this message is prohibited and may be unlawful. We have 
taken every reasonable precaution to ensure that any kind of 
attachment to this e-mail has been swept for viruses.
However, we cannot accept liability for any damage sustained as 
a result of software viruses and would advise you to carry out your 
own virus checks before opening any attachment.



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

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:

apt-doc_0.8.15.7_all.deb
  to main/a/apt/apt-doc_0.8.15.7_all.deb
apt-transport-https_0.8.15.7_amd64.deb
  to main/a/apt/apt-transport-https_0.8.15.7_amd64.deb
apt-utils_0.8.15.7_amd64.deb
  to main/a/apt/apt-utils_0.8.15.7_amd64.deb
apt_0.8.15.7.dsc
  to main/a/apt/apt_0.8.15.7.dsc
apt_0.8.15.7.tar.gz
  to main/a/apt/apt_0.8.15.7.tar.gz
apt_0.8.15.7_amd64.deb
  to main/a/apt/apt_0.8.15.7_amd64.deb
libapt-pkg-dev_0.8.15.7_amd64.deb
  to main/a/apt/libapt-pkg-dev_0.8.15.7_amd64.deb
libapt-pkg-doc_0.8.15.7_all.deb
  to main/a/apt/libapt-pkg-doc_0.8.15.7_all.deb



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 640122@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: Mon, 12 Sep 2011 16:38:46 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.8.15.7
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 640122
Changes: 
 apt (0.8.15.7) unstable; urgency=low
 .
   [ David Kalnischkies ]
   * apt-pkg/packagemanager.cc, apt-pkg/pkgcache.cc:
     - ignore "self"-conflicts for all architectures of a package
       instead of just for the architecture of the package look at
       in the ordering of installations, too (LP: #802901)
     - M-A:same lockstep unpack should operate on installed
       packages first (LP: #835625)
   * test/*
     - reorganize the various testcases and helper we have and
       integrate them better into the buildsystem
     - run the test/libapt testcases at package build-time
   * debian/apt.symbols:
     - add the newly added symbols since 0.8.15.3
   * cmdline/apt-get.cc:
     - remove the binary caches in 'apt-get clean' as it is the first
       thing recommend by many supporters in case of APT segfaults
     - remove the caches in 'apt-get update', too, as they will be
       invalid in most cases anyway
   * apt-pkg/acquire-item.cc:
     - if no Release.gpg file is found try to verify with hashes,
       but do not fail if a hash can't be found
   * apt-pkg/acquire.cc:
     - non-existing directories are by definition clean
   * cmdline/apt-key:
     - if command is 'add' do not error out if the specified
       keyring doesn't exist, it will be created by gpg
   * apt-pkg/orderlist.cc:
     - prefer visiting packages marked for deletion in VisitProvides
       if we are operating on a negative dependency so that we can
       deal early with the fallout of this remove
   * apt-pkg/indexrecords.cc:
     - fix Acquire::Max-ValidTime option by interpreting it really
       as seconds as specified in the manpage and not as days
     - add an Acquire::Min-ValidTime option (Closes: #640122)
   * doc/apt.conf.5.xml:
     - reword Acquire::Max-ValidTime documentation to make clear
       that it doesn't provide the new Min-ValidTime functionality
Checksums-Sha1: 
 65f95d74e04205c16f8a4ef6c3c9efbda402e7a3 1358 apt_0.8.15.7.dsc
 0884dae746b6c8489930ff3f4c78c1c06bf5ec4d 3306458 apt_0.8.15.7.tar.gz
 754c4f50a0789774f281ce9b9d70c52b6138b0c0 241536 apt-doc_0.8.15.7_all.deb
 71cb994021aef2abef8f7cc830ee706d6b62b439 739324 libapt-pkg-doc_0.8.15.7_all.deb
 cae05a10a7295be67ed8303a9c79ea63f6e9fa2e 2191354 apt_0.8.15.7_amd64.deb
 16249cf5f35fdfcc97e39f2c67f574f34a7ca7db 161694 libapt-pkg-dev_0.8.15.7_amd64.deb
 79caa40952cab0f9813c70ccc724f55f76f3f3b2 290432 apt-utils_0.8.15.7_amd64.deb
 96cb403b7204593a570120aa1defbcdb90d93755 91500 apt-transport-https_0.8.15.7_amd64.deb
Checksums-Sha256: 
 9757c097c25cc0209cf3019337e19b9b917d10db258e916e87849e211d5fb3bd 1358 apt_0.8.15.7.dsc
 72b469f1b24605610fbdb5f574b9006d752f85bb7c3f2e3f625d4010a0f01ce4 3306458 apt_0.8.15.7.tar.gz
 b6f5f79630e59c81ab14047c26bb0a8361b4a3739c2133512c6b048e1fb313d1 241536 apt-doc_0.8.15.7_all.deb
 01204a349705310813c3e5e1d8ebf17f92477365b88e6192d0ea2983f8553d1f 739324 libapt-pkg-doc_0.8.15.7_all.deb
 52773a10306f42351091a874aee93269a62735c532cf2875743d0da1e35bf838 2191354 apt_0.8.15.7_amd64.deb
 a967e73bb21bc4927a6f75312fdc0b33156c4b5f701ce4d5bb2d76921026fc43 161694 libapt-pkg-dev_0.8.15.7_amd64.deb
 6b142a68a030d49c1eacaebce57299aff83df9237824e4d27de93fee8ebe9000 290432 apt-utils_0.8.15.7_amd64.deb
 92fb3d567af6424d13d187595e63125be6660015bf8067d4c93317a83eeb6767 91500 apt-transport-https_0.8.15.7_amd64.deb
Files: 
 841204c16c7a906a285a9e71ca3af3fc 1358 admin important apt_0.8.15.7.dsc
 bd376a2b58c13f7d2ec773ec32ac0642 3306458 admin important apt_0.8.15.7.tar.gz
 3636f8c0c0f04a8b66cad35745c5aadb 241536 doc optional apt-doc_0.8.15.7_all.deb
 5329a838c8536dc79ad3c2b06a4d2bd5 739324 doc optional libapt-pkg-doc_0.8.15.7_all.deb
 903de5d040b9aa41cbfa87810984c07e 2191354 admin important apt_0.8.15.7_amd64.deb
 6848661106c0c5dad2c4419f137bc236 161694 libdevel optional libapt-pkg-dev_0.8.15.7_amd64.deb
 2196b3a17c3be9926bf93bfa8f80e300 290432 admin important apt-utils_0.8.15.7_amd64.deb
 40e2639251db63d4c537fbfa24a4a5c7 91500 admin optional apt-transport-https_0.8.15.7_amd64.deb

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

iEYEARECAAYFAk5uGmsACgkQliSD4VZixzS7PgCeMCNtCH/NculqqDLlhjRkndLA
HwUAniHv2qrf0BbwAoMzmIvBbVwxYsQm
=klxA
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: