Re: apt-get error message
On 6 Jun 2003 Kevin Mark <kmark@pipeline.com> wrote:
>On Thu, 2003-06-05 at 13:05, Ben Kal wrote:
>> On 4 Jun 2003 Rick Pasotto <rick@niof.net> wrote:
>>
>> > When I 'apt-get install' a package I have been getting the following error
>> > message:
>> >
>> > Retrieving bug reports... Done
>> > dpkg-deb: wait for tar failed: No child processes Traceback (most recent
>> > call last):
>> > File "/usr/bin/apt-listchanges", line 125, in ?
>> > (changes, urgency) = apt_listchanges.extract_changelog(deb, fromversion)
>> > File "/usr/lib/site-python/apt_listchanges.py", line 62, in extract_changelog
>> > binpackage = pkgdata.Package
>> > AttributeError: DebianControlStanza instance has no attribute 'Package'
>> >
>> > Is my system somehow corrupt or is this an actual error in
>> > apt-listchanges?
>>
>> Is this with any package, with some packages, or with one particular
>> package (and in the last case: which)? Did you always got this error
>> with certain packages, or did it recently start to pop up (and then:
>> since when, after what change in your system?)
><snip>
> Dont know why its needed or was installed but here is the info:
>
> http://packages.debian.org/unstable/utils/apt-listchanges.html
>
> Package: apt-listchanges 2.32
> Display new Debian changelog entries from .deb archives apt-listchanges is
> a tool to show what has been changed in a new version of a Debian package,
> as compared to the version currently installed on the system. It does this
> by extracting the relevant entries from the Debian changelog file, usually
> found in
> /usr/share/doc/package/changelog.Debian.gz
>
> It can be run on several .deb archives at a time to get a list of all of
> the changes that would be effected by installing or upgrading a group of
> packages. It can be configured to do this automatically during upgrades
> using apt.
>
>
> Other packages related to apt-listchanges:
> [req]= depends
> [rec]= recommended
> [sug]= suggested
>
> [depends]python (>= 2.2)
> An interactive high-level object-oriented language (default
> version)
> [depends] apt (>= 0.5.3)
> Advanced front-end for dpkg
> [depends] python-apt
> Python interface to libapt-pkg
> [depends] debconf
> Debian configuration management system
> [depends] ucf
> Update Configuration File: preserves user changes to config
> files.
So apt-listchanges is a separately packaged utility. I think it is not
essential to apt-get, so if it prevents you from installing packages you
could remove it. But of course that is not the preferred solution.
Unfortunately, I do not understand the error message you get well enough to
tell what is wrong. The fault could be in python, in apt-listchanges, or in
the changelog file of the package that apt-listchanges is trying to read.
The latter is the least likely, I think, but if that is the problem you will
only get the error with one particular package or with a limited number of
packages.
Maybe upgrading apt-listchanges and/or python will help.
Ben
--
B.F.M. Kal
Anjelierstraat 1, 2014 TC Haarlem, Netherlands
tel +31 23 5324909, benkal@euronet.nl
Reply to: