[Pkg-fonts-devel] Bug#461022: Bug#461022: description doesn't render in aptitude

Tomas Pospisek tpo at sourcepole.ch
Thu Jan 17 09:21:11 UTC 2008


On Thu, 17 Jan 2008, Christian Perrier wrote:

> Quoting Tomas Pospisek (tpo at sourcepole.ch):
>
>>> The file *is* UTF-8 from what I see.
>>
>> I'm looking at it through konsole, which runs bash. Konsole's encoding
>> is set to "Default". If I set it to UTF8, it still doesn't render.
>
> It does, in the exact same conditions on my system.

I did this:

$ apt-cache show ttf-ecolier-lignes-court > /tmp/k
$ vim /tmp/k

and clearly, the problem here is *not* the displaying/decoding/the fonts. 
The problem is apt-cache, since if I look at the produced output in /tmp/k 
it's still cut off at:

  "Description: cursive roman font (with r"

So possibly apt-cache and aptitude are using the same method for 
extracting the relevant fields out of the Packages file and fail in the 
same way. So very probably it's the same bug as #461159 and most probably 
it's not a bug of ttf-ecolier-lignes-court but of aptitude and apt-cache 
or more probably of libapt-pkg-libc6.6-6.so.4.6 which both programms are 
linked to?

$ dpkg -s aptitude apt|grep Version
Version: 0.4.10-1+b1
Version: 0.7.9

Which ones do you have?

I tried:

  grep-available -P ttf-ecolier-lignes-court

but it doesn't give me anything, since ttf-ecolier-lignes-court doesn't 
show up in /var/lib/dpkg/available. Shouldn't that be the case? Istn't an:

  apt-get update

supposed to update /var/lib/dpkg/available too? Anyway...

Finally my environment. I've ommited all the IMO very non-relevant stuff, 
among others all the bash autocompletion functions:

BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_COMPLETION=/etc/bash_completion
BASH_COMPLETION_DIR=/etc/bash_completion.d
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="1" [4]="release" [5]="i486-pc-linux-gnu")
BASH_VERSION='3.1.17(1)-release'
CLASSPATH=/usr/lib/java/jre/lib/rt.jar:.
COLORTERM=
COLUMNS=116
[...]
CVS_RSH=ssh
DIRSTACK=()
DISPLAY=:0
[...]
[...]
GROUPS=()
GS_LIB=/home/tpo/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/tpo/.gtkrc-2.0:/home/tpo/.kde/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/tpo/.gtkrc:/home/tpo/.kde/share/config/gtkrc
[...]
HOME=/home/tpo
[...]
HOSTTYPE=i486
HUSHLOGIN=FALSE
IFS=$' \t\n'
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_NO_IPV6=true
[...]
KONSOLE_DCOP='DCOPRef(konsole-4830,konsole)'
KONSOLE_DCOP_SESSION='DCOPRef(konsole-4830,session-15)'
LESSCLOSE='/usr/bin/lesspipe %s %s'
LESSOPEN='| /usr/bin/lesspipe %s'
LINES=55
LOGNAME=tpo
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:'
MACHTYPE=i486-pc-linux-gnu
MAIL=/var/mail/tpo
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PAGER='/usr/bin/pager -s -q'
PATH='~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/X11R6/bin/:/usr/local/stow/kylix2/bin/:/usr/X11R6/bin/'
PIPESTATUS=([0]="0")
PPID=4830
PS1='\u@\h:\W\$ '
PS2='> '
PS4='+ '
PWD=/home/tpo
SESSION_MANAGER=local/tpo2:/tmp/.ICE-unix/4808
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:interactive-comments:monitor
SHLVL=5
TERM=xterm
UID=1006
USER=tpo
WINDOWID=31457285
XAUTHORITY=/home/tpo/.Xauthority
XCURSOR_THEME=default
_=_filedir
bash205='3.1.17(1)-release'
bash205b='3.1.17(1)-release'
bash3='3.1.17(1)-release'

Do you see any relevant differnce with your environment?
*t

-- 
--------------------------------------------------------
   Tomas Pospisek
   http://sourcepole.com -  Linux & Open Source Solutions
--------------------------------------------------------





More information about the Pkg-fonts-devel mailing list