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

Bug#594813: marked as done (apt: ListUpdate does return True in the case of network errors)



Your message dated Fri, 08 Jan 2021 22:03:26 +0000
with message-id <E1kxzqw-0003MY-Pj@fasolo.debian.org>
and subject line Bug#594813: fixed in apt 2.1.16
has caused the Debian Bug report #594813,
regarding apt: ListUpdate does return True in the case of network errors
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.)


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

The ListUpdate method in cache.cc returns True if a download fails or
there is a transient network error. It only emmits a warning.

This makes it impossible to handle download errors in higher libraries
(python-apt) or finally aptdaemon, see
https://bugs.edge.launchpad.net/aptdaemon/+bug/626144

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "true";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
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";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Update "";
APT::Update::Post-Invoke "";
APT::Update::Post-Invoke:: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:: "[ ! -f /var/run/dbus/system_bus_socket ] || /usr/bin/dbus-send --system --dest=org.debian.apt --type=signal /org/debian/apt org.debian.apt.CacheChanged || true";
APT::Update::Post-Invoke-Success:: "[ ! -f /var/run/dbus/system_bus_socket ] || /usr/bin/dbus-send --system --dest=org.freedesktop.PackageKit --type=method_call /org/freedesktop/PackageKit org.freedesktop.PackageKit.StateHasChanged string:'cache-update'";
APT::Archives "";
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "/var/lib/apt/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/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/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi ";
Unattended-Upgrade "";
Unattended-Upgrade::Allowed-Origins "";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} stable";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} ${distro_codename}-security";
CommandLine "";
CommandLine::AsString "apt-config dump";

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


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

deb http://ftp.de.debian.org/debian sid main contrib non-free
deb-src http://ftp.de.debian.org/debian sid main contrib non-free
deb http://ftp.de.debian.org/debian experimental main contrib non-free
deb-src http://ftp.de.debian.org/debian experimental main contrib non-free
#deb-src http://ftp.de.debian.org/debian sid main contrib non-free
#deb-src http://ftp.de.debian.org/debian experimental main contrib non-free

deb http://packages.glatzor.de/silly-packages sid main

#deb https://USER:GEHEIM@packages.glatzor.de/debian lenny main
#deb http://www.debian-multimedia.org sid main non-free

deb https://glatzor:xZjlpCbpQTLN0lTvrGPs@private-ppa.launchpad.net/ubuntu-font-beta-testing/ppa/ubuntu maverick main

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

Kernel: Linux 2.6.32-5-686 (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-2         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.4-11       GCC support library
ii  libstdc++6              4.4.4-11         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.1    terminal-based package manager (te
ii  bzip2                       1.0.5-4      high-quality block-sorting file co
ii  dpkg-dev                    1.15.8.4     Debian package development tools
ii  lzma                        4.43-14      Compression method of 7z format in
ii  python-apt                  0.7.97.1     Python interface to libapt-pkg
ii  synaptic                    0.70~pre1+b1 Graphical package manager

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 2.1.16
Done: Julian Andres Klode <jak@debian.org>

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 594813@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 08 Jan 2021 21:49:15 +0100
Source: apt
Architecture: source
Version: 2.1.16
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 188161 211075 594813 649588 969932 973305
Changes:
 apt (2.1.16) unstable; urgency=medium
 .
   [ Faidon Liambotis ]
   * Various fixes to http and connect method
     - basehttp: also consider Access when a Server's URI
     - connect: convert a C-style string to std::string
     - connect: use ServiceNameOrPort, not Port, as the cache key
 .
   [ Julian Andres Klode ]
   * patterns: Add dependency patterns ?depends, ?conflicts, etc.
     Note that the -broken- variants are not implemented yet.
   * Rewrite of the kernel autoremoval code:
     - Determine autoremovable kernels at run-time (LP: #1615381), this fixes the
       issue where apt could consider a running kernel autoremovable
     - Automatically remove unused kernels on apt {full,dist}-upgrade.
       This helps ensuring that we don't run out of /boot space.
     - Only keep up to 3 (not 4) kernels.
       Ubuntu boot partitions were sized for 3 kernels, not 4.
   * Bump codenames to bullseye/hirsute and adjust -security codename for
     bullseye (Closes: #969932)
   * Ignore failures from immediate configuration. This does not change the
     actual installation ordering - we never passed the return code to the
     caller and installation went underway anyway if it could be ordered at a
     later stage, this just removes spurious after-the-fact errors.
     (Closes: #973305, #188161, #211075, #649588) (LP: #1871268)
   * Add support for Phased-Update-Percentage, previously used only by
     update-manager.
   * Implement update --error-on=any so that scripts can reliably check for
     transient failures as well. (Closes: #594813)
 .
   [ Demi M. Obenour ]
   * test/integration/framework: Be compatible with Bash
 .
   [ Vangelis Skarmoutsos ]
   * Greek program translation update
Checksums-Sha1:
 36c442af8f390f912d5708a7bc160b1ed8caef0d 2784 apt_2.1.16.dsc
 75b426e31453b8af90a9557b0f9c9c3e03e1fdf5 2191892 apt_2.1.16.tar.xz
 409320f90a5e88b25f108aecfba553cff020f703 7500 apt_2.1.16_source.buildinfo
Checksums-Sha256:
 bfd7131905a3037a6283e44046ff995cd8a29f27ebd64b24022c23ee5db9a658 2784 apt_2.1.16.dsc
 32ab26926b05dd15ed09b5b844eb7c780ae5c9c62e6bf7cf8e4333f5e25fb4a8 2191892 apt_2.1.16.tar.xz
 7f12ff6faffade64be0779fc946159389241f4f5f85f4bcff176d6a94faedbdc 7500 apt_2.1.16_source.buildinfo
Files:
 c1d0b94a337d210841e2483183410c3e 2784 admin important apt_2.1.16.dsc
 aa52ed26ee2e74b823fd8e2825b9e76d 2191892 admin important apt_2.1.16.tar.xz
 68fab02971bb43edcb7422391421160e 7500 admin important apt_2.1.16_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAl/4z44PHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9xqqMP/1zfNKKDO/zhs0VATzCM6PIy7btd8ZhSyTCI
Eo4bPcA5S3vSvb6arr+qvE8Hiox3FiGPzkd1zL3m9VaCol0dR5OBEMgr/l5gzX6s
8MXMEoeCkALK3UN9b456/+RH1Av/GJWnEqrFQoJQaeHRisJFjPxFP2yjkYI2ixOM
yOzKIVjRdkV5euDhA/TpTHKtKl63q0yQE5yfIoGwnIKb9vcCzZ+MrdLep6hCSRc9
hXjy/+5OyAWDktlP9odYgSrTefocjSoD9OrNEZut/h+0Xz2lhVyh0kA+ubeH5s7j
nue0uKc4QssZz15yZGVyup0ZxGenUZf0AUwSegXKu3Ui0GY6vt+4fh1wtxeLVJiP
gwja2F63SDQDYWNf08Y2FC20x1xpf1ogC5dNDtP6+jbw/XHtk0CZj+ES9ky5qUdL
o0iq1IdpdY+Kxi6koL2vfT70jwL7ZW+QTbnKdYL2MGhZMgK8YdFK28x98BYrP+oY
RD23tUum57RSOkokKJPqRaoHkiqcnrXwQ1lYdRLHkmfFwRTc9f2QJEhQTREsCFbq
IUrnagYZB+Pi9T7wEzqcdw3to1AowU9hzkYqGimRqKNqxC0ZiHkFF7HmIDdVBJbQ
3OSCFcnDbxwlFxp0l7HfI3u+aZSFUNS3vIMsI9GuCybmvydmkEI8ry+vjwfGtmfN
TtWcmhk/
=dOI/
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: