Package: apticron
Version: 1.1.12
Severity: normal
On two machines from three I can't see details of package upgrade because
error while reading archive. This error is because bad filename of debian
package.
I found out that on these two machines LANG=en setted for apt-cache don't work.
Output
is still in czech and not en. Simple solution is to replace LANG=en by
LC_ALL=en.
Here is details:
-----------------------------------------------------------------------------
Package Details:
dpkg-deb: chyba při čtení archivu `/var/cache/apt//archives/bsdutils__*.deb':
není souborem ani adresářem
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 218, in ?
main()
File "/usr/bin/apt-listchanges", line 92, in main
pkg = apt_listchanges.Package(deb)
File "/usr/lib/site-python/apt_listchanges.py", line 49, in __init__
self.binary = pkgdata.Package
AttributeError: DebianControlStanza instance has no attribute 'Package'
-----------------------------------------------------------------------------
Here is patch:
-----------------------------------------------------------------------------
--- /usr/sbin/apticron 2005-09-29 11:26:49.000000000 +0200
+++ apticron.new 2005-09-29 11:27:10.000000000 +0200
@@ -84,7 +84,7 @@
PKGPATH="/$DIRCACHE/archives/"
for PKG in $PKGNAMES ; do
- VER=`LANG=en /usr/bin/apt-cache policy $PKG |\
+ VER=`LC_ALL=en /usr/bin/apt-cache policy $PKG |\
/bin/grep Candidate: | /usr/bin/cut -f 4 -d \ `
VERFILE=`echo "$VER" | /bin/sed -e "s/:/%3a/g"`
DEBS="$DEBS ${PKGPATH}${PKG}_${VERFILE}_*.deb"
-----------------------------------------------------------------------------
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.12-grsec
Locale: LANG=cs_CZ.UTF8, LC_CTYPE=cs_CZ.UTF8 (charmap=UTF-8) (ignored: LC_ALL
set to cs_CZ.UTF8)
Versions of packages apticron depends on:
ii apt-listchanges 2.59-0.2 Display change history from .deb a
ii coreutils 5.2.1-2 The GNU core utilities
ii debconf 1.4.30.13 Debian configuration management sy
ii iproute 20041019-3 Professional tools to control the
ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent
-- debconf information:
* apticron/notification: root
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]