[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-listchanges



* Jean-Michel OLTRA <jm.oltra.antispam@espinasse.net> [2004-04-18 12:55] :
> Le dimanche 18 avril 2004, Frédéric Bothamy a écrit...
> 
> 	bonjour,
> 
> 
> > Aucun des motifs ci-dessus ne correspond à un fichier physique : il te
> > faudrait plutôt utiliser celui-ci : `find /var/cache/apt/archives|grep
> > aide`.
> 
> D'accord:
> 
> [12:52]jm@espinasse:jm-505> find /var/cache/apt/archives/|grep aide
> /var/cache/apt/archives/aide_0.10-2_i386.deb
> [12:53]jm@espinasse:jm-506> apt-listchanges -a --profile=cmdline `find
> /var/cache/apt/archives/|grep aide`
> Traceback (most recent call last):
>   File "/usr/bin/apt-listchanges", line 33, in ?
>     import anydbm
>   File "/usr/lib/python2.3/anydbm.py", line 59, in ?
>     _errors.append(_mod.error)
> AttributeError: 'module' object has no attribute 'error'
> 
> > Bon, chez moi, il me faut aussi l'option -a pour afficher l'intégralité
> > du changelog.
> 
> Ne change rien.

"Chez moi, ça marche" (®) :

$ apt-listchanges -a --profile=cmdline `find /var/cache/apt/archives/ |grep aide`
[Affichage du changelog du paquet aide]
Reading changelogs... Done
$

C'est peut-être un problème de version de paquet. Sur ma machine
unstable, j'ai ceci :

Package: apt-listchanges
Version: 2.54

Versions of packages apt-listchanges depends on:
ii  apt                           0.5.24     Advanced front-end for dpkg
ii  debconf                       1.4.22     Debian configuration management sy
ii  python                        2.3.3-7    An interactive high-level object-o
ii  python-apt                    0.5.10     Python interface to libapt-pkg
ii  ucf                           1.02       Update Configuration File: preserv

Sinon, le paquet de ton archive est bien un vrai paquet Debian ?

$ file `find /var/cache/apt/archives/|grep aide`
/var/cache/apt/archives/aide_0.10-2_i386.deb: Debian binary package (format 2.0), uses gzip compression
$


Fred

-- 
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Code de conduite des listes Debian
http://www.debian.org/MailingLists/#codeofconduct



Reply to: