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

dpkg / apt problem



Hi,

An apt-get upgrade has thrown up a problem I don't understand (although this
might be related to the fact that I'm a relative newbie to linux, so apologies
in advance).

Two packages, klickety and kasteroids (both are KDE games), need to be
removed/upgraded for the upgrade to proceed, as they depend on various things
(e.g. kdelibs4c2a) which are due to be upgraded, and would be broken if they
remained at the current versions. However, whatever dpkg tries to do to them,
it always hits the same error. e.g. this excerpt from `apt-get upgrade`:

"""
Removing kasteroids ...
dpkg: error processing kasteroids (--remove):
 subprocess post-removal script killed by signal (Segmentation fault)
Removing klickety ...
dpkg: error processing klickety (--remove):
 subprocess post-removal script killed by signal (Segmentation fault)
Errors were encountered while processing:
 kasteroids
 klickety
E: Sub-process /usr/bin/dpkg returned an error code (1)
"""

Regardless of the operation I try (e.g. upgrade, remove, apt-get --reinstall
install), it always hits that same error: "subprocess post-removal script
killed by signal (Segmentation fault)". I haven't checked every file, but so
far as I can tell, the package's files have indeed been removed, so presumably
the "post-removal script" in question is one designed simply to update apt's
database of installed packages?  This only confuses me further, though, as apt
remains able to install and remove other packages (provided they don't hit
dependency problems related to kasteroids and klickety, obviously), so why is
it only affecting these packages?

Could anyway please tell me what's going on, and how I can fix it?  e.g. would
it help (and is it possible/a good idea) to edit apt's database manually to
register the fact that the packages are no longer installed?

Many thanks!
Nic Shakeshaft



Reply to: