[Aptitude-devel] Bug#701490: aptitude: Part of the text "DL Size: 107 MB" truncated, at least in sv_SE.utf8 locale

Leif Hornsved 7gn6ahq8qm at snkmail.com
Sat Feb 23 18:57:42 UTC 2013


Package: aptitude
Version: 0.6.3-3.2+squeeze1
Severity: normal
Tags: l10n

The text "DL Size: 107 MB" or similar (upper right corner) indicates how 
much
data will be downloaded. It is sometimes interesting, but often 
truncated and
useless. Here is one example in Swedish locale:

$ export LC_MESSAGES="sv_SE.utf8"
$ sudo aptitude
  Åtgärder  Ångra  Paket  Problemlösaren  Sök  Inställningar  Vyer  Hjälp
C-T: Meny  ?: Hjälp  q: Avsluta  u: Uppdatera  g: Hämta/Installera/Ta bort
aptitude 0.6.3                             Kommer ta 1 180 kB mindre disk
Hämtstorlek: 10

In English locale the most important part is not truncated:

$ export LC_MESSAGES="en_US.utf8"
$ sudo aptitude
  Actions  Undo  Package  Resolver  Search  Options  Views  Help
C-T: Menu  ?: Help  q: Quit  u: Update  g: Download/Install/Remove Pkgs
aptitude 0.6.3                             Will free 1 180 kB of disk spa DL
Size: 107 MB

Here only some letters from "disk space" (I guess) are truncated.
Now I'm using xfce4-terminal 0.4.5-1, but I had the problem also in gnome-
terminal. (Reportbug indicates "Terminal: xterm" below, strange.)
If I resize the window I still can't see how much data will be 
downloaded, but
the text line moves horizontally in some strange ways. If I click the 
mouse on
the line it will often move back in place.

I expected this to work better, but it didn't:
$ export LC_MESSAGES="sv_SE.iso88591"

I (try to) attach two pictures indicating how it looks in my terminal 
window.

I have seen this problem for years.

Regards,
Leif Hornsved



-- Package-specific info:
aptitude 0.6.3 compiled at Aug 12 2011 21:08:09
Compiler: g++ 4.4.5
Compiled against:
   apt version 4.10.1
   NCurses version 5.7
   libsigc++ version: 2.2.4.2
   Ept support enabled.
   Gtk+ support disabled.

Current library versions:
   NCurses version: ncurses 5.7.20100313
   cwidget version: 0.5.16
   Apt version: 4.10.1
     linux-gate.so.1 =>  (0xf776a000)
     libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0xf764e000)
     libncursesw.so.5 => /lib/libncursesw.so.5 (0xf7608000)
     libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xf7601000)
     libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xf7541000)
     libept.so.1 => /usr/lib/libept.so.1 (0xf74f0000)
     libxapian.so.22 => /usr/lib/sse2/libxapian.so.22 (0xf7315000)
     libz.so.1 => /usr/lib/libz.so.1 (0xf7301000)
     libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xf7261000)
     libboost_iostreams.so.1.42.0 => 
/usr/lib/libboost_iostreams.so.1.42.0 (0xf7248000)
     libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xf722f000)
     libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf713a000)
     libm.so.6 => /lib/i686/cmov/libm.so.6 (0xf7114000)
     libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf70f6000)
     libc.so.6 => /lib/i686/cmov/libc.so.6 (0xf6fae000)
     libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xf6faa000)
     libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xf6fa6000)
     libuuid.so.1 => /lib/libuuid.so.1 (0xf6fa2000)
     libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xf6f91000)
     librt.so.1 => /lib/i686/cmov/librt.so.1 (0xf6f87000)
     /lib/ld-linux.so.2 (0xf776b000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: 6.0.6
   APT prefers stable
   APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg4.10]   0.8.10.3+squeeze1 Advanced front-end for dpkg
ii  libboost-iostreams1.42 1.42.0-4          Boost.Iostreams Library
ii  libc6                  2.11.3-4          Embedded GNU C Library: 
Shared lib
ii  libcwidget3            0.5.16-3          high-level terminal 
interface libr
ii  libept1                1.0.4             High-level library for 
managing De
ii  libgcc1                1:4.4.5-8         GCC support library
ii  libncursesw5           5.7+20100313-5    shared libraries for 
terminal hand
ii  libsigc++-2.0-0c2a     2.2.4.2-1         type-safe Signal Framework 
for C++
ii  libsqlite3-0           3.7.13-1~bpo60+1  SQLite 3 shared library
ii  libstdc++6             4.4.5-8           The GNU Standard C++ Library v3
ii  libxapian22            1.2.3-2           Search engine library
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

Versions of packages aptitude recommends:
ii  apt-xapian-index              0.41       maintenance and search 
tools for a
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
pn  libparse-debianchangelog-perl <none>     (no description available)
ii  sensible-utils                0.0.4      Utilities for sensible 
alternative

Versions of packages aptitude suggests:
pn  debtags <none>     (no description available)
ii  tasksel                       2.88       Tool for selecting tasks 
for insta

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: aptitude_en_US.utf8.png
Type: image/png
Size: 51861 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20130223/d66f23ad/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aptitude_sv_SE.utf8.png
Type: image/png
Size: 46801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20130223/d66f23ad/attachment-0001.png>


More information about the Aptitude-devel mailing list