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

Re: Only one who have parse error in /var/lib/dpkg/available?



At Thu, 26 Apr 2001 00:14:01 -0500 (CDT),
<doogie@debian.org> wrote:
> 
> On Thu, 26 Apr 2001, Shaul Karl wrote:
> 
> > Yes there is:
> >
> > [12:36:41 /tmp]$ ls -l /var/lib/dpkg/available
> > -rw-r--r--    1 root     root      2547713 Apr 25 00:46 /var/lib/dpkg/available
> > [12:39:36 /tmp]$ od -cj 2547700 /var/lib/dpkg/available
> > 11557764   c   e   9   1   8   0   f   a   4   2   d   f  \n
> > 11560001
> > [12:39:42 /tmp]$
> >
> > and
> >     dpkg -l doc-linux-text
> > works too. I do not know what was changed.
> 
> No, there is no final new line.
> 
> debian-devel1:/# od -cj 5199880 /var/lib/dpkg/available
> 23654010   r   d   .  \n  \n
> 
> It looks like the file got truncated.  Disk corruption?  What apt-cache
> dumpavail(called from dselect [2]) interrupted?

I guess it is my fault. Maybe the description of ng-cjk lacks final new-line
like below, and i guess that's the cause.

sed 's/^ /+/' control | grep -A 11 '^Package: ng-cjk$'

Package: ng-cjk
Architecture: any
Depends: ${shlibs:Depends}, ng-common
Description: Nihongo MicroGnuEmacs with CJK support. 
+Ng is Nihongo Mg, MicroGnuEmacs. It is a small lightweight Emacs-like
+editor. It can handle both Latin and CJK.
+.
+ng-cjk can handle ISO-2022-JP, Shift-JIS, EUC-JP as well as EUC-KR and
+EUC-CN(GB only). Latin is not supported.
+
Package: ng-cjk-canna
Architecture: any


I'll fix this right now and dupload it.

Thanks,

	hirot

Attachment: pgplyBYimVHQi.pgp
Description: PGP signature


Reply to: