Re: Some questions about Kapps and apt
On Tue, Feb 27, 2001 at 08:45:55PM +0800, firstname.lastname@example.org wrote:
> On Tue, 27 Feb 2001 19:52:22 +0800
> ha shao <email@example.com> wrote:
> > On Tue, Feb 27, 2001 at 06:57:27PM +0800, firstname.lastname@example.org wrote:
> The Error Messages still remain after I unset the LC_CTYPE;
> Preparing to replace console-tools 1:0.2.3-17 (using .../console-tools_1%3a0.2.3-17.1_i386.deb) ...
> Unpacking replacement console-tools ...
> dpkg: error processing /var/cache/apt/archives/console-tools_1%3a0.2.3-17.1_i386.deb (--unpack):
> failed to realloc for variable buffer: 無法分配記憶體
> E: Sub-process /usr/bin/dpkg received a segmentation fault.
> millennium:/etc# dpkg-deb: subprocess paste killed by signal (中斷的 pipe)
> Also, I use the "dpkg --set-selections" to hold the console-tools package.
> I may sure that I really have done it (by using "dpkg --get-selections" ),
> but the package (console-tools) still appears in the list when I type
> "apt-get upgrade". Have I make some mistakes?
Can you unset all the Chinese locale related environments? It seems
that you still have Chinese messages. From some ptrace I got, it seems
the problem is gettext related. So ...
Because console-tools is screwed by dpkg and console-tools is a
required package for a debian system (It is a package belong to
'base'). So apt-get insist you have to install it.
This problem bite me too a few days ago. Just make sure you have
no Chinese related locale set and apt-get install console-tools again.