Package: apt-show-versions
Severity: normal
X-Debbugs-Cc: [email protected]
Package: apt-show-versions
Version tested: 0.22.15+nmu1+leo1
Distribution: Debian 13 (trixie)
Subject:
apt-show-versions fails when its cache directory is missing
Problem:
The program fails when /var/cache/apt-show-versions does not exist.
This can happen after the contents of /var/cache have been cleaned.
The APT post-invoke hook then fails because apt-show-versions cannot
create its cache files.
Expected behaviour:
The program should recreate its missing cache directory when running
with sufficient privileges, validate the directory before using it,
and continue normally.
Proposed fix:
The attached patch adds validation of the cache directory and its
contents. It checks directory type, ownership and permissions,
rejects symbolic links and unexpected cache entries, and recreates
the directory when it is missing.
Build and checks:
- Perl syntax check: executed by the attached test procedure.
- Debian binary package build: executed by the attached test procedure.
- Package metadata and cache directory permissions: checked.
- lintian: run if installed.
Previously performed manual tests:
The previous development session recorded 13 successful manual
security tests. These tests are historical results and were not
repeated by this final script.
Attachments:
- Source patch against the original Debian source tree.
- Build and final-check log.
The patch is submitted for review by the Debian package maintainer.
-- System Information:
Debian Release: 13.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.117+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- a/apt-show-versions
+++ b/apt-show-versions
@@ -32,6 +32,7 @@
use strict;
use Getopt::Long;
use Storable qw(nstore retrieve);
+use Fcntl qw(:mode);
my $apackagescachefile="/var/cache/apt-show-versions/apackages-multiarch";
my $ipackagescachefile="/var/cache/apt-show-versions/ipackages-multiarch";
@@ -163,6 +164,108 @@
# Path to dpkg status file
my $status_file = $opts{'status-file'} || "/var/lib/dpkg/status";
+# Validate and prepare the package cache directory.
+my $cachedir = "/var/cache/apt-show-versions";
+
+if ($< == 0) {
+
+ # Validate parent directories before accessing the cache.
+ foreach my $parent ("/var", "/var/cache") {
+ my @st = lstat($parent);
+
+ &die("Security error: invalid parent directory $parent\n")
+ unless @st
+ && S_ISDIR($st[2])
+ && $st[4] == 0
+ && $st[5] == 0
+ && !($st[2] & 0022);
+ }
+
+ # Check whether the cache directory exists.
+ my @dir_stat = lstat($cachedir);
+
+ # Create it if missing. Recheck after mkdir to handle races.
+ unless (@dir_stat) {
+ unless (mkdir($cachedir, 0700)) {
+ my $mkdir_error = $!;
+ @dir_stat = lstat($cachedir);
+
+ unless (@dir_stat) {
+ $! = $mkdir_error;
+ &die("Cannot create $cachedir: $!\n");
+ }
+ }
+ else {
+ @dir_stat = lstat($cachedir);
+ &die("Cannot inspect $cachedir: $!\n")
+ unless @dir_stat;
+ }
+ }
+
+ # Reject symbolic links and non-directories.
+ &die("Security error: $cachedir is a symbolic link\n")
+ if S_ISLNK($dir_stat[2]);
+
+ &die("Security error: $cachedir is not a directory\n")
+ unless S_ISDIR($dir_stat[2]);
+
+ # The directory must belong to root.
+ &die("Security error: $cachedir is not owned by root:root\n")
+ unless $dir_stat[4] == 0 && $dir_stat[5] == 0;
+
+ # Enforce private directory permissions.
+ if (($dir_stat[2] & 07777) != 0700) {
+ chmod(0700, $cachedir)
+ or &die("Cannot chmod $cachedir: $!\n");
+
+ @dir_stat = lstat($cachedir);
+
+ &die("Security error: cannot verify permissions of $cachedir\n")
+ unless @dir_stat
+ && S_ISDIR($dir_stat[2])
+ && $dir_stat[4] == 0
+ && $dir_stat[5] == 0
+ && ($dir_stat[2] & 07777) == 0700;
+ }
+
+ # Only the three expected regular cache files are permitted.
+ my %allowed_cache_files = (
+ "apackages-multiarch" => 1,
+ "ipackages-multiarch" => 1,
+ "files" => 1
+ );
+
+ opendir(my $dh, $cachedir)
+ or &die("Cannot opendir $cachedir: $!\n");
+
+ while (defined(my $entry = readdir($dh))) {
+ next if $entry eq "." || $entry eq "..";
+
+ my $path = "$cachedir/$entry";
+ my @st = lstat($path);
+
+ &die("Cannot stat $path: $!\n")
+ unless @st;
+
+ &die("Security error: symbolic link in cache: $path\n")
+ if S_ISLNK($st[2]);
+
+ &die("Security error: unexpected cache entry: $path\n")
+ unless exists $allowed_cache_files{$entry};
+
+ &die("Security error: non-regular cache file: $path\n")
+ unless S_ISREG($st[2]);
+
+ &die("Security error: cache file not owned by root:root: $path\n")
+ unless $st[4] == 0 && $st[5] == 0;
+
+ &die("Security error: incorrect permissions on cache file: $path\n")
+ unless ($st[2] & 07777) == $cachefilemode;
+ }
+
+ closedir($dh)
+ or &die("Cannot close $cachedir: $!\n");
+}
my @files;
my $filesref;
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+apt-show-versions (0.22.15+nmu1+leo1) UNRELEASED; urgency=medium
+
+ * Recreate missing cache directory and validate its ownership,
+ permissions and contents before use.
+
+ -- Josef Leo Bureš <[email protected]> Mon, 16 Nov 2026 19:45:12 +0100
+
apt-show-versions (0.22.15+nmu1) unstable; urgency=medium
* Non-maintainer upload.
=== 1. Kontrola pracovnich adresaru ===
Pracovni strom: /home/leo/apt-show-versions-0.22.15+nmu1+leo1
Puvodni strom:
/home/leo/apt-show-versions-original/apt-show-versions-0.22.15+nmu1
Verze: 0.22.15+nmu1+leo1
=== 2. Kontrola syntaxe Perlu ===
apt-show-versions syntax OK
=== 3. Sestaveni Debian balicku ===
dpkg-buildpackage: info: source package apt-show-versions
dpkg-buildpackage: info: source version 0.22.15+nmu1+leo1
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Josef Leo Bureš <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Vstupuje se do adresáře „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || /usr/bin/make realclean
make[2]: Vstupuje se do adresáře „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
rm -f \
blib/script/apt-show-versions
rm -f \
versions.bso versions.def \
versions.exp versions.x \
blib/arch/auto/apt-show-versions/extralibs.all \
blib/arch/auto/apt-show-versions/extralibs.ld Makefile.aperl \
*.a *.o \
*perl.core MYMETA.json \
MYMETA.yml blibdirs.ts \
core core.*perl.*.? \
core.[0-9] core.[0-9][0-9] \
core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] \
core.[0-9][0-9][0-9][0-9][0-9] libversions.def \
mon.out perl \
perl perl.exe \
perlmain.c pm_to_blib \
pm_to_blib.ts so_locations \
tmon.out
rm -rf \
blib
mv Makefile Makefile.old > /dev/null 2>&1
rm -f \
Makefile Makefile.old
rm -rf \
apt-show-versions-0
make[2]: Opouští se adresář „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
rm -f man/apt-show-versions.* man/po/apt-show-versions.pot
dh_clean
make[1]: Opouští se adresář „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
dh_clean
# Add here commands to configure the package.
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/home/leo/apt-show-versions-0.22.15+nmu1+leo1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2"
"LD=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/home/leo/apt-show-versions-0.22.15+nmu1+leo1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wl,-z,relro"
Warning: NAME must be a package name
WARNING: Setting VERSION via file './apt-show-versions' failed
at /usr/share/perl/5.40/ExtUtils/MakeMaker.pm line 744.
Generating a Unix-style Makefile
Writing Makefile for apt-show-versions
Writing MYMETA.yml and MYMETA.json
debian/rules override_dh_auto_build
make[1]: Vstupuje se do adresáře „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
perl Makefile.PL INSTALLDIRS=vendor
Warning: NAME must be a package name
WARNING: Setting VERSION via file './apt-show-versions' failed
at /usr/share/perl/5.40/ExtUtils/MakeMaker.pm line 744.
Generating a Unix-style Makefile
Writing Makefile for apt-show-versions
Writing MYMETA.yml and MYMETA.json
# Add here commands to compile the package.
/usr/bin/make
make[2]: Vstupuje se do adresáře „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
cp ./apt-show-versions blib/script/apt-show-versions
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' --
blib/script/apt-show-versions
Manifying 1 pod document
make[2]: Opouští se adresář „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
podselect apt-show-versions > man/apt-show-versions.pod
po4a --verbose man/po4a.cfg
Vytvářím man/po/apt-show-versions.pot: (59 položek)
Aktualizuji man/po/de.po: 59 přeložených zpráv.
Aktualizuji man/po/es.po: 51 přeložená zpráva, 4 neúplné překlady, 4
nepřeložené zprávy.
Aktualizuji man/po/fr.po: 59 přeložených zpráv.
Aktualizuji man/po/sv.po: 46 přeložených zpráv, 4 neúplné překlady, 9
nepřeložených zpráv.
Aktualizuji man/po/vi.po: 50 přeložených zpráv, 4 neúplné překlady, 5
nepřeložených zpráv.
man/apt-show-versions.de.pod is 100% translated (59 strings).
man/apt-show-versions.es.pod přeloženo je 86.44% (51 z 59 řetězců).
man/apt-show-versions.fr.pod is 100% translated (59 strings).
Zahazuji man/apt-show-versions.sv.pod (46 z 59 řetězců; přeloženo pouze 77.96%;
je potřeba přeložit 80%).
man/apt-show-versions.vi.pod přeloženo je 84.74% (50 z 59 řetězců).
#/usr/bin/docbook-to-man debian/apt-show-versions.sgml > apt-show-versions.1
for i in man/apt-show-versions.*.pod;\
do echo Manifying $i;\
pod2man --utf8 -v $i `echo $i | sed "s/pod//"`1;\
done
Manifying man/apt-show-versions.de.pod
man/apt-show-versions.de.1
Manifying man/apt-show-versions.es.pod
man/apt-show-versions.es.1
Manifying man/apt-show-versions.fr.pod
man/apt-show-versions.fr.1
Manifying man/apt-show-versions.vi.pod
man/apt-show-versions.vi.1
make[1]: Opouští se adresář „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
dh_auto_test
make -j2 test TEST_VERBOSE=1
make[1]: Vstupuje se do adresáře „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
No tests defined for apt-show-versions extension.
make[1]: Opouští se adresář „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
create-stamp debian/debhelper-build-stamp
dh_prep
dh_installdirs
debian/rules override_dh_auto_install
make[1]: Vstupuje se do adresáře „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
# Add here commands to install the package into debian/apt-show-versions.
/usr/bin/make install
DESTDIR=/home/leo/apt-show-versions-0.22.15+nmu1+leo1/debian/apt-show-versions/
make[2]: Vstupuje se do adresáře „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
Manifying 1 pod document
Installing
/home/leo/apt-show-versions-0.22.15+nmu1+leo1/debian/apt-show-versions/usr/share/man/man1/apt-show-versions.1p
Installing
/home/leo/apt-show-versions-0.22.15+nmu1+leo1/debian/apt-show-versions/usr/bin/apt-show-versions
make[2]: Opouští se adresář „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
rm -fr debian/apt-show-versions/usr/lib debian/apt-show-versions/usr/share/perl5
install -D --mode=644 debian/apt-show-versions.apt.conf \
/home/leo/apt-show-versions-0.22.15+nmu1+leo1/debian/apt-show-versions/etc/apt/apt.conf.d/20apt-show-versions
dh_bash-completion
dh_installman man/apt-show-versions.*.1
make[1]: Opouští se adresář „/home/leo/apt-show-versions-0.22.15+nmu1+leo1“
dh_installdocs
dh_installchangelogs
dh_installman
dh_installcron
dh_installinit
dh_installsystemd
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: vytvářím balík „apt-show-versions“ v
„../apt-show-versions_0.22.15+nmu1+leo1_all.deb“.
# Add here commands to configure the package.
dpkg-genbuildinfo --build=binary
-O../apt-show-versions_0.22.15+nmu1+leo1_amd64.buildinfo
dpkg-genchanges --build=binary
-O../apt-show-versions_0.22.15+nmu1+leo1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
=== 4. Kontrola metadat balicku ===
nový debianí balík, verze 2.0.
velikost 28512 bajtů: řídící archiv=2348 bajtů.
74 bajtů, 2 řádků conffiles
702 bajtů, 17 řádků control
862 bajtů, 11 řádků md5sums
2749 bajtů, 78 řádků * postinst #!/bin/sh
455 bajtů, 14 řádků * postrm #!/bin/sh
1147 bajtů, 44 řádků * prerm #!/bin/sh
Package: apt-show-versions
Version: 0.22.15+nmu1+leo1
Architecture: all
Maintainer: Christoph Martin <[email protected]>
Installed-Size: 98
Depends: perl:any | perl-5.005 | perl-5.004, apt, libapt-pkg-perl,
libstorable-perl
Section: admin
Priority: optional
Description: lists available package versions with distribution
apt-show-versions parses the dpkg status file and the APT lists for
the installed and available package versions and distribution and
shows upgrade options within the specific distribution of the selected
package.
.
This is really useful if you have a mixed stable/testing environment
and want to list all packages which are from testing and can be
upgraded in testing.
=== 5. Kontrola obsahu balicku ===
drwxr-xr-x root/root 0 2026-11-16 19:45 ./
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/apt/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/apt/apt.conf.d/
-rw-r--r-- root/root 162 2026-11-16 19:45
./etc/apt/apt.conf.d/20apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/cron.daily/
-rwxr-xr-x root/root 253 2023-08-29 13:43
./etc/cron.daily/apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/bin/
-rwxr-xr-x root/root 38772 2026-11-16 19:45 ./usr/bin/apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/lib/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/lib/systemd/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/lib/systemd/system/
-rw-r--r-- root/root 283 2023-08-29 13:43
./usr/lib/systemd/system/apt-show-versions.service
-rw-r--r-- root/root 187 2023-08-29 13:43
./usr/lib/systemd/system/apt-show-versions.timer
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/bash-completion/
drwxr-xr-x root/root 0 2026-11-16 19:45
./usr/share/bash-completion/completions/
-rw-r--r-- root/root 1307 2023-08-29 13:43
./usr/share/bash-completion/completions/apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/doc/
drwxr-xr-x root/root 0 2026-11-16 19:45
./usr/share/doc/apt-show-versions/
-rw-r--r-- root/root 1215 2026-11-16 19:45
./usr/share/doc/apt-show-versions/changelog.gz
-rw-r--r-- root/root 563 2023-08-29 13:43
./usr/share/doc/apt-show-versions/copyright
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/de/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/de/man1/
-rw-r--r-- root/root 2549 2026-11-16 19:45
./usr/share/man/de/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/es/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/es/man1/
-rw-r--r-- root/root 2602 2026-11-16 19:45
./usr/share/man/es/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/fr/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/fr/man1/
-rw-r--r-- root/root 2698 2026-11-16 19:45
./usr/share/man/fr/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/man1/
-rw-r--r-- root/root 2321 2026-11-16 19:45
./usr/share/man/man1/apt-show-versions.1p.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/apt/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/apt/apt.conf.d/
-rw-r--r-- root/root 162 2026-11-16 19:45
./etc/apt/apt.conf.d/20apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/cron.daily/
-rwxr-xr-x root/root 253 2023-08-29 13:43
./etc/cron.daily/apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/bin/
-rwxr-xr-x root/root 38772 2026-11-16 19:45 ./usr/bin/apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/lib/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/lib/systemd/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/lib/systemd/system/
-rw-r--r-- root/root 283 2023-08-29 13:43
./usr/lib/systemd/system/apt-show-versions.service
-rw-r--r-- root/root 187 2023-08-29 13:43
./usr/lib/systemd/system/apt-show-versions.timer
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/bash-completion/
drwxr-xr-x root/root 0 2026-11-16 19:45
./usr/share/bash-completion/completions/
-rw-r--r-- root/root 1307 2023-08-29 13:43
./usr/share/bash-completion/completions/apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/doc/
drwxr-xr-x root/root 0 2026-11-16 19:45
./usr/share/doc/apt-show-versions/
-rw-r--r-- root/root 1215 2026-11-16 19:45
./usr/share/doc/apt-show-versions/changelog.gz
-rw-r--r-- root/root 563 2023-08-29 13:43
./usr/share/doc/apt-show-versions/copyright
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/de/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/de/man1/
-rw-r--r-- root/root 2549 2026-11-16 19:45
./usr/share/man/de/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/es/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/es/man1/
-rw-r--r-- root/root 2602 2026-11-16 19:45
./usr/share/man/es/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/fr/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/fr/man1/
-rw-r--r-- root/root 2698 2026-11-16 19:45
./usr/share/man/fr/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/man1/
-rw-r--r-- root/root 2321 2026-11-16 19:45
./usr/share/man/man1/apt-show-versions.1p.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/vi/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/vi/man1/
-rw-r--r-- root/root 2695 2026-11-16 19:45
./usr/share/man/vi/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/cache/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/cache/apt-show-versions/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/vi/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/vi/man1/
-rw-r--r-- root/root 2695 2026-11-16 19:45
./usr/share/man/vi/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/cache/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/cache/apt-show-versions/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/apt/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/apt/apt.conf.d/
-rw-r--r-- root/root 162 2026-11-16 19:45
./etc/apt/apt.conf.d/20apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./etc/cron.daily/
-rwxr-xr-x root/root 253 2023-08-29 13:43
./etc/cron.daily/apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/bin/
-rwxr-xr-x root/root 38772 2026-11-16 19:45 ./usr/bin/apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/lib/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/lib/systemd/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/lib/systemd/system/
-rw-r--r-- root/root 283 2023-08-29 13:43
./usr/lib/systemd/system/apt-show-versions.service
-rw-r--r-- root/root 187 2023-08-29 13:43
./usr/lib/systemd/system/apt-show-versions.timer
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/bash-completion/
drwxr-xr-x root/root 0 2026-11-16 19:45
./usr/share/bash-completion/completions/
-rw-r--r-- root/root 1307 2023-08-29 13:43
./usr/share/bash-completion/completions/apt-show-versions
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/doc/
drwxr-xr-x root/root 0 2026-11-16 19:45
./usr/share/doc/apt-show-versions/
-rw-r--r-- root/root 1215 2026-11-16 19:45
./usr/share/doc/apt-show-versions/changelog.gz
-rw-r--r-- root/root 563 2023-08-29 13:43
./usr/share/doc/apt-show-versions/copyright
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/de/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/de/man1/
-rw-r--r-- root/root 2549 2026-11-16 19:45
./usr/share/man/de/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/es/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/es/man1/
-rw-r--r-- root/root 2602 2026-11-16 19:45
./usr/share/man/es/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/fr/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/fr/man1/
-rw-r--r-- root/root 2698 2026-11-16 19:45
./usr/share/man/fr/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/man1/
-rw-r--r-- root/root 2321 2026-11-16 19:45
./usr/share/man/man1/apt-show-versions.1p.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/vi/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./usr/share/man/vi/man1/
-rw-r--r-- root/root 2695 2026-11-16 19:45
./usr/share/man/vi/man1/apt-show-versions.1.gz
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/cache/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/cache/apt-show-versions/
drwxr-xr-x root/root 0 2026-11-16 19:45 ./var/cache/apt-show-versions/
=== 6. Kontrola lintian ===
W: apt-show-versions: old-fsf-address-in-copyright-file
W: apt-show-versions: uses-dpkg-database-directly [usr/bin/apt-show-versions]
W: apt-show-versions: old-fsf-address-in-copyright-file
W: apt-show-versions: uses-dpkg-database-directly [usr/bin/apt-show-versions]
=== 7. Vytvoreni patche proti puvodni verzi ===
Vytvoreny patch: /home/leo/apt-show-versions-0.22.15+nmu1+leo1.patch
Velikost: 4094 bajtu
=== 8. Priprava textu hlaseni ===
Text hlaseni: /home/leo/apt-show-versions-0.22.15+nmu1+leo1-bug-report.txt
=== 9. Priprava na odeslani do Debian BTS ===
Vysledne soubory:
Balicek: /home/leo/apt-show-versions_0.22.15+nmu1+leo1_all.deb
Patch: /home/leo/apt-show-versions-0.22.15+nmu1+leo1.patch
Log: /home/leo/apt-show-versions-0.22.15+nmu1+leo1-final-test.log
Hlaseni: /home/leo/apt-show-versions-0.22.15+nmu1+leo1-bug-report.txt
Odeslat hlaseni do Debian BTS pres reportbug? [ano/NE]
Spoustim reportbug. Zkontroluj obsah hlaseni.
Samotne odeslani jeste potvrdis v reportbug.