Thank you very much, it will be fixed in the next release. 

On Fri, Mar 25, 2005 at 05:30:04PM +0100, Alessandro Iurlano wrote:
> Package: apticron
> Version: 1.1.8
> Severity: important
> Tags: patch
> 
> The report mailed by apticron contained this in the listchanges section:
> 
> ========================================================================
> 
> Package Details:
> 
> dpkg-deb: impossibile leggere l'archivio
> `/var/cache/apt/archives/libbz2-dev__*.deb': No such file or directory
> 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'
> 
> After a debug, I've found that apt-cache policy invocation from apticron
> returned results translated in italian (my locale)
> That is:
> 
> $ apt-cache policy libc6
> libc6:
>   Installato: 2.3.2.ds1-20
>   Candidato: 2.3.2.ds1-20
>   Tabella Versione:
>      2.3.4-1 0
>           1 http://ftp.se.debian.org experimental/main Packages
>  *** 2.3.2.ds1-20 0
>         500 http://ftp.se.debian.org unstable/main Packages
>         100 /var/lib/dpkg/status
>      2.3.2.ds1-15 0
>         500 file: apt/ Packages
> 
> 
> Instead of:
> 
> $ LANG=en apt-cache policy libc6
> libc6:
>   Installed: 2.3.2.ds1-20
>   Candidate: 2.3.2.ds1-20
>   Version Table:
>      2.3.4-1 0
>           1 http://ftp.se.debian.org experimental/main Packages
>  *** 2.3.2.ds1-20 0
>         500 http://ftp.se.debian.org unstable/main Packages
>         100 /var/lib/dpkg/status
>      2.3.2.ds1-15 0
>         500 file: apt/ Packages
>       
> 
> I've corrected this problem changing the invocation of apt-cache policy
> forcing the correct language with the LANG=en setting. Like this: 
> VER=`LANG=en apt-cache policy $PKG | grep Candidate: | cut -f 4 -d \ `
> 
> 
> -- System Information:
> Debian Release: 3.1
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.11.5-skas3-v9-pre1
> Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
> 
> Versions of packages apticron depends on:
> ii  apt-listchanges  2.59-0.2                Display change history from .deb 
> a
> ii  debconf          1.4.45                  Debian configuration management 
> sy
> ii  mailx            1:8.1.2-0.20040524cvs-4 A simple mail user agent
> 
> -- debconf information excluded

> 43c43
> <             VER=`apt-cache policy $PKG | grep Candidate: | cut -f 4 -d \ `
> ---
> >             VER=`LANG=en apt-cache policy $PKG | grep Candidate: | cut -f 4 
> > -d \ `


-- 
Colm MacCárthaigh  /   HEAnet, Teach Brooklawn,  /   Innealtóir Líonra
+353 1 6609040    /  Bóthar Shelbourne, BÁC, IE /  http://www.hea.net/


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

Reply via email to