Your message dated Mon, 31 Mar 2025 20:34:02 +0200 with message-id <[email protected]> and subject line Re: Bug#540728: apt: Need verbosity level that shows stderr/stdout without trace has caused the Debian Bug report #540728, regarding apt: Need verbosity level that shows stderr/stdout without trace 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 [email protected] immediately.) -- 540728: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540728 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt Version: 0.7.22.2 Severity: normal The default cron file /etc/cron.daily/apt contains the following lines: # Set VERBOSE mode from apt-config (or inherit from environment) VERBOSE=0 eval $(apt-config shell VERBOSE APT::Periodic::Verbose) debug_echo "verbose level $VERBOSE" if [ "$VERBOSE" -le 2 ]; then # quiet for 0,1,2 XSTDOUT=">/dev/null" XSTDERR="2>/dev/null" XAPTOPT="-qq" XUUPOPT="" else XSTDOUT="" XSTDERR="" XAPTOPT="" XUUPOPT="-d" fi if [ "$VERBOSE" -ge 3 ]; then # trace output set -x fi Notice that if the verbosity level is 2, all output to stderr and stdout is suppressed. If the verbosity level is 3, output to stderr and stdout is not suppressed, but that also turns on output tracing with set -x. I'd like a verbosity level that does not suppress stderr and stdout, but also does not turn on output tracing. That can be done by simply changing the line above if [ "$VERBOSE" -le 2 ]; then to if [ "$VERBOSE" -lt 2 ]; then The effect will be silence for level 0, debug_echo messages for level 1 and above, stderr/stdout unsuppressed for level 2 and above, and complete output tracing for level 3 and above. -- 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.*"; APT::Periodic ""; APT::Periodic::Verbose "2"; APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "1"; APT::Periodic::Download-Upgradeable-Packages-Debdelta "0"; APT::Periodic::RandomSleep "0"; APT::Periodic::AutocleanInterval "0"; APT::Default-Release "unstable"; 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::Etc::preferencesparts "preferences.d"; 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/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 [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- deb http://ftp.us.debian.org/debian unstable main contrib non-free deb-src http://ftp.us.debian.org/debian unstable main contrib non-free #deb http://ftp.us.debian.org/debian dists/stable-proposed-updates/ #deb-src http://ftp.us.debian.org/debian dists/stable-proposed-updates/ # Security updates are quick fixes that may break other things. #deb ftp://security.debian.org/debian-security stable/updates main contrib non-free deb http://www.debian-multimedia.org sid main # Local archive, for testing installation of packages before uploading. deb file:/home/localarchive unstable/ -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18 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 2009.01.31 GnuPG archive keys of the Debian a ii libc6 2.9-23 GNU C Library: Shared libraries ii libgcc1 1:4.4.1-1 GCC support library ii libstdc++6 4.4.1-1 The GNU Standard C++ Library v3 apt recommends no packages. Versions of packages apt suggests: pn apt-doc <none> (no description available) pn aptitude | synaptic | gnome-a <none> (no description available) ii bzip2 1.0.5-3 high-quality block-sorting file co ii dpkg-dev 1.15.3.1 Debian package development tools ii lzma 4.43-14 Compression method of 7z format in ii python-apt 0.7.12.1 Python interface to libapt-pkg -- no debconf information -- Neil Roeth
--- End Message ---
--- Begin Message ---Version: 1.4~beta1 thanks This issue has been fixed in this ticket: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845599 with this commit: https://salsa.debian.org/apt-team/apt/-/commit/250687865e Currently the code looks like this: https://salsa.debian.org/apt-team/apt/-/blob/main/debian/apt.systemd.daily?ref_type=heads#L362 Also observe this documentation: https://salsa.debian.org/apt-team/apt/-/blob/main/debian/apt.systemd.daily?ref_type=heads#L74 Kamil
--- End Message ---

