Package: apticron
Version: 1.1.58
Severity: important
Tags: patch

--- Please enter the report below this line. ---
Package details section only show usage of the command apt-listchanges instead 
of packages changelogs:

Package Details:

Syntaxe : apt-listchanges [options] {--apt | fichier.deb ...}

This is due to apt-listchangs being invoked with an empty package list as the 
result of PKGPATH creation error.

the result of command /usr/bin/apt-config shell DIRCACHE Dir::Cache does not 
have trailing slash anymore:
 - jessie
/usr/bin/apt-config shell DIRCACHE Dir::Cache
DIRCACHE='var/cache/apt/'
 - sid (11/09/2016)
/usr/bin/apt-config shell DIRCACHE Dir::Cache
DIRCACHE='var/cache/apt'

Joined a simple patch

--- System information. ---
Architecture: amd64
Kernel:       Linux 4.7.0-1-amd64

Debian Release: stretch/sid
  500 unstable        http.debian.net 
  500 testing         http.debian.net 
  500 stable          security.debian.org 
  500 stable          http.debian.net 
  101 experimental    http.debian.net 

--- Package information. ---
Depends             (Version) | Installed
=============================-+-==============
mailx                         | 
apt             (>= 1.1~exp9) | 1.3~rc4
ucf                 (>= 0.28) | 3.0036
cron                          | 3.0pl1-128
 OR cron-daemon               | 
bzip2                         | 1.0.6-8
debconf             (>= 0.5)  | 1.5.59
 OR debconf-2.0               | 


Recommends           (Version) | Installed
==============================-+-===========
apt-listchanges                | 3.3
iproute2                       | 4.6.0-4


Package's Suggests field is empty.




-- 
Landry MINOZA
landry.min...@gmail.com
--- /tmp/apticron	2016-09-11 13:55:32.132482426 +0200
+++ /usr/sbin/apticron	2016-09-11 13:56:06.893629694 +0200
@@ -190,7 +190,7 @@
 
 EOF
 
-	PKGPATH="/${DIRCACHE}archives/"
+	PKGPATH="/${DIRCACHE}/archives/"
 	for PKG in $PKGNAMES ; do
 		VER=`LC_ALL=C /usr/bin/apt-cache policy $PKG |\
 		     /bin/grep Candidate: | /usr/bin/cut -f 4 -d \ `

Reply via email to