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

Bug#500491: apt: Packages file contains records causing "Error decoding multibyte string" in some cases



Package: apt
Version: 0.6.46.4-0.1
Severity: normal

*** Please type your report below this line ***

There are records in Packages file, that cause "Error
decoding multibyte string" message in some cases.
Two examples:

$ LC_ALL=en_US.utf8  aptitude show cadubi
Package: cadubi
State: not installed
Version: 1.2-5
Priority: optional
Section: graphics
Maintainer: Te?filo Ruiz Su?rez <teo@debian.org>Error \
        decoding multibyte string
Uncompressed Size: 131k
<...skipped...>

$ LC_ALL=en_US.utf8  aptitude show libglade-perl
Package: libglade-perl
State: not installed
Version: 0.61-1
Priority: optional
Section: perl
Maintainer: R?mi Perrot <rperrot@debian.org>Error decoding \
        multibyte string
Uncompressed Size: 147k
<...skipped...>

If I do
$ grep -A 5 '^Package: cadubi'  /var/lib/apt/lists/\
        ftp.debian.org_debian_dists_etch_main_binary-i386_Packages
I see some <?> chars in terminal in the field 'Maintainer'.

Synaptic shows for this packet in Properties->Maintainer: "N/A".

I noticed this problem when played parsing the Packages file by
sed, and got completely messed and broken output from some place
in the middle of list and far.


-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.test.001
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  debian-archive-keyring 2007.07.31~etch1  GnuPG archive keys of the Debian a
ii  libc6                  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information


Reply to: