Package: apt-listchanges
Version: 2.85.12
Severity: normal

apt-listchanges sometimes gives too many changes, with changelogs
for versions <= the one being installed. For instance:

xvii% apt-show-versions libaudit1
libaudit1:amd64/unstable 1:2.3.2-2 upgradeable to 1:2.3.2-3
xvii% apt-show-versions libaudit-common
libaudit-common:all/unstable 1:2.3.2-2 upgradeable to 1:2.3.2-3

# apt-get install libaudit1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libaudit-common
The following packages will be upgraded:
  libaudit-common libaudit1
2 upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
Need to get 0 B/53.4 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n] 

This gives the changelogs corresponding to:

audit (1:2.3.2-3) unstable; urgency=medium
audit (1:2.3.2-2) unstable; urgency=low
audit (1:2.3.2-1) experimental; urgency=low
audit (1:2.3.1-1) experimental; urgency=low
audit (1:2.3-1) experimental; urgency=low
audit (1:2.2.3-1) experimental; urgency=low
audit (1:2.2.2-1) experimental; urgency=low
audit (1:2.2.1-2) experimental; urgency=low
audit (1:2.2.1-1) experimental; urgency=low

except just the last one.

When I execute apt-listchanges manually:

  apt-listchanges /var/cache/apt/archives/libaudit1_1%3a2.3.2-3_amd64.deb
  apt-listchanges /var/cache/apt/archives/libaudit-common_1%3a2.3.2-3_all.deb

I don't have this problem, i.e. only the 1:2.3.2-3 changes are listed.
But if I add --profile=apt, the problem occurs again; but I need to
be root, otherwise I get the following error message:

database /var/lib/apt/listchanges.db failed to load.

even though /var/lib/apt/listchanges.db is readable by everyone
(perhaps locking is involved?).

If I add the --debug option to /etc/apt/apt.conf.d/20listchanges, I get:

APT pipeline messages:
        VERSION 2
        APT::Architecture=amd64
        APT::Build-Essential::=build-essential
        APT::Install-Recommends=1
        APT::Install-Suggests=0
        APT::Authentication::TrustCDROM=true
        APT::NeverAutoRemove::=^firmware-linux.*
        APT::NeverAutoRemove::=^linux-firmware$
        APT::NeverAutoRemove::=^kfreebsd-image.*
        APT::NeverAutoRemove::=^gnumach$
        APT::NeverAutoRemove::=^gnumach-image.*
        APT::NeverAutoRemove::=^linux-image-3.11-2-amd64$
        APT::NeverAutoRemove::=^linux-image-extra-3.11-2-amd64$
        APT::NeverAutoRemove::=^linux-signed-image-3.11-2-amd64$
        APT::NeverAutoRemove::=^linux-backports-modules-.*-3.11-2-amd64$
        APT::NeverAutoRemove::=^linux-headers-3.11-2-amd64$
        APT::NeverAutoRemove::=^linux-image-3.12-1-amd64$
        APT::NeverAutoRemove::=^linux-image-extra-3.12-1-amd64$
        APT::NeverAutoRemove::=^linux-signed-image-3.12-1-amd64$
        APT::NeverAutoRemove::=^linux-backports-modules-.*-3.12-1-amd64$
        APT::NeverAutoRemove::=^linux-headers-3.12-1-amd64$
        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::Cache-Limit=67108864
        
APT::Update::Post-Invoke-Success::=test%20-x%20/usr/bin/apt-show-versions%20||%20exit%200%20;%20apt-show-versions%20-i
        
