Package: apt-show-versions
Version: 0.22.4
Severity: important

Dear Maintainer,

We use apt-show-versions to report on the state of packages on our Debian 
systems and generate custom puppet facts to gather the information.
On some hosts, we see the following error when running apt-show-versions:
"Corrupted storable file (binary v2.10) at 
/usr/lib/x86_64-linux-gnu/perl/5.20/Storable.pm line 387, at 
/usr/bin/apt-show-versions line 240."

This seems to be happening most often when we have cron jobs that query 
apt-show-versions at the same time.
I was able to simulate this by running apt-show-versions concurrently, which 
makes me think there is a race condition or missing file locking at play?
Reinitialising the cache with 'apt-show-versions -i' fixes it, but it breaks 
again randomly.


-- System Information:
Debian Release: 8.11
  APT prefers oldstable
  APT policy: (990, 'oldstable'), (500, 'oldstable-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages apt-show-versions depends on:
ii  apt                      1.0.9.8.4
ii  libapt-pkg-perl          0.1.29+b2
ii  perl [libstorable-perl]  5.20.2-3+deb8u11

apt-show-versions recommends no packages.

apt-show-versions suggests no packages.

-- no debconf information

Reply via email to