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

Bug#388708: Additional information



Hi,

        I think perhaps the information lies in handling UTF-8:
======================================================================
#_> sed -n 's/^\([^ ]*\):.*/\1/p' /var/lib/dpkg/stat-old | sort -u 
Architecture
Bugs
Conffiles
Config-Version
Conflicts
Depends
Description
Enhances
Essential
Installed-Size
Maintainer
Maintainer� Peyrot <chojin@lrde.epita.fr>
Maintainer�i Perrot <rperrot@debian.org>
Origin
Package
Pre-Depends
Priority
Provides
Python-Runtime
Python-Version
Recommends
Replaces
Section
Source
Status
Suggests
Url
Version
======================================================================

        The offending lines seem to be:
Maintainer: Quôc Peyrot <chojin@lrde.epita.fr>
Maintainer: Rémi Perrot <rperrot@debian.org>

        Unfortunately, editing these lines away has not really helped.

        I think this change needs to be fixed or reverted; or, at
 least, have a better error message which perhaps could include line
 numbers -- I can imagine less experienced user may be completely
 flummoxed by the apparent breakage.


#_> apt-get install apt
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  apt
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/1414kB of archives.
After unpacking 32.8kB of additional disk space will be used.
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done    
Reading changelogs... Done
(Reading database ... 333423 files and directories currently installed.)
Preparing to replace apt 0.6.45 (using .../archives/apt_0.6.46_i386.deb) ...
Unpacking replacement apt ...
Setting up apt (0.6.46) ...

#_> apt-cahe search apt
zsh: correct apt-cahe to apt-cache ? ([Y]es/[N]o/[E]dit/[A]bort) y
E: Unable to parse package file /var/lib/dpkg/status (1)
[1]    2973 exit 100   apt-cache search apt
#_> sed -n 's/^\([^ ]*\):.*/\1/p' /var/lib/dpkg/status | sort -u
Architecture
Bugs
Conffiles
Config-Version
Conflicts
Depends
Description
Enhances
Essential
Installed-Size
Maintainer
Origin
Package
Pre-Depends
Priority
Provides
Python-Runtime
Python-Version
Recommends
Replaces
Section
Source
Status
Suggests
Url
Version
#_> 

        manoj
-- 
It's later than you think: the joint Russian-American space mission
has already begun. --anonymous
Manoj Srivastava     <srivasta@acm.org>    <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: