LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-04-2008, 10:01 AM   #1
krnlg
LQ Newbie
 
Registered: Sep 2006
Posts: 15

Rep: Reputation: 0
Aptitude UI corruption & misc. random weird things


Hi. This is a bit strange, and I can't work out whats wrong (version info first):
Code:
orangery:/home/josh# aptitude --version
aptitude 0.4.4 compiled at Mar 14 2007 14:38:57
Compiler: g++ 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

NCurses version: 5.5
libsigc++ version: 2.0.17
Running Debian Etch, up-to-date, not a very long or populated sources.list - almost entirely Etch.

Generally when i run aptitude it works fine, but sometimes the interface is displayed in a messed-up way with random characters sprinkled around the screen. It does this both from the console and from an xterm or gnome-terminal.

All I can think of is some kind of either ncurses or locale issue - I say locale because I just ran it now and it managed to do this: (no interface display)

Code:
josh@orangery:~$ su
Password:
orangery:/home/josh# aptitude
慁畣頫渻琠糫涽檴脘⁤祩湧⸮
絗韯鑕瑡瑩潮⁦邥黕
潲邗韘特嬁饔浥⽪潳頯邙瑩瑵錴
憼牡湧鑡示⽨潭鎛鯇獨⌠
orangery:/home/josh# aptitude䠠䠠䠠
orangery:/home/josh#
If you cant see the text under the first "aptitude" command its because it is in chinese characters - I have chinese fonts installed and a chinese locale is available but is NOT the default.
After this happened everything was messed up in the terminal so that pressing Up to re-run aptitude displayed chinese characters instead of "aptitude" as the command, but aptitude still ran when I pressed enter (with a corrupted UI display but no instant-quit like I got the first time). Typing "reset" fixed it, and pressing Up then gave the proper "aptitude" as you can see.

This happened from a freshly opened gnome-terminal. I suspect that the chinese characters are actually a segmentation fault error (it is not actual chinese as far as I can see, but might be using chinese characters to display the normal english error - wrong encoding somehow?). Earlier I got a segmentation fault when I ran aptitude but it didn't mess up the terminal like this. Thing is, I then opened a new terminal, ran it as before, and it worked perfectly.

I very much doubt its a hardware issue because everything else seems alright and aptitude VERY OFTEN does weird things like this while nothing else does.
It also seems a bit unlikely that aptitude itself is corrupt somehow given that sometimes it works without any problems at all.

Any of you clever people have any ideas?
 
Old 01-05-2008, 07:19 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,674

Rep: Reputation: 122Reputation: 122
I recognize your problem as it happens to me too occasionally. Although, as I don't have Asian fonts installed, it uses Unicode instead. Usually restarting aptitude solves the problem, but the underlying cause remains unsolved. No idea what makes this happen and how to resolve it.
 
Old 01-06-2008, 05:47 AM   #3
krnlg
LQ Newbie
 
Registered: Sep 2006
Posts: 15

Original Poster
Rep: Reputation: 0
I found a Debian bug report that seems to cover this - no solution as of yet:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445388
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can I delete these files? & misc. NoMoreReinstallMS Mandriva 1 08-27-2006 03:32 PM
Weird things going on with samba Cerb Linux - Software 2 03-29-2004 03:18 AM
Weird things on Mandrake 9.2 saurya_s Linux - Software 7 02-07-2004 09:28 PM
Weird things are happening saiz66 Slackware 8 05-17-2003 12:03 AM
one of those weird kinda things Crunch General 5 03-23-2003 09:54 PM


All times are GMT -5. The time now is 12:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration