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

Re: dist-upgrade fails w/ parse error in /usr/lib/perl5/Debian/DebConf/Template.pm



Thanks Joey fro the quick response.  
[[ I first thought debian-testing would be the better place to post this - 
but there was no response .... oh, well ]]

*** I'm always very _happy_ when I can help !  **

(By the way: I like 'tgif' ;-) even though it's long ago that I really used 
it ...)

So here's my output:
93% [Scanning packages]DEBUG: /var/cache/apt/archives/talk_0.17-5_i386.deb
93% [Scanning packages]DEBUG: /var/cache/apt/archives/talkd_0.17-5_i386.deb
94% [Scanning packages]DEBUG: 
/var/cache/apt/archives/tcsh-i18n_6.11.00-2.1_all.deb
94% [Scanning packages]DEBUG: /var/cache/apt/archives/telnetd_0.17-18_i386.deb
94% [Scanning packages]DEBUG: 
/var/cache/apt/archives/tgif_1%3a4.1.42-1_i386.deb
94% [Scanning packages]Template parse error near "" at 
/usr/lib/perl5/Debian/DebConf/Template.pm line 102, <TEMPLATES> chunk 3.
E: Sub-process /usr/sbin/dpkg-preconfigure --apt returned an error code (29)
E: Failure running script /usr/sbin/dpkg-preconfigure --apt


Thanks a lot !! Everything works now.

Have a great day.
Sebastian
-- 
                                _\\|//_
                               (' O-O ')
------------------------------ooO-(_)-Ooo--------------------------------------
Sebastian Haase
University of California, San Francisco
(415)502-4316




On Tuesday 07 May 2002 17:46, you wrote:
> Sebastian Haase wrote:
> > 94% [Scanning packages]Template parse error near "" at
> > /usr/lib/perl5/Debian/DebConf/Template.pm line 102, <TEMPLATES> chunk 3.
> > E: Sub-process /usr/sbin/dpkg-preconfigure --apt returned an error code
> > (29) E: Failure running script /usr/sbin/dpkg-preconfigure --apt
> >
> > Is there a workaround ?
> > Please help.
>
> There is a workaround, which I will get to in a minute. I hope you can
> first do a little exercise that will track down the broken package, so I
> can get it fixed:
>
> 1. Edit /usr/sbin/dpkg-preconfigure, and go to line 99, which reads:
>
> foreach my $x (0..$#debs) {
>
> 2. Add a new line after that, which reads:
>
> print STDERR "DEBUG: $debs[$x]\n";
>
> 3. Reproduce the problem again, this time you should get some debug info
>    as it processes each .deb in turn. When it fails, the last .deb it
>    output is the broken one, probably. Send me the output and I can
>    probably take it from there.
>
> 4. Only after you have done the above and mailed me the output, upgrade
>    to testing's version of debconf (apt-get install debconf), which will
>    not crash on the broken package.
>
> I should add that I have grepped the whole debian archive for packages
> that are broken in this way, and I had thought they were all fixed.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: