On Wednesday 04 October 2006 10:09, Pierre Habouzit wrote:
> tag 390997 + unreproducible moreinfo
> thanks
>
> Le mer 4 octobre 2006 10:28, David Goodenough a écrit :
> > Package: apt-listchanges
> > Version: 2.65
> > Severity: important
> >
> > I have tried several releases (2.65, 2.66 and 2.67) and all of them
> > fail during post-inst (--configure) with a status 10. No other error
> > messages are displayed.
> >
> > I have tried uninstalling (with purge) and then install, and that
> > fails in the same way.
>
> please do that:
>
> apt-get install apt-listchanges=2.67
> (that will fail it seems) then edit:
> /var/lib/dpkg/info/apt-listchanges.postinst
>
> and relpace the set -e call with 'set -ex', then do:
> apt-get -f install
>
> and please give me all the information that you see on your term.
>
> I can't reproduce that problem at all. but given the error code, that
> looks like a debconf problem to me
The last few lines say:-
+ read -r _db_internal_line
+ RET=news
+ case ${_db_internal_line%%[ ]*} in
+ return 0
+ echo which=news
+ ucf --debconf-ok /etc/apt/listchanges.conf.new /etc/apt/listchanges.conf
dpkg: error processing apt-listchanges (--configure):
subprocess post-installation script returned error exit status 10
Errors were encountered while processing:
apt-listchanges
E: Sub-process /usr/bin/dpkg returned an error code (1)
Both /etc/apt/listchanges.conf and listchanges.conf.new exist,
listchanges.conf reads:-
[apt]
frontend=pager
email_address=david
confirm=1
save_seen=/var/lib/apt/listchanges.db
which=both
and listchanges.conf.new reads:-
[apt]
frontend=pager
email_address=david
confirm=1
save_seen=/var/lib/apt/listchanges.db
which=both
[apt]
frontend=pager
email_address=root
confirm=0
save_seen=/var/lib/apt/listchanges.db
which=both
Hope this helps.
David