APT::Update::Post-Invoke-Success::=/usr/bin/test%20-e%20/usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service%20&&%20/usr/bin/test%20-S%20/var/run/dbus/system_bus_socket%20&&%20/usr/bin/gdbus%20call%20--system%20--dest%20org.freedesktop.PackageKit%20--object-path%20/org/freedesktop/PackageKit%20--timeout%201%20--method%20org.freedesktop.PackageKit.StateHasChanged%20cache-update%20>%20/dev/null;%20/bin/echo%20>%20/dev/null
        APT::Color::Highlight=%1b[32m
        APT::Color::Neutral=%1b[0m
        APT::Color::Red=%1b[31m
        APT::Color::Green=%1b[32m
        APT::Color::Yellow=%1b[33m
        APT::Color::Blue=%1b[34m
        APT::Color::Magenta=%1b[35m
        APT::Color::Cyan=%1b[36m
        APT::Color::White=%1b[37m
        APT::Compressor::lzma::Binary=xz
        APT::Compressor::lzma::CompressArg::=--format=lzma
        APT::Compressor::lzma::CompressArg::=-9
        APT::Compressor::lzma::UncompressArg::=--format=lzma
        APT::Compressor::lzma::UncompressArg::=-d
        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::methods=/usr/lib/apt/methods
        Dir::Bin::solvers::=/usr/lib/apt/solvers
        Dir::Bin::dpkg=/usr/bin/dpkg
        Dir::Bin::bzip2=/bin/bzip2
        Dir::Bin::xz=/usr/bin/xz
        Dir::Bin::lzma=/usr/bin/xz
        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::=\.disabled$
        Dir::Ignore-Files-Silently::=\.bak$
        Dir::Ignore-Files-Silently::=\.dpkg-[a-z]+$
        Dir::Ignore-Files-Silently::=\.save$
        Dir::Ignore-Files-Silently::=\.orig$
        Acquire::cdrom::mount=/media/cdrom/
        DPkg::Pre-Install-Pkgs::=/usr/sbin/apt-listbugs%20apt
        
DPkg::Pre-Install-Pkgs::=/usr/sbin/apt-listbugs%20apt%20-T%20security%20-s%20all
        DPkg::Pre-Install-Pkgs::=/usr/bin/apt-listchanges%20--apt%20--debug
        DPkg::Pre-Install-Pkgs::=/usr/sbin/dpkg-preconfigure%20--apt%20||%20true
        DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version=3
        DPkg::Tools::Options::/usr/sbin/apt-listbugs::InfoFD=20
        DPkg::Tools::Options::/usr/bin/apt-listchanges::Version=2
        
DPkg::Post-Invoke::=/usr/bin/test%20-e%20/usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service%20&&%20/usr/bin/test%20-S%20/var/run/dbus/system_bus_socket%20&&%20/usr/bin/gdbus%20call%20--system%20--dest%20org.freedesktop.PackageKit%20--object-path%20/org/freedesktop/PackageKit%20--timeout%201%20--method%20org.freedesktop.PackageKit.StateHasChanged%20cache-update%20>%20/dev/null;%20/bin/echo%20>%20/dev/null
        
DPkg::Post-Invoke::=[%20!%20-e%20/usr/bin/how-can-i-help%20]%20||%20/usr/bin/how-can-i-help
        AptListbugs::Severities=critical,grave,serious
        AptListbugs::IgnoreRegexp=FTBFS
        
Aptitude::UI::Package-Display-Format=%25c%25a%25M%20%25p%20%25Z%20%2524v%20%2524V
        CommandLine::AsString=apt-get%20install%20libaudit1

        libaudit-common 1:2.3.2-2 < 1:2.3.2-3 
/var/cache/apt/archives/libaudit-common_1%3a2.3.2-3_all.deb
        libaudit-common 1:2.3.2-2 < 1:2.3.2-3 **CONFIGURE**
        libaudit1 1:2.3.2-2 < 1:2.3.2-3 
/var/cache/apt/archives/libaudit1_1%3a2.3.2-3_amd64.deb
        libaudit1 1:2.3.2-2 < 1:2.3.2-3 **CONFIGURE**
To list:
        /var/cache/apt/archives/libaudit-common_1%3a2.3.2-3_all.deb
        /var/cache/apt/archives/libaudit1_1%3a2.3.2-3_amd64.deb

and still the same problem.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-listchanges depends on:
ii  apt                    0.9.14.2
ii  debconf [debconf-2.0]  1.5.52
ii  debianutils            4.4
ii  python                 2.7.5-5
ii  python-apt             0.9.1
ii  python-support         1.0.15
ii  ucf                    3.0027+nmu1

apt-listchanges recommends no packages.

Versions of packages apt-listchanges suggests:
ii  chromium [www-browser]                31.0.1650.63-1
ii  elinks [www-browser]                  0.12~pre6-4
ii  epiphany-browser [www-browser]        3.8.2-5
ii  gnome-terminal [x-terminal-emulator]  3.10.1-1
ii  iceweasel [www-browser]               24.2.0esr-1
ii  links [www-browser]                   2.8-1+b1
ii  links2 [www-browser]                  2.8-1+b1
ii  lynx-cur [www-browser]                2.8.8pre2-1
ii  midori [www-browser]                  0.4.3+dfsg-0.1
ii  mlterm [x-terminal-emulator]          3.3.0-1
ii  postfix [mail-transport-agent]        2.10.2-1
ii  python-glade2                         2.24.0-3+b1
ii  python-gtk2                           2.24.0-3+b1
ii  rxvt-unicode [x-terminal-emulator]    9.19-1
ii  uzbl [www-browser]                    0.0.0~git.20120514-1.1
ii  w3m [www-browser]                     0.5.3-13
ii  xterm [x-terminal-emulator]           300-1

-- Configuration Files:
/etc/apt/apt.conf.d/20listchanges changed:
DPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt"; };
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";


-- debconf information:
* apt-listchanges/email-address:
* apt-listchanges/frontend: pager
* apt-listchanges/save-seen: true
* apt-listchanges/confirm: true
* apt-listchanges/which: both


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